Posts: 63
Threads: 18
Joined: Jan 2010
Reputation:
0
I would like to know how to able TPing with a car you are inside it ?
I mean when somenoe is inside sultan, and did /SF, he should TP there with a car, not only in food and let car in it's place.
Posts: 127
Threads: 15
Joined: Jun 2009
Reputation:
0
SetVehiclePos(vehicleid,X,Y,Z);
Posts: 1,506
Threads: 69
Joined: Feb 2008
Posts: 63
Threads: 18
Joined: Jan 2010
Reputation:
0
But he wouldn't be inside the car, when TP'ing there.
I want someone stay inside when TP'ing, not entering in car each time
Posts: 1,506
Threads: 69
Joined: Feb 2008
the player stays inside the vehicle when It is teleported, yes.
Posts: 1,506
Threads: 69
Joined: Feb 2008
Quote:
Originally Posted by samuel_hamza
Quote:
Originally Posted by mavtias
the player stays inside the vehicle when It is teleported, yes.
|
Oh yeah, then I won't bother even to use SetPlayerPos, right ?
|
Yes, correct. But If they are on foot you cannot use SetVehiclePos, then you must use SetPlayerPos.
Quote:
Originally Posted by Red Hockey
here is how i have it set up on my server in my script
Код:
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1585.5393,714.5226,10.5754);
|
Sorry, this wont help him at all...
This will only make him unable to create his own code and forced to rely on others.