Need help.. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Need help.. (
/showthread.php?tid=105091)
Need help.. -
RyDeR` - 27.10.2009
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 ..
Re: Need help.. -
dice7 - 27.10.2009
Try removing the player on teleport and then reading him in the car
Re: Need help.. -
RyDeR` - 27.10.2009
Quote:
Originally Posted by dice7
Try removing the player on teleport and then reading him in the car
|
Example please

(if you want)
Re: Need help.. -
dice7 - 27.10.2009
I mean, try removing the player from the vehicle on teleport, teleporting him and then placing him in the vehicle
Re: Need help.. -
RyDeR` - 28.10.2009
I understood that part. I mean example in PWN
Re: Need help.. -
Streetplaya - 28.10.2009
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);
Re: Need help.. -
woot - 28.10.2009
pawn Код:
new tmpVEH = GetPlayerVehiceID(playerid);
SetPlayerPos(playerid, X, Y, Z);
PutPlayerInVehicle(playerid, tmpVEH, 0);