IsPlayerInArea Help
#9

Romel i get error if i put else if in the checkarea ummmmmmm still getting nothing
Код:
stock IsPlayerInArea(playerid, Float:minx, Float:maxx, Float:miny, Float:maxy)
{
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);
    if(minx < x < maxx && miny < y < maxy) return true;
    return false;
}

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");
 }
 else if(!IsPlayerInArea(playerid,2424,-1758,2640,-1620))
 {
 SendClientMessage(playerid,COLOR_GREEN,"Your on Property of GS Watch Your back");
 }
 return 1;
}
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)