AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   setinfo _group "name" (https://forums.alliedmods.net/showthread.php?t=48024)

USvER 12-02-2006 15:00

setinfo _group "name"
 
Hello! =)
Sorry for my English...

After i type in console "setinfo _group "name"".... how can i get this variable in my script.


Plz help...

The Specialist 12-02-2006 15:02

Re: setinfo _group "name"
 
you have to read the argument using read_argv

VEN 12-02-2006 15:10

Re: setinfo _group "name"
 
You can't hook setinfo with register_*cmd.
You'll have to use get_user_info or fakemeta module.

USvER 12-02-2006 15:14

Re: setinfo _group "name"
 
Sorry... I read this http://www.amxmodx.org/funcwiki.php?...argv&go=search but i dont understand... Can you explain me?

VEN 12-02-2006 15:20

Re: setinfo _group "name"
 
read_argv can be used in register_*cmd hooks but you can't hook setinfo with register_*cmd, it's not sent to the server as the command, so you'll have to use get_user_info.

USvER 12-02-2006 15:35

Re: setinfo _group "name"
 
Thnx... get_user_info... =)


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

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