Small problem
#2

pawn Код:
if(PRESSED(KEY_JUMP))
{
    if(!IsPlayerInAnyVehicle(playerid))
    {
        new timenow = gettime();
        if(LastJumpWhen[playerid] < timenow)
        {
            TogglePlayerControllable(playerid,0);
            SetTimerEx("PlayerCannotShoot",1000,false,"i",playerid);
            Msg(playerid,COLOR_RED,"Bunny-Hopping is not allowed on this server. You are allowed to jump once every 3 seconds");
            LastJumpWhen[playerid] = timenow + 3;
        }
    }
}
Reply


Messages In This Thread
Small problem - by Squirrel - 08.01.2016, 23:30
Re: Small problem - by Jefff - 09.01.2016, 00:53

Forum Jump:


Users browsing this thread: 2 Guest(s)