12.06.2011, 21:29
First why Am i getting These Error Codes
With this code
AND!
How Do I Have Kill Feed On The Right side Of the screen it says This Person Killed Them-with This weapon-Who Died
Код:
C:\Documents and Settings\Administrator\Desktop\New GTA Server\gamemodes\DeathMatch.pwn(269) : error 017: undefined symbol "CmdLevelCheck" C:\Documents and Settings\Administrator\Desktop\New GTA Server\gamemodes\DeathMatch.pwn(269) : error 017: undefined symbol "CmdLevelError" C:\Documents and Settings\Administrator\Desktop\New GTA Server\gamemodes\DeathMatch.pwn(271) : error 017: undefined symbol "AdminName" C:\Documents and Settings\Administrator\Desktop\New GTA Server\gamemodes\DeathMatch.pwn(273) : error 017: undefined symbol "SendCommandMsg"
Код:
COMMAND:nuke(playerid, params[])
{
#pragma unused params
if(!CmdLevelCheck(playerid,"akillall")) return CmdLevelError(playerid,"akillall");
new string[128];
format(string, sizeof(string), "You Have Been Nuked by Administrator %s",AdminName(playerid));
SendClientMessageToAll(COLOR_YELLOW, string);
SendCommandMsg(playerid,"akillall");
for(new i = 0; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i)) if(!IsPlayerAdmin(i)) SetPlayerHealth(i,0);
return 1;
}
How Do I Have Kill Feed On The Right side Of the screen it says This Person Killed Them-with This weapon-Who Died


