Raised This Month: $ Target: $400
 0% 

multilang message


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Mankled
Senior Member
Join Date: Oct 2019
Old 10-13-2019 , 14:43   multilang message
Reply With Quote #1

can someone help me to put ML in this code
PHP Code:
public client_authorized(id)
{
    if(
is_user_bot(id)) return PLUGIN_CONTINUE;

    new 
szUserName[33];
    
get_user_name(idszUserName32);

    new 
szAuthID[33];
    
get_user_ip(id szAuthID 32);
    
    new 
iPlayers[32], iNumi;
    
get_players(iPlayersiNum);

    for(
0<= iNumi++)
    {
        new 
iPlayers[i];

        if(!
is_user_connected(x) || is_user_bot(x)) continue;

        
client_cmd(x"spk %s"g_szSoundFile);

        new 
szMessage[164];
        
format(szMessage163"^x04%s (^x01%s^x04) Connected!!!"szUserName szAuthID);

        
message_beginMSG_ONEg_iMsgSayText, {0,0,0}, );
        
write_byte  );
        
write_stringszMessage );
        
message_end ();
    }

    return 
PLUGIN_CONTINUE;

i suck putting ml, i can only put it on client_print

line where i want ML
PHP Code:
format(szMessage163"^x04%s (^x01%s^x04) Connected!!!"szUserName szAuthID); 
Mankled is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode