PlayerKeysStill dont work
#2

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;
}
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: 1 Guest(s)