Class mesage
#4

Using foreach & y_va :

PHP код:
stock SendClientMessageToAdmins(color, const msg[], va_args<>)
{
    new 
string[145];
    
va_format(stringsizeof(string), msgva_start<2>);
    foreach (new 
Player) if (IsPlayerConnected(i) && PlayerInfo[i][AdminLevel] == 1)
    {
        
SendClientMessage(icolorstring);
    }
    return 
1;

Reply


Messages In This Thread
Class mesage - by Ax3l123 - 14.03.2016, 18:39
Re: Class mesage - by Phar - 14.03.2016, 18:41
Re: Class mesage - by BalkanEliteRP - 14.03.2016, 18:51
Re: Class mesage - by YouServ - 14.03.2016, 19:14

Forum Jump:


Users browsing this thread: 1 Guest(s)