Simple Question - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Simple Question (
/showthread.php?tid=268607)
Simple Question -
R3G1ST3R - 13.07.2011
Hello, i'm making a filterscript and I need to know, I made a /enter command to get past a gate, so for EXAMPLE
Im in a car, I do /enter and me and my car get teleported to the other side, but I get teleported ontop of my car, and I dont stay in it, so please, can some one tell me how to stay IN the car when i was to type /enter?
Re: Simple Question -
_Outbreak_ - 13.07.2011
This kind of thing is meant to be posted in scripting discussion.
For teleporting in a car you need to use SetVehiclePos, don't use SetPlayerPos and SetVehiclePos because that will remove you from the vehicle.
Re: Simple Question -
R3G1ST3R - 13.07.2011
I ment to post this in Scripting Discussing, but what If I want the entrance to be allowed for foot and vehicle?