SA-MP Forums Archive
[Help] IsPlayerInArea - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Help] IsPlayerInArea (/showthread.php?tid=73581)



[Help] IsPlayerInArea - _System_ - 16.04.2009

hey all,

i want if some one enter an area reset's His Weapons , And If He out of the area his weapons get back to him.

how to do that !?
plz help me.



Re: [Help] IsPlayerInArea - Weirdosport - 16.04.2009

Getting rid of his weapons would require a timer with a for() loop inside it, to check if any player is in the area.

Giving back the weapons when they leave would be slightly more difficult... You'd have to save what he had on entering, and detect that he'd gone from being in the area to being out of it..


Re: [Help] IsPlayerInArea - _System_ - 16.04.2009

the code please ?


Re: [Help] IsPlayerInArea - Weirdosport - 16.04.2009

If you want somebody to do the work for you you're in the wrong thread. Try The script request one.


Re: [Help] IsPlayerInArea - _System_ - 16.04.2009

plz i need it..