SA-MP Forums Archive
Need help with scripting entrance in club - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Need help with scripting entrance in club (/showthread.php?tid=300931)



Need help with scripting entrance in club - Marin_Franolic - 02.12.2011

I know how to map but i have problems with scripting entrance in club/reasturant.
If anyone know how to do it please post here.


Re: Need help with scripting entrance in club - Ironboy - 02.12.2011

Quote:
Originally Posted by Marin_Franolic
Посмотреть сообщение
I know how to map but i have problems with scripting entrance in club/reasturant.
If anyone know how to do it please post here.
You should get its Interior to make a entrance otherwise if you enter, then you will be falling down.


Re: Need help with scripting entrance in club - Marin_Franolic - 02.12.2011

Oh tnx


Re: Need help with scripting entrance in club - Charliee - 02.12.2011

First just get the Interior ID and then set it by the help of your GM CMDS idk which one you'r using!


Re: Need help with scripting entrance in club - [C]ave[M]an - 02.12.2011

Quote:
Originally Posted by Charliee
Посмотреть сообщение
First just get the Interior ID and then set it by the help of your GM CMDS idk which one you'r using!
You completely dk what you are saying

If its custom Mapped:
Find the coordinates of the entrance and the exit of your club/restaurant and use IsPlayerInRangeOfPoint so that you cannot enter the club/restaurant anywhere.