Weird Hack... What can I do?
#10

Try this.

pawn Код:
new vehTimer[MAX_PLAYERS]; // wherever you put them (usually at the top)



forward vehHackReset(playerid);// The timer.
public vehHackReset(playerid) {
    vehTimer[playerid] = 0;
    return 1;
}


public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(vehTimer[playerid] == 1) { // If it equals 1, then this will kick them.
        Kick(playerid);
    }
    vehTimer = 1;// Set it.
    SetTimer("vehHackReset", 4000, 0, "i", playerid);//Give it 4 seconds to reset.
    return 1;
}
Reply


Messages In This Thread
Weird Hack... What can I do? - by jakejohnsonusa - 24.04.2013, 19:55
Re: Weird Hack... What can I do? - by dugi - 24.04.2013, 20:28
Re: Weird Hack... What can I do? - by 5 цre - 24.04.2013, 20:28
Re: Weird Hack... What can I do? - by ViruZz - 24.04.2013, 20:34
Re: Weird Hack... What can I do? - by RiChArD_A - 24.04.2013, 20:39
Re: Weird Hack... What can I do? - by jakejohnsonusa - 24.04.2013, 21:27
Re: Weird Hack... What can I do? - by mastermax7777 - 24.04.2013, 21:33
Re: Weird Hack... What can I do? - by jakejohnsonusa - 24.04.2013, 21:34
Re: Weird Hack... What can I do? - by Fredrick - 24.04.2013, 21:43
Re: Weird Hack... What can I do? - by Skyrise - 24.04.2013, 21:49
Re: Weird Hack... What can I do? - by jakejohnsonusa - 24.04.2013, 21:59
Re: Weird Hack... What can I do? - by Skyrise - 24.04.2013, 23:22
Re: Weird Hack... What can I do? - by jakejohnsonusa - 25.04.2013, 00:44
Re: Weird Hack... What can I do? - by Skyrise - 25.04.2013, 21:25
Re: Weird Hack... What can I do? - by Smxe - 26.04.2013, 06:48
Re: Weird Hack... What can I do? - by alimash - 26.04.2013, 08:55

Forum Jump:


Users browsing this thread: 1 Guest(s)