Raised This Month: $ Target: $400
 0% 

help need to exec a command on all


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
theangleofdoom
Junior Member
Join Date: Mar 2006
Old 05-13-2006 , 06:05   help need to exec a command on all
Reply With Quote #1

a.t.m. i am making a plugin but i cant find a way to exec "+attack;-attack"
on all clients in the game...
is there anyone who know how?
ta for any help.
theangleofdoom is offline
wouter
Senior Member
Join Date: Feb 2005
Location: Belgium
Old 05-13-2006 , 06:12  
Reply With Quote #2

take a look at this plugin
wouter is offline
Smokey485
Senior Member
Join Date: Dec 2004
Location: Newt 'Ellin
Old 05-13-2006 , 14:34  
Reply With Quote #3

Code:
public exec_all(id,level,cid)
{
if(!cmd_access(id,level,cid,2))
   return PLUGIN_HANDLED;
 new arg[33]
 read_argv(1,arg,32)
 client_cmd(0, "%s", arg)
 return PLUGIN_HANDLED;
}
__________________
+karma if I am helpful to you.
I am one in a few million.
Smokey485 is offline
Send a message via AIM to Smokey485 Send a message via MSN to Smokey485
Reply



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


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