24.03.2010, 21:36
In OnPlayerEnterVehicle callback put this:
pawn Код:
if(/*Something...*/) {}
else { //You can't enter the vehicle
new Float:cx, Float:cy, Float:cz;
GetPlayerPos(playerid, cx, cy, cz);
SetPlayerPos(playerid, cx, cy, cz); }