06.09.2013, 08:53
Just set the vehicle positions instead player positions:
pawn Код:
if(!IsPlayerInAnyVehicle(playerid)) SetPlayerPos(playerid, ...); // Check if player is NOT in any vehicle and sets the player's position.
else SetVehiclePos(GetPlayerVehicleID(playerid), ...); // Else (If he is in a vehicle) set the vehicle's position.