Raised This Month: $ Target: $400
 0% 

Client_Print


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
enjoi.
Veteran Member
Join Date: Mar 2011
Old 10-06-2011 , 08:17   Client_Print
Reply With Quote #1

How do I make it so it prints in colorchat with client_print. I'm not sure how to do this. Can anybody give me an example?>
PHP Code:
Slayaim(id)
{
    new 
playerbody;
    new 
szPlayerName[32];
    
get_user_aiming(idplayerbody);
    
get_user_name(playerszPlayerName32);

    if (
get_user_flags(id) & ADMIN_BAN)
    {
        if (
is_user_alive(player) && get_user_flags(player) & ADMIN_IMMUNITY)
        {
            
client_print(id"You cant slay some one with Immunity!");
        }
        else
        if (
is_user_alive(player))
        {
            
user_kill(player);
            
client_print(player"You have been Slayed!");
            
client_print(id"You just Slayed %s!"szPlayerName);
        }
    }

__________________
Block Maker v6.0 []
Point Slay v3.0 []
Contact [ PM ]
enjoi. 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 19:42.


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