Making interiors /enter /exit - 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: Making interiors /enter /exit (
/showthread.php?tid=663941)
Making interiors /enter /exit -
TheButler - 15.02.2019
Hello guys , ive been having some issues while trying to make city hall iinterior
i've tried creating a pickup in front of city hall entrance and that pickup teleports me to cityhall interior but the problem is when i try to go in that pickup i get teleported in blueberry in the sky then i fall and die.
I would appreciate your help !
Re: Making interiors /enter /exit -
TokicMajstor - 15.02.2019
You could make when you stand in that pickup snd press F but anyway you just need to put that pickup in variable and then make in the OnPlayerPickupPickup a little code which teleports you to that place. If you need me to make cide for you just say but send me pos of entrance and that interior
Re: Making interiors /enter /exit -
TheButler - 15.02.2019
AddPlayerClass(171,1481.0682,-1772.3105,18.7958,181.6587,0,0,0,0,0,0); // Cityhall entrance
Btw, i will have to remove the normal entering pickup of gta sa so it doesnt bother when i /enter and /exit
the interior i want is
planning dept. id 3 here is the interior website of it
http://weedarr.wikidot.com/interior
Re: Making interiors /enter /exit -
d3Pedro - 15.02.2019
That's simple to do, using
IsPlayerInRangeOfPoint and
SetPlayerPos in a command.
But you have to disable the one which game has using
DisableInteriorEnterExits
Re: Making interiors /enter /exit -
TheButler - 15.02.2019
Thank you