C:\Users\Helk\Desktop\Server_-\Server_-\gamemodes\miagm.pwn(418) : error 017: undefined symbol "PlayerName"
C:\Users\Helk\Desktop\Server_-\Server_-\gamemodes\miagm.pwn(419) : error 017: undefined symbol "SendMessageToAdmins"
C:\Users\Helk\Desktop\Server_-\Server_-\gamemodes\miagm.pwn(636) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
CMD:report(playerid,params[]){
new string[128],id,motivo;
if(sscanf(params,"us[128]",id,motivo)) return SendClientMessage(playerid,-1,"Usa: /report [id] [motivo]");
else if(!IsPlayerConnected(id)) return SendClientMessage(playerid, -1, "ERRORE: Player non connesso!");
format(string,sizeof(string),"%s ha reportato %s per: %s",PlayerName(playerid),PlayerName(id),motivo);
SendMessageToAdmins(-1,string);
return 1;
}
C:\Users\Helk\Desktop\Server_-\Server_-\gamemodes\miagm.pwn(419) : error 017: undefined symbol "SendMessageToAdmins"
C:\Users\Helk\Desktop\Server_-\Server_-\gamemodes\miagm.pwn(636) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
CMD:report(playerid,params[]){
new string[128],id,motivo;
if(sscanf(params,"us[128]",id,motivo)) return SendClientMessage(playerid,-1,"Usa: /report [id] [motivo]");
else if(!IsPlayerConnected(id)) return SendClientMessage(playerid, -1, "ERRORE: Player non connesso!");
format(string,sizeof(string),"%s ha reportato %s per: %s",PlayerName(playerid),PlayerName(id),motivo);
SendMessageToAdmins(-1,string);
return 1;
}