19.03.2011, 22:07
I suggest to create vehicles near the starting point to avoid car collision (and casualities) when player teleports in cars
If you want to teleport also the vehicle simply go to
And sobstitute with
If you want to teleport also the vehicle simply go to
Code:
SetPlayerPos(playerid....)
Code:
if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid)==PLAYER_STATE_DRIVER) SetVehiclePos(GetPlayerVehicleID(playerid),.....); //Sobstitute coord. else SetPlayerPos(playerid,...);