SA-MP Forums Archive
Help me - 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 me (/showthread.php?tid=517916)



Help me - madalin912 - 07.06.2014

How do I add entry large building.

Here:

http://s17.postimg.org/rm6d2gtvj/sa_mp_004.png


Re: Help me - Rufio - 07.06.2014

Try adding pickups with CreatePickup

edit: You actually need to put a OnPlayerPickupPickup too I guess, search wiki for more info, I cant do the coding as I dont have the co-ordinates.


Re: Help me - Laure - 07.06.2014

The buildings wont have interiors by default(some may have), you can have your custom interior for them by coding it in samp. You can simply ues CreatePickup then associate a /enter and /exit command with it with preferred interior you want it to have.


Re: Help me - RajatPawar - 07.06.2014

You can use a checkpoint streamer to add entrances and exits to buildings. There are a lot of tutorials about that, you can find some using ******. You would first use CreateDynamicCP to add the entrance, then use the callback 'OnPlayerEnterDynamicCP' to transport the player as needed.