SA-MP Forums Archive
Area. - 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: Area. (/showthread.php?tid=345318)



Area. - Edin Black - 24.05.2012

Hello i have a question

How i make that when a player is in area, and when he comes out, then he die.

A zone, that he couldnґt came out.


Re: Area. - ViniBorn - 24.05.2012

IsPlayerInArea

https://sampwiki.blast.hk/wiki/Areacheck


Re: Area. - MadeMan - 24.05.2012

You can try the Streamer plugin - https://sampforum.blast.hk/showthread.php?tid=102865

Use CreateDynamicCircle or CreateDynamicRectangle to create the area and then OnPlayerLeaveDynamicArea gets called when player leaves the area.


Re: Area. - Edin Black - 24.05.2012

Viniborn thank you.