Quote:
Originally Posted by EmpireSk
When you want to show up as much as you want, you can not get a message for yourself
PHP код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(PlayerInfo[i][pFaction] == PlayerInfo[playerid][pFaction] && PlayerInfo[i][pFaction] != 0)
{
format(string, sizeof(string), "*** %s from your faction has logged in", GetPlayerNameEx(playerid));
SendClientMessageToAll( COLOR_JUNIORADMIN, string);
}
if(PlayerInfo[i][pGang] == PlayerInfo[playerid][pGang] && PlayerInfo[i][pGang] != 255)
{
format(string, sizeof(string), "*** %s from your gang has logged in", GetPlayerNameEx(playerid));
SendClientMessageToAll( COLOR_JUNIORADMIN, string);
}
}
|
But if i use that it will appear for all player in gang or not in gang