Level
#4

PHP Code:
if(level pData[lookupid][Admin]) 
        { 
            new 
irc[130]; 
            
format(irc,sizeof(str),"8,3* Admin %s (ID: %d) granted level %d to %s (ID: %d)",GetName(playerid), playeridlevel,GetName(lookupid),lookupid); 
            
IRC_GroupSay(groupIDIRC_CHANNELirc); 
            
format(strsizeof(str), "Admin %s (ID:%d) has granted level %d to you",GetName(playerid), playeridlevel); 
            
SendClientMessage(lookupidCOLOR_YELLOWstr); 
            
format(strsizeof(str),"You have setted %s (ID:%d) to level %d",GetName(lookupid),lookupid,level); 
            
SendClientMessage(playeridCOLOR_YELLOWstr);
            if(
level >= 3
            {
            if(
pData[lookupid][Admin] < 3){onlineadmins++;}//If not already an admin count ++
            
pData[lookupid][Admin] = level;//now set the level
            
new strings[100+1000]; 
            
format(stringssizeof(strings), "Online Admins: %d",onlineadmins); 
            
TextDrawSetString(oastrings); 
            
TextDrawShowForPlayer(playeridoa); 
            } 
        } 
Reply


Messages In This Thread
Level - by Loinal - 14.04.2017, 12:45
Re: Level - by GangstaSunny. - 14.04.2017, 12:53
Re: Level - by Loinal - 14.04.2017, 13:06
Re: Level - by GangstaSunny. - 14.04.2017, 15:45

Forum Jump:


Users browsing this thread: 2 Guest(s)