help how to make
#5

mm thx i make this
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;
}
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 Код:
if(GetPVarInt(playerid, "Mute") == 0) && !IsPlayerJumboAdmin(playerid))
Reply


Messages In This Thread
help how to make - by iJumbo - 31.08.2010, 11:14
Re: help how to make - by Grim_ - 31.08.2010, 11:16
Re: help how to make - by iJumbo - 31.08.2010, 11:20
Re: help how to make - by Grim_ - 31.08.2010, 11:26
Re: help how to make - by iJumbo - 31.08.2010, 11:49
Re: help how to make - by Grim_ - 31.08.2010, 11:51
Re: help how to make - by iJumbo - 31.08.2010, 11:54
Re: help how to make - by Grim_ - 31.08.2010, 11:55
Re: help how to make - by iJumbo - 31.08.2010, 11:58
Re: help how to make - by Cameltoe - 31.08.2010, 12:01

Forum Jump:


Users browsing this thread: 1 Guest(s)