PlayerKeysStill dont work
#3

Quote:
Originally Posted by Weirdosport
Errr, not sure what's going on there but try this:

pawn Код:
public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
{
    new tempkeys = newkeys-oldkeys;
    if(tempkeys == KEY_FIRE)
    {
        if(IsPlayerInAnyVehicle(playerid))
        {
            SendClientMessage(playerid, 0xFF0000AA, "Nitro is not allowed");
            RemovePlayerFromVehicle(playerid);
        }
    }
    return 1;
}
[me=Divine]<3 You :P :P :P[/me]
WORKS GREAT MAN
Thnx ))
Reply


Messages In This Thread
PlayerKeysStill dont work - by Divine - 25.05.2009, 17:24
Re: PlayerKeysStill dont work - by Weirdosport - 25.05.2009, 18:00
Re: PlayerKeysStill dont work - by Divine - 25.05.2009, 18:54

Forum Jump:


Users browsing this thread: 3 Guest(s)