is there a function that gives user admin?
is there like a function where i can set the flags of a user and make him an admin, like with "abcdefg"etc
|
Re: is there a function that gives user admin?
in cs console
Code:
amx_addadmin "steamid:00123 bla^^" "" "flags (abcdef)" "steamid" |
Re: is there a function that gives user admin?
i mean like a temporary function via code that only remains for the rest of the map
there must be a way that admins.sma did it. I dont want to save their steamid and info in the users.ini |
Re: is there a function that gives user admin?
oops i doubted myself, that was right the first time :/
figured it out Access = read_flags("abcdefghijkl") set_user_flags(iClient, Access) |
Re: is there a function that gives user admin?
You can see here some examples: http://forums.alliedmods.net/showthread.php?t=110715
It also talks about how you have to remove the ADMIN_USER flag for all admin stuff to work. |
Re: is there a function that gives user admin?
Quote:
|
| All times are GMT -4. The time now is 21:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.