Interior Problem
#2

https://sampwiki.blast.hk/wiki/SetVehiclePos

Check this out, replace SetPlayerPos with this to tp a vehicle

If you need to tp a person into the spot when they are not in a car you would want to use something like this.

Code:
if(IsPlayerInAnyVehicle(playerid) {
    SetVehiclePos(X, Y, Z);
} else {
    SetPlayerPos(playerid, X, Y, Z);
}
Reply


Messages In This Thread
Interior Problem - by Barnwell - 10.07.2017, 02:31
Re: Interior Problem - by Alex_T - 10.07.2017, 02:33
Re: Interior Problem - by Barnwell - 10.07.2017, 02:35
Re: Interior Problem - by Alex_T - 10.07.2017, 02:36
Re: Interior Problem - by Barnwell - 10.07.2017, 02:43
Re: Interior Problem - by DTV - 10.07.2017, 02:44
Re: Interior Problem - by Barnwell - 10.07.2017, 03:28

Forum Jump:


Users browsing this thread: 1 Guest(s)