31.08.2010, 11:49
mm thx i make this
but idk how to fix this
error 029: invalid expression, assumed zero
error 001: expected token: ";", but found ")"
: error 029: invalid expression, assumed zero
this line
pawn Код:
public OnPlayerText(playerid, text[])
{
if(GetPVarInt(playerid, "Mute") == 1) return SendClientMessage(playerid,RED,"Sei stato mutato non puoi parlare"),0;
if(GetPVarInt(playerid, "Mute") == 0) && !IsPlayerJumboAdmin(playerid))
{
Spams[playerid]++;
if(Spams[playerid]>= 5 && !IsPlayerJumboAdmin(playerid))
{
new string[128];
format(string,sizeof(string),"%s и stato mutato per 2 minuti [reason: Spamming]",Name(playerid)); print(string);
SendClientMessageToAll(YELLOW,string);
SetPVarInt(playerid, "Mute", 1);
SetTimerEx("Unmute",2*60*1000,0,"i",playerid);
return 0;
}
}
return 1;
}
error 029: invalid expression, assumed zero
error 001: expected token: ";", but found ")"
: error 029: invalid expression, assumed zero
this line
pawn Код:
if(GetPVarInt(playerid, "Mute") == 0) && !IsPlayerJumboAdmin(playerid))