I need help
#1

DONE!
Reply
#2

BUMP
Reply
#3

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
Reply
#4

But look..Everything is working, but when is not only me in the car(+ 3 passengers), they're teleporting but not in the same interior with me
Reply
#5

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
Reply
#6

Can you make this in code..because I cant understand you?
Reply
#7

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]));
Reply
#8

So i should change it to

SetPlayerInterior(Seat[i],floataround(GarageData[id][garageInterior]));
Reply
#9

BUMPPP
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)