28.04.2011, 21:02
Well you have to change the command to only teleport the player when he's not in a car, otherwise teleport just the car.
pawn Код:
//command
new Float:x,Float:y,Float:z;
GetPlayerPos(GOTOPLAYER,x,y,z);
if (GetPlayerState(playerid)==PLAYER_STATE_DRIVER)SetVehiclePos(GetPlayerVehicleID(playerid),x,y,z);
else SetPlayerPos(playerid,x,y,z);

