SA-MP Forums Archive
Working Barrriers - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: Working Barrriers (/showthread.php?tid=309358)



Working Barrriers - Faheem - 07.01.2012

Not sure where to stick this so Im going to put it in here.

I know for a fact that you can working barriers on SA-MP so like a parking place or a toll with barriers the work however, I'd like to know how to make one of these is it a specific object on MTA or a scripting issue to be dealt with on SA-MP?


Re: Working Barrriers - arjanforgames - 07.01.2012

I think the objects for the toll gates etc. will be on MTA but the scripting part that will make the barriers move etc.
need to be done in SA-MP.


Re: Working Barrriers - sherlock - 07.01.2012

Quote:
Originally Posted by Faheem
Посмотреть сообщение
Not sure where to stick this so Im going to put it in here.

I know for a fact that you can working barriers on SA-MP so like a parking place or a toll with barriers the work however, I'd like to know how to make one of these is it a specific object on MTA or a scripting issue to be dealt with on SA-MP?
I think you have to make it with it closed, then script the cmd for example /ogate then when that command is executed tell the server to switch the closed map to the one with the gate open.


Re: Working Barrriers - doreto - 07.01.2012

Quote:
Originally Posted by sherlock
Посмотреть сообщение
I think you have to make it with it closed, then script the cmd for example /ogate then when that command is executed tell the server to switch the closed map to the one with the gate open.
or you can use IsPlayerInRangeOfPoint and wich timer to close