zones
#5

When a enters idlewood a message will pop up and say idlewood, Look the link below it's a tutorial.

pawn Code:
public isPlayerInArea()
  {
    new Float:X, Float:Y, Float:Z;
    for(new i=0; i < MAX_PLAYERS; i++)
    {
      GetPlayerPos(i, X, Y, Z);
      if (X <= MinX && X >= MaxX && Y <= MinY && Y >= MaxY)
      {
        SendClientMessage(playerid, COLOR_WHITE, "IdleWood");
      }
    }
  }
https://sampwiki.blast.hk/wiki/Areacheck


Reply


Messages In This Thread
zones - by Lajko1 - 22.11.2009, 15:56
Re: zones - by Puzi - 22.11.2009, 16:11
Re: zones - by Lajko1 - 22.11.2009, 16:18
Re: zones - by MadeMan - 22.11.2009, 16:31
Re: zones - by skylord - 22.11.2009, 16:35

Forum Jump:


Users browsing this thread: 2 Guest(s)