14.10.2011, 12:17
OnPlayerEnterVehicle is called when you press "Enter" or "F" (however), so you must use
or
Код:
TogglePlayerControllable(playerid,0); TogglePlayerControllable(playerid,1);
Код:
new x[3]; GetPlayerPos(playerid,x[0],x[1],x[2]); SetPlayerPos(playerid,x[0]+random(3),x[1]+random(3),x[2]+random(2));