28.05.2009, 19:36
setting his pos will get him out of the car.
but if you want locking you can do AddVehicleParametersForPlayer one of the ID's is locked...
https://sampwiki.blast.hk/wiki/SetVehicleParamsForPlayer
to lock:
SetVehicleParamsForPlayer(GetPlayerVehicleID(playe rid),playerid,0,1);
but if you want locking you can do AddVehicleParametersForPlayer one of the ID's is locked...
https://sampwiki.blast.hk/wiki/SetVehicleParamsForPlayer
to lock:
SetVehicleParamsForPlayer(GetPlayerVehicleID(playe rid),playerid,0,1);