Need help - 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: Need help (
/showthread.php?tid=185943)
Need help -
mathiashhg - 26.10.2010
Hi this is maybe a noob question but it is my first time scripting an gta sa-mp server so how do i make a teleport where it teleports the player and the car he/she is inside
Sorry for my bad english
Re: Need help -
Bessensap - 26.10.2010
SetVehiclePos(GetPlayerVehicleID(playerid),Xcoord, Ycoord,Zcoord);
Re: Need help -
mathiashhg - 27.10.2010
Quote:
Originally Posted by Bessensap
SetVehiclePos(GetPlayerVehicleID(playerid),Xcoord, Ycoord,Zcoord);
|
Nice ty
Re: Need help -
iggy1 - 27.10.2010
You will need to use "SetPlayerPos" too or just the vehicle will be teleported!
Re: Need help -
Hiddos - 27.10.2010
Quote:
Originally Posted by iggy1
You will need to use "SetPlayerPos" too or just the vehicle will be teleported!
|
And now I caught you failing hehe, if you use SetVehiclePos it will teleport the vehicle with everybody inside it

.
Re: Need help -
iggy1 - 27.10.2010
Damn you hiddos! I was just testing to see if anyone noticed (yeah right). lol