12.03.2012, 03:35
PHP код:
public OnPlayerText(playerid, text[])
{
if(text[0] == '@' && (PlayerInfo[playerid][pAdminLevel] <2)
{
GetPlayerName(playerid,NomeP,MAX_PLAYER_NAME);
format(String, sizeof(String),"[Admin Chat]: %s: %s",NomeP,text[1]);
SendAdminMsg(COLOR_YELLOW,String);
return 0;
}
return 1;
}
Код:
C:\Documents and Settings\Lucas8\Desktop\DM-4FUN\filterscripts\bAdmin.pwn(99) : error 017: undefined symbol "NomeP" C:\Documents and Settings\Lucas8\Desktop\DM-4FUN\filterscripts\bAdmin.pwn(99) : error 001: expected token: "}", but found ";" C:\Documents and Settings\Lucas8\Desktop\DM-4FUN\filterscripts\bAdmin.pwn(99) : error 036: empty statement C:\Documents and Settings\Lucas8\Desktop\DM-4FUN\filterscripts\bAdmin.pwn(99) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.