NQ soucre??
•
1 Feb 2011, 20:35
•
Journals
NoQuarter(ETmod) had some time ago open soucre,but it was closed.
So someone has NQ soucre?If yes,he could upload it:)
And I approve this command in my mod(!sk name/id reason)?
//Redeye
{ "sk", G_shrubbot_sk, 'F', 0,
"call a player a spawnkiller and warn him to be kicked next time",
"[^3name|slot#^7]"},
/ qboolean G_shrubbot_sk(gentity_t *ent, int skiparg)
{
int pids[MAX_CLIENTS];
char name[MAX_NAME_LENGTH], err[MAX_STRING_CHARS];
gentity_t *vic;
if(Q_SayArgc() < 2+skiparg) {
SPC("^/sk usage: ^7!sk [name|slot#]");
return qfalse;
}
Q_SayArgv(1+skiparg, name, sizeof(name));
if(ClientNumbersFromString(name, pids) != 1) {
G_MatchOnePlayer(pids, err, sizeof(err));
SPC(va("^/sk: ^7%s", err));
return qfalse;
}
vic = &g_entities[pids[0]];
if(!_shrubbot_admin_higher(ent, vic)) {
SPC("^/sk: ^/sorry, but your intended victim has a higher admin"
" level than you do");
return qfalse;
}
if(_shrubbot_immutable(ent, vic)) {
SPC("^/sk: ^7sorry, but your intended victim is immune to shrubbot commands");
return qfalse;
}
if(!(vic->client->sess.sessionTeam == TEAM_AXIS ||
vic->client->sess.sessionTeam == TEAM_ALLIES)) {
SPC("^/sk: ^7player must be on a team");
return qfalse;
}
G_globalSound("sound/misc/spawnkiller.wav");
AP(va("chat \"^7%s ^1stop ^7spawnkilling, ^1next ^7time ^1you ^7will ^1be ^7kicked!\" -1",
vic->client->pers.netname));
return qtrue;
Any other commands suggestions?
So someone has NQ soucre?If yes,he could upload it:)
And I approve this command in my mod(!sk name/id reason)?
//Redeye
{ "sk", G_shrubbot_sk, 'F', 0,
"call a player a spawnkiller and warn him to be kicked next time",
"[^3name|slot#^7]"},
/ qboolean G_shrubbot_sk(gentity_t *ent, int skiparg)
{
int pids[MAX_CLIENTS];
char name[MAX_NAME_LENGTH], err[MAX_STRING_CHARS];
gentity_t *vic;
if(Q_SayArgc() < 2+skiparg) {
SPC("^/sk usage: ^7!sk [name|slot#]");
return qfalse;
}
Q_SayArgv(1+skiparg, name, sizeof(name));
if(ClientNumbersFromString(name, pids) != 1) {
G_MatchOnePlayer(pids, err, sizeof(err));
SPC(va("^/sk: ^7%s", err));
return qfalse;
}
vic = &g_entities[pids[0]];
if(!_shrubbot_admin_higher(ent, vic)) {
SPC("^/sk: ^/sorry, but your intended victim has a higher admin"
" level than you do");
return qfalse;
}
if(_shrubbot_immutable(ent, vic)) {
SPC("^/sk: ^7sorry, but your intended victim is immune to shrubbot commands");
return qfalse;
}
if(!(vic->client->sess.sessionTeam == TEAM_AXIS ||
vic->client->sess.sessionTeam == TEAM_ALLIES)) {
SPC("^/sk: ^7player must be on a team");
return qfalse;
}
G_globalSound("sound/misc/spawnkiller.wav");
AP(va("chat \"^7%s ^1stop ^7spawnkilling, ^1next ^7time ^1you ^7will ^1be ^7kicked!\" -1",
vic->client->pers.netname));
return qtrue;
Any other commands suggestions?
Sad,that Bani didnt relase ETpro 4.x.x,but,let´s see,because Enemy Territory soucre is open,and maybe someone makes 2.70 patch:D
But players use ETpro because of it hitboxes.I´m gonna make ETpro 5.3.1,so Bani gimme me soucre code of ETpro and I ill make new new new sub systemsss.
But seeing that NoQuarter has advanced about 1000 releases since I last tried it I assume it has mostly been fixed. It's a shame the gameplay aspects of NoQuarter are complete bullshit, though.
vic->client->sess.sessionTeam == TEAM_ALLIES))
de morgan ... BITCH!
[img|left]http://4.bp.blogspot.com/_OxAhP1lMZ3A/ST3GH_pZv1I/AAAAAAAABJo/Z_aDQLL-LQs/s400/Fernando_Sucre.jpg[/img]