IsPlayerInArea Help
#5

gamemodeint
SetTimer("CheckArea",2000,1);


stock IsPlayerInArea(playerid, Float:minx, Float:maxx, Float:miny, Float:maxy)
{
new Float, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
return minx < x < maxx && miny < y < maxy;
}

forward CheckArea(playerid);
public CheckArea(playerid)
{
if(IsPlayerInArea(playerid,2424,-1758,2640,-1620))
{
SendClientMessage(playerid,COLOR_GREEN,"Your on Property of GS Watch Your back");
}
return 1;
}
it still doesnt work i used
http://gtaforum.hu/index.php?PHPSESS...&page=gangzone
to get the zones and all iz failing me
Reply


Messages In This Thread
IsPlayerInArea Help - by trapstar2020 - 15.09.2012, 05:55
Re: IsPlayerInArea Help - by CoDeZ - 15.09.2012, 06:01
Respuesta: IsPlayerInArea Help - by Marricio - 15.09.2012, 06:02
Re: IsPlayerInArea Help - by clarencecuzz - 15.09.2012, 06:20
Re: IsPlayerInArea Help - by trapstar2020 - 15.09.2012, 06:33
Re: IsPlayerInArea Help - by trapstar2020 - 15.09.2012, 06:42
Re: IsPlayerInArea Help - by JaKe Elite - 15.09.2012, 06:48
Re: IsPlayerInArea Help - by clarencecuzz - 15.09.2012, 07:11
Re: IsPlayerInArea Help - by trapstar2020 - 15.09.2012, 08:00
Re: IsPlayerInArea Help - by clarencecuzz - 15.09.2012, 08:07

Forum Jump:


Users browsing this thread: 1 Guest(s)