Admin Chat
#1

in game when i join it say

Example:

Martex [0][Admin: 10]: test
Martex [0]: test

i want if player admin only use the first one

and normal player the second one

Codes here:

PHP код:
        if(User[playerid][accountAdmin] > 1)
        {
            new 
stringbig[213];
            
format(stringbig,sizeof(stringbig),"%s [Admin: %d][%d]: {FF0000}%s",pName(playerid),User[playerid][accountAdmin],playeridtext);
              
SendClientMessageToAll(playerid,stringbig);
              }
              else
              {
            new 
stringbig[213];
            
format(stringbig,sizeof(stringbig),"[%d]: {FFFFFF}%s",playeridtext);
              
SendPlayerMessageToAll(playerid,stringbig);
        } 
Reply


Messages In This Thread
Admin Chat - by Loinal - 22.05.2016, 15:17
Re: Admin Chat - by AliBro - 22.05.2016, 15:28
Re: Admin Chat - by BornHuman - 22.05.2016, 15:28
Re: Admin Chat - by Luicy. - 22.05.2016, 15:29
Re: Admin Chat - by CSLangdale - 22.05.2016, 16:18
Re: Admin Chat - by CSLangdale - 22.05.2016, 16:20
Re: Admin Chat - by Xdrime - 23.05.2016, 12:17
Re: Admin Chat - by AjaxM - 23.05.2016, 13:01

Forum Jump:


Users browsing this thread: 3 Guest(s)