Quote:
Originally Posted by Universal
Here, try this:
pawn Code:
public OnPlayerStateChange(playerid, newstate, oldstate) { if(newstate == PLAYER_STATE_DRIVER && GetPlayerVehicleID(playerid) == VEHICLE_ID) RemovePlayerFromVehicle(playerid);
return 1; }
And dont forget to replace VEHICLE_ID with yours!
|
That would remove him from the vehicle, but:
Quote:
Originally Posted by SEnergy
I want to stop him from entering it, not removing him, simply, when player press F or RETURN it won't enter vehicle, instead he will be standing still
|