How Do I Fix These errors
#1

Код:
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"
Heres The Code

Код:
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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)