Help with Teleport Pickup! - 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)
+--- Thread: Help with Teleport Pickup! (
/showthread.php?tid=445394)
Help with Teleport Pickup! -
navroopsingh - 21.06.2013
Ok, so i made a teleport pickup using OnPlayerPickupPickup everything works fine, but when I go and pick the pickup for teleport i do teleport but i can see anything. please help me with this.
Thanks
Re: Help with Teleport Pickup! -
Mystique - 21.06.2013
Where are you teleported? Are you teleported into a interior? If you are, then use this function:
https://sampwiki.blast.hk/wiki/Function:SetPlayerInterior
Re: Help with Teleport Pickup! -
navroopsingh - 21.06.2013
I am teleported outside from a interior
Re: Help with Teleport Pickup! -
Mystique - 21.06.2013
If the teleport is inside a interior, and you are teleported outside, then add this line under the lines in OnPlayerPickupPickup.
pawn Код:
SetPlayerInterior(playerid,0);
Re: Help with Teleport Pickup! -
navroopsingh - 21.06.2013
Ok Thanks
Re: Help with Teleport Pickup! -
navroopsingh - 21.06.2013
Thanks you so much, that did worked