Raised This Month: $ Target: $400
 0% 

Admin Only print_chat help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
noonoo
Senior Member
Join Date: Mar 2006
Location: London - UK
Old 05-28-2006 , 11:12  
Reply With Quote #6

Hi guys many thanks for the help so far, from what i have read the code below will only show to the admin that did the command.

Code:
case 1: 
				{
             if(is_user_admin(id)) {
					client_print(id,print_chat,"text for admin ^"%s^ in here" has been used on you all",command)
				}
      }
				case 2: 
				{
             if(is_user_admin(id)) {
					client_print(id,print_chat,"text for admin ^"%s^ in here" has been used on everybody",admin,command)
				}
      }
I dropped the server_print as it was not needed really, also it not needed to show all admins infact maybe better that it does not.
Sorry to ask so many questions but its all new to me, trying to learn as much as poss as quickly as poss. Trying to run before i can walk

Many many thanks again guys
noonoo 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 16:32.


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