30.12.2010, 13:08
Quote:
TogglePlayerControllable(playerid, 1);
~edit: this also makes not movable |
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { TogglePlayerControllable(playerid, 0); return 1; } public OnPlayerExitVehicle(playerid, vehicleid) { TogglePlayerControllable(playerid, 1); return 1; }