SA-MP Forums Archive
SetPlayerPosWithVehicle... - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SetPlayerPosWithVehicle... (/showthread.php?tid=126654)



SetPlayerPosWithVehicle... - yoan103 - 09.02.2010

Hi guys i need some help... if a player teleports his car dissapears... I read some of the wiki but i just cannot understand it... it sends me out 5 errors (maybe more) and undefined symbol SetPlayerPosWithVehicle


Re: SetPlayerPosWithVehicle... - Torran - 09.02.2010

pawn Код:
if (IsPlayerInAnyVehicle(playerid)) {
SetVehiclePos(GetPlayerVehicleID(playerid), COORDS);
}
else {
SetPlayerPos(playerid, COORDS);
}