Help with sendclientmessage
#1

Alright what im wanting is for when you attack a gang zone it sends a client message to everyone like so "GANG has initiated a turf war with GANG" Anyway to do this here is the code im using note the first get gang part works"

Код:
            for(new t=0; t < sizeof(Teams); t++) // loop all teams
            {
                if(Teams[t] != ZoneInfo[i][zTeam] && GetPlayersInZone(i, Teams[t]) >= MIN_MEMBERS_TO_START_WAR) // if there are enough enemies in the zone
                {
                    new string[128];
                    format(string,sizeof(string), "%s have initiated a gang war with %s",GetTeamName(playerid));
                    ZoneAttacker[i] = Teams[t];
                    ZoneAttackTime[i] = 0;
                    GangZoneFlashForAll(ZoneID[i], GetTeamZoneColor(ZoneAttacker[i]));
                    SendClientMessageToAll(COLOR_LIME, string);
Reply


Messages In This Thread
Help with sendclientmessage - by arathin - 14.03.2013, 02:43
Re: Help with sendclientmessage - by DaTa[X] - 14.03.2013, 02:54
Re: Help with sendclientmessage - by arathin - 14.03.2013, 03:25
Re: Help with sendclientmessage - by Glad2BeHere - 14.03.2013, 03:35

Forum Jump:


Users browsing this thread: 1 Guest(s)