Teleport with car
#3

Quote:
Originally Posted by SilentHuntR
Посмотреть сообщение
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);
i don't understand :/ where i must put this?
Reply


Messages In This Thread
Teleport with car - by Panormitis - 28.04.2011, 20:53
Re: Teleport with car - by Joe Staff - 28.04.2011, 21:02
Re: Teleport with car - by Panormitis - 28.04.2011, 21:21
Re: Teleport with car - by aircombat - 28.04.2011, 21:24
Re: Teleport with car - by Panormitis - 29.04.2011, 12:16
Re: Teleport with car - by leong124 - 29.04.2011, 12:26
Re: Teleport with car - by Max_Coldheart - 29.04.2011, 12:26

Forum Jump:


Users browsing this thread: 1 Guest(s)