#1

how can i make it so if a player like this i get 2 messages.. if he has Alias only one to appear and if he doesent hav alias..without the string(Alias:%s)

PHP код:
if(PlayerInfo[playerid][pAdmin] >= 1)
                       {
                        new 
str[128];
                        new 
name[24];
                        new 
plrIP[16];
                        
GetPlayerName(playeridnamesizeof name);
                        
GetPlayerIp(playeridplrIPsizeof(plrIP));
                        
format(strsizeof(str), "%s a intrat in Server!   [[IP: %s]]",name,plrIP);
                        
SendAdminMessage(COLOR_SEAstr);
{                  } 
else // i think like this no?
{
PHP код:
if(PlayerInfo[playerid][pAdmin] >= 1)
                       {
                        new 
str[128];
                        new 
name[24];
                        new 
plrIP[16];
                        
GetPlayerName(playeridnamesizeof name);
                        
GetPlayerIp(playeridplrIPsizeof(plrIP));
                        
format(strsizeof(str), "%s a intrat in Server!   [[IP: %s]](Alias:%s)",name,plrIP,pAKA);
                        
SendAdminMessage(COLOR_SEAstr);
                    } 
Reply
#2

please help!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)