Код:
public IsFbiTeam(playerid, cmdtext[])
{
new cmd[128];
new tmp[128];
new idx;
new giveplayername[MAX_PLAYER_NAME];
new sendername[MAX_PLAYER_NAME];
new string[128];
cmd = strtok(cmdtext,idx);
if(strcmp("/fbihelp", cmdtext, true, 8) == 0)
{
SendClientMessage(playerid, COLOR_YELLOW,"FBI Help:");
SendClientMessage(playerid, COLOR_WHITE, "/arrest - if somebody has broke a law you can arrest him");
SendClientMessage(playerid, COLOR_WHITE, "/duty [on]- puts you on duty");
SendClientMessage(playerid, COLOR_WHITE, "/duty [off]- puts you off duty");
SendClientMessage(playerid, COLOR_WHITE, "/callbackup - calls the police, or the army for backup");
return 1;
}
if(strcmp("/makefbi",cmdtext, true) == 0)
{
}
return 0;
}
Код:
C:\Documents and Settings\Administrator\Desktop\TestServer\gamemodes\NexGeneration.pwn(835) : warning 204: symbol is assigned a value that is never used: "string"
C:\Documents and Settings\Administrator\Desktop\TestServer\gamemodes\NexGeneration.pwn(834) : warning 204: symbol is assigned a value that is never used: "sendername"
C:\Documents and Settings\Administrator\Desktop\TestServer\gamemodes\NexGeneration.pwn(833) : warning 204: symbol is assigned a value that is never used: "giveplayername"
C:\Documents and Settings\Administrator\Desktop\TestServer\gamemodes\NexGeneration.pwn(831) : warning 204: symbol is assigned a value that is never used: "tmp"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Warnings.
These warnings means that you're never using those symbols in your script, so they're unused.