Raised This Month: $ Target: $400
 0% 

Need Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Old 09-12-2008 , 00:56   Re: Need Help
Reply With Quote #2

Looks like you're in the wrong section, buddy, this is for SourceMod
scripting help.

Anyways:

PHP Code:
public print_allTalk(id
{
 new 
alltalkStatus[256]
 if(
is_user_admin(id))
 {
  if(
get_cvar_num("sv_alltalk") == 1)
  {
   
format(alltalkStatus255"%s All Talk: ON %s"COLOR]
  }
  else
  {
   
format(alltalkStatus255"%s All Talk: Off %s"COLOR]
  }
  
//show the message and do other stuff here
 
}
 return 
Plugin_Handled

hope that helps

Last edited by FeuerSturm; 09-12-2008 at 00:59. Reason: using [php] tags instead of [code] looks better :)
FeuerSturm 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 03:01.


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