10.07.2017, 02:33
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.
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); }