Need help..
#1

Hello, I got a problem, I have a streamer (I tested, xObjects, MidoStreamer, Double-O-Streamer also mine own streamer), when I teleport to a stunt place WITH A CAR objects Object are created, but they are invisible. But when I teleport to the same stunt place WHITOUT CAR, the objects are all visible.

What can be the problem? :S

Please help ..
Reply
#2

Try removing the player on teleport and then reading him in the car
Reply
#3

Quote:
Originally Posted by dice7
Try removing the player on teleport and then reading him in the car
Example please (if you want)
Reply
#4

I mean, try removing the player from the vehicle on teleport, teleporting him and then placing him in the vehicle
Reply
#5

I understood that part. I mean example in PWN
Reply
#6

pawn Код:
forward PutBackInVehicle(playerid, vehicleid, seat);
public PutBackInVehicle(playerid, vehicleid, seat)
{
  PutPlayerInVehicle(playerid, vehicleid, seat);
}
in your teleport:
pawn Код:
new veh = GetPlayerVehicleID(playerid);
RemovePlayerFromVehicle(playerid);
SetTimerEx("PutBackInVehicle", 800, 0, "iii", playerid, veh, 0);
Reply
#7

pawn Код:
new tmpVEH = GetPlayerVehiceID(playerid);
SetPlayerPos(playerid, X, Y, Z);
PutPlayerInVehicle(playerid, tmpVEH, 0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)