Raised This Month: $ Target: $400
 0% 

stock print


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Sanjay Singh
Veteran Member
Join Date: Sep 2016
Old 01-08-2020 , 07:58   stock print
Reply With Quote #1

I am trying to print a specific message to all admins only.
so is this possible to use like without using full colorchat stock becuz 1.9.0 already includes colorchat
client_print_color

PHP Code:
print_admin(00"Hi %s You're Admin"name)

stock print_admin(id, const msg[])
{
    new 
iPlayers[32], iPnumiPlayer
    get_players
(iPlayersiPnum)

    for(new 
0iPnumi++)
    {
        
iPlayer iPlayers[i]
        
        if(
get_user_flags(iPlayer) & ADMIN_CHAT)
            
client_print_color(iPlayer0msg)
    } 

__________________
Sanjay Singh is offline
Send a message via AIM to Sanjay Singh
 



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:42.


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