[Ajuda] Mensagem Automatico quando um player entra, й rapidinho
#10

pawn Код:
if(PlayerInfo[playerid][pAdmin] >= 1)
    {
        new string[64], pName[MAX_PLAYER_NAME];
        GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
        format(string,sizeof string,"O Administrador %s entrou no servidor",pName);
        SendClientMessageToAll(COLOR_INPLAYER,string);
   }
  if(PlayerInfo[playerid][pMod] >= 1)
        {
            new string[64], pName[MAX_PLAYER_NAME];
            GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
            format(string,sizeof string,"O Moderador %s entrou no servidor",pName);
            SendClientMessageToAll(COLOR_INPLAYER,string);
        }
        if(PlayerInfo[playerid][pMod] < 0 && PlayerInfo[playerid][pAdmin] < 0)
        {
            new string[64], pName[MAX_PLAYER_NAME];
            GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
            format(string,sizeof string,"O Jogador %s entrou no servidor",pName);
            SendClientMessageToAll(COLOR_INPLAYER,string);
        }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)