AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   help need to exec a command on all (https://forums.alliedmods.net/showthread.php?t=28347)

theangleofdoom 05-13-2006 06:05

help need to exec a command on all
 
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.

wouter 05-13-2006 06:12

take a look at this plugin

Smokey485 05-13-2006 14:34

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;
}



All times are GMT -4. The time now is 05:00.

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