Ask about OnPlayerUpdate !
#7

and change to this

pawn Код:
if(mini[playerid] == 0)
    {
        if(weap == 36)
        {
            ShowPlayerDialog(playerid,5,DIALOG_STYLE_MSGBOX, "Server...", "{FFFFFF}Kamu telah di{48A4FF}Kick {FFFFFF}dari server\nAlasan: Weapon hack!", "Ok", "");
            return 1;
        }
        if(weap == 35)
        {
            mini[playerid] = 1;
            ShowPlayerDialog(playerid,5,DIALOG_STYLE_MSGBOX, "Server...", "{FFFFFF}Kamu telah di{48A4FF}Kick {FFFFFF}dari server\nAlasan: Weapon hack!", "Ok", "");
            SetTimerEx("KickPlayer", 1000, 0, "d", playerid);
            return 1;
        }
        if(weap == 38)
        {
            mini[playerid] = 1;
            ShowPlayerDialog(playerid,5,DIALOG_STYLE_MSGBOX, "Server...", "{FFFFFF}Kamu telah di{48A4FF}Kick {FFFFFF}dari server\nAlasan: Weapon hack!", "", "Ok");
            SetTimerEx("KickPlayer", 1000, 0, "d", playerid);
            return 1;
        }
    }
and now SetTimerEx("KickPlayer", 1000, 0, "d", playerid); is called only one time
Reply


Messages In This Thread
Ask about OnPlayerUpdate ! - by VenomMancer - 27.02.2014, 01:32
Re: Ask about OnPlayerUpdate ! - by ikey07 - 27.02.2014, 01:56
Re: Ask about OnPlayerUpdate ! - by Onfroi - 27.02.2014, 02:10
Re: Ask about OnPlayerUpdate ! - by Kwarde - 27.02.2014, 04:18
Re: Ask about OnPlayerUpdate ! - by VenomMancer - 27.02.2014, 11:13
Re: Ask about OnPlayerUpdate ! - by Pottus - 27.02.2014, 11:43
Re: Ask about OnPlayerUpdate ! - by Jefff - 27.02.2014, 12:41
Re: Ask about OnPlayerUpdate ! - by Djole1337 - 27.02.2014, 12:48
Re: Ask about OnPlayerUpdate ! - by VenomMancer - 27.02.2014, 13:42

Forum Jump:


Users browsing this thread: 2 Guest(s)