28.12.2017, 14:44
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);
}
}