24.02.2018, 14:13
You can check if the player it's on a vehicle with GetPlayerSurfingVehicleID(playerid);
https://sampwiki.blast.hk/wiki/GetPlayerSurfingVehicleID
https://sampwiki.blast.hk/wiki/GetPlayerSurfingVehicleID
Код:
if(GetPlayerSurfingVehicleID(playerid) == INVALID_VEHICLE_ID) { //Send AirBreak Warnings. }