Adding admin level to functions
How to add access / admin level control to scripts.
For example you need kick level in order to access an intern function in the script. I dont met amx_test but intern script level control. |
http://wiki.amxmodx.org/index.php/In...od_X_Scripting
Quote:
|
Quote:
|
you add that code into your script to add admin level control...
|
no i want to use it without user input.
|
without user input? so you want it to run automatically without anyone calling it... and somehow check the level access of someone who didn't call the command?
|
the plugin monitors the users on certain actions (example name changes) , so input goes automaticly.
|
so you want to see if users are admins or something?
you can use get_user_flags or is_user_admin |
Quote:
|
for is_user_admin you can do something like
Code:
|
| All times are GMT -4. The time now is 20:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.