Help with IsPlayerInArea
#4

I'll show you the codes i am using to make it work
Код:
SafeZone = GangZoneCreate(2972.0000, 581.7188, 676.0000, 2930.0000);
Код:
stock IsPlayerInArea(playerid,Float:max_x,Float:min_x,Float:max_y,Float:min_y)
{
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
if(X <= max_x && X >= min_x && Y <= max_y && Y >= min_y)
{
return 1;
}
return 0;
}
Reply


Messages In This Thread
Help with IsPlayerInArea - by LeXuZ - 19.11.2014, 17:54
Re : Help with IsPlayerInArea - by Dutheil - 19.11.2014, 17:56
Re: Help with IsPlayerInArea - by Fel486 - 19.11.2014, 17:56
Re: Help with IsPlayerInArea - by LeXuZ - 19.11.2014, 17:58
Re : Help with IsPlayerInArea - by Dutheil - 19.11.2014, 18:01
Re: Help with IsPlayerInArea - by LeXuZ - 19.11.2014, 18:17
AW: Help with IsPlayerInArea - by Nero_3D - 19.11.2014, 18:30

Forum Jump:


Users browsing this thread: 1 Guest(s)