SA-MP Forums Archive
[FilterScript] IsPlayerInArea Maker. - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] IsPlayerInArea Maker. (/showthread.php?tid=555020)



IsPlayerInArea Maker. - _Application_ - 06.01.2015

IsPlayerInArea Maker

http://www.*******.com/embed/FrEmP4jPtPU





Re: IsPlayerInArea Maker. - MohanedZzZ - 06.01.2015

Can you give us a explain about this script please and the usage ?


Re: IsPlayerInArea Maker. - LorDWarS - 06.01.2015

good work Gavriel!


Re: IsPlayerInArea Maker. - _Application_ - 06.01.2015

Update Version v2.0,
http://pastebin.com/pZbu52eU

- It is now possible to coordinates z

(sorry my bad english)


Re: IsPlayerInArea Maker. - AroseKhanNiazi - 06.01.2015

what does it do ?


Re: IsPlayerInArea Maker. - Schneider - 06.01.2015

Quote:
Originally Posted by AroseKhanNaizi
Посмотреть сообщение
what does it do ?
As the topic-title, the text, the video and the actual code suggests, it's makes IsPlayerInArea functions... Did you actually read it?


Re: IsPlayerInArea Maker. - Maximun - 06.01.2015

Nice work


Re: IsPlayerInArea Maker. - Abagail - 06.01.2015

IsPlayerInArea is not a SA:MP function. You'll need to provide the stock / whatever for IsPlayerInArea. This is useless without it(and also put the script on pastebin).


Re: IsPlayerInArea Maker. - _Application_ - 06.01.2015

Quote:
Originally Posted by Abagail
Посмотреть сообщение
IsPlayerInArea is not a SA:MP function. You'll need to provide the stock / whatever for IsPlayerInArea. This is useless without it(and also put the script on pastebin).
I know, If you'll notice, the function inside the script!

Anyway -
PHP код:
IsPlayerInArea(playeridFloat:MinXFloat:MinYFloat:MaxXFloat:MaxY)
{
    new 
Float:xFloat:YFloat:Z;
    
GetPlayerPos(playeridXYZ);
    return (
>= MinX && <= MaxX && >= MinY && <= MaxY) ? 0;

Sorry My Bad English :X