[Ajuda] Quantidade de players
#2

Entschuldigung, aber du kannst nur alle 240 Sekunden einen Beitrag erstellen. Du musst noch 17

pawn Код:
CMD:local(playerid, params[])
{
    new ORGS;
    if(PlayerToPoint(2, playerid, 1127.4275,-1939.3912,58.6547))
    {
        for(new i = 0; i < GetMaxPlayers(); i++)
        {
            if (PlayerInfo[i][pOrg] == 1)
            {
                if(IsPlayerInArea(i,1058.59375,-2146.484375,1271.484375,-1914.0625))
                {
                    ORGS++;
                }
            }
        }
    }

   static string[128];

   format(string, sizeof(string), "%d pessoas da org 1 neste local.", ORGS);
   SendClientMessage(playerid,-1, string);
   return 1;
}
Reply


Messages In This Thread
Quantidade de players - by Lucas Ventura - 17.10.2013, 22:46
AW: Quantidade de players - by ipsBruno - 17.10.2013, 22:48

Forum Jump:


Users browsing this thread: 1 Guest(s)