Posts: 99
Threads: 13
Joined: Mar 2016
Reputation:
0
hi, You can make a player of audit in your dimension , and teleport with you in the place you want it to be teleported . You 're not bad example in system Admin
Posts: 99
Threads: 13
Joined: Mar 2016
Reputation:
0
in your function teleportation is a verification of your interior , adding SetPlayerInterior check from the Inside.
Example:
GetPlayerInterior : detect interior 8
Teleportation in GetPlayerInterior 8
Teleportation you with him in interior 8
Posts: 1,276
Threads: 6
Joined: Aug 2014
You do this for passengers:
SetPlayerInterior(Seat[i], GarageData[id][garageInterior]);
But you do this for the driver & vehicle:
SetPlayerInterior(playerid,floatround(GarageData[id][garageInterior]));
Posts: 89
Threads: 22
Joined: Mar 2012
Reputation:
0
So i should change it to
SetPlayerInterior(Seat[i],floataround(GarageData[id][garageInterior]));
Posts: 6,242
Threads: 8
Joined: Jun 2008
Why are you using floatround in the first instance? interiors are int values anyway...
What jamester said though is what you need to do. You need to set all of them to the same interior, by going through all the passengers.
I can't see why you use PutPlayerInVehicle though as if they were in the car in the first place, you don't need to put them in it again when they are teleporting the car.
You just have to set the interior of the player.