08.03.2014, 04:22
Код:
C:\Users\Aerotactics' PC\Desktop\ALSRP\filterscripts\adminsystemv1.pwn(469) : error 001: expected token: "-string end-", but found "-identifier-"
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (PlayerInfo[playerid][pBeta]==1)
{
if (cmdtext == "/goto" || "/sethunger" || "/bsay" || "/setthirst" || "/startround" || "/endround" || "/setbeta")
{ //^that line
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid,pname,sizeof(pname));
for (new i=0;i<MAX_PLAYERS;i++)
{
if (PlayerInfo[i][pBeta]>1)
{
new string[128];
format(string,sizeof(string),"[Trial Tester]%s sent a command: %s",pname,cmdtext);
SendClientMessage(i,COLOR_CYAN,string);
return 1;
}
}
}
}
return 0;
}