[FilterScript] IsPlayerInArea Maker.
#1

Reply
#2

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

good work Gavriel!
Reply
#4

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

- It is now possible to coordinates z

(sorry my bad english)
Reply
#5

what does it do ?
Reply
#6

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?
Reply
#7

Nice work
Reply
#8

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).
Reply
#9

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(playerid, Float:MinX, Float:MinY, Float:MaxX, Float:MaxY)
{
    new 
Float:x, Float:Y, Float:Z;
    
GetPlayerPos(playerid, X, Y, Z);
    return (
X >= MinX && X <= MaxX && Y >= MinY && Y <= MaxY) ? 1 : 0;
} 
Sorry My Bad English :X
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)