06.09.2013, 08:44
How to teleport player and if he is in veh to teleport the player in veh...
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.