Raised This Month: $ Target: $400
 0% 

Execute command to all on...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
atomen
Veteran Member
Join Date: Oct 2006
Location: Stockholm, Sweden
Old 07-21-2008 , 11:56   Re: Execute command to all on...
Reply With Quote #2

PHP Code:
public plugin_init()
{
 [...]
 
g_maxplayers get_maxplayers();
}

public 
stop_sound()
{
 for(new 
1<= g_maxplayersi++)
 {
  
client_cmd(i"your command");
 }

Not sure what you mean. But this code executes a command on everyone on the server.

Great Tutorial : How to Block Sounds
__________________
atomen is offline
Send a message via MSN to atomen
 



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 05:39.


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