Raised This Month: $ Target: $400
 0% 

client_print only to admins


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 08-23-2009 , 13:33   Re: client_print only to admins
Reply With Quote #3

In your function, check if the user is an admin by
if (!is_user_admin(id))

That will return false (or no), so go ahead and return PLUGIN_CONTINUE; after that statement. After return PLUGIN_CONTINUE; then print the chat message.
BOYSplayCS 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 15:03.


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