y_va - Format Hex Problem
#1



Well I have a problem...

Function:
pawn Код:
stock FormatMSGToAll( color, string[ ], va_args<> )
{
    format( _S_T_R_, sizeof _S_T_R_, string, va_start<2> );
    SendClientMessageToAll( color, _S_T_R_ );
   
    return ( 1 );
}
Use:
pawn Код:
FormatMSGToAll( GetPlayerColor( playerid ), "%s["C_W"%d{%06x}] "C_W"connected to the server.", pName( playerid ), playerid, GetPlayerColor( playerid ) >>> 8 );
Reply


Messages In This Thread
y_va - Format Hex Problem - by aRoach - 26.06.2012, 13:13
Re: y_va - Format Hex Problem - by Grand_Micha - 26.06.2012, 13:31
Re: y_va - Format Hex Problem - by aRoach - 26.06.2012, 13:47
Re: y_va - Format Hex Problem - by Grand_Micha - 26.06.2012, 13:59
Re: y_va - Format Hex Problem - by aRoach - 26.06.2012, 14:22

Forum Jump:


Users browsing this thread: 1 Guest(s)