Anti AirBreak problem
#2

You can check if the player it's on a vehicle with GetPlayerSurfingVehicleID(playerid);

https://sampwiki.blast.hk/wiki/GetPlayerSurfingVehicleID

Код:
if(GetPlayerSurfingVehicleID(playerid) == INVALID_VEHICLE_ID)
{
       //Send AirBreak Warnings.
}
Reply


Messages In This Thread
Anti AirBreak problem - by C0oL3r - 24.02.2018, 13:20
Re: Anti AirBreak problem - by kingmk - 24.02.2018, 14:13
Re: Anti AirBreak problem - by RogueDrifter - 24.02.2018, 14:28
Re: Anti AirBreak problem - by C0oL3r - 24.02.2018, 14:52

Forum Jump:


Users browsing this thread: 2 Guest(s)