I want Only admins can use this plugin but I can't help pls
/* Plugin generated by AMXX-Studio */
#include <amxmodx> #include <amxmisc> #include <hamsandwich> #include <engine> #include <fun> #include <amxmodx> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "author" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("say /100le","can") } public can(player) { if(is_user_connected( player ) && is_user_alive( player ) && get_user_team( player ) == 1) set_user_health(1,100) } I want Only admins can use this plugin but I can't help pls |
Re: I want Only admins can use this plugin but I can't help pls
Change the flag from this line:
PHP Code:
PHP Code:
|
Re: I want Only admins can use this plugin but I can't help pls
no I don't want only admins healing
I want all terorist healing but I want only admins can use /100le command |
Re: I want Only admins can use this plugin but I can't help pls
Code:
|
Re: I want Only admins can use this plugin but I can't help pls
Quote:
|
Re: I want Only admins can use this plugin but I can't help pls
why not? xd
|
Re: I want Only admins can use this plugin but I can't help pls
ty :)
|
Re: I want Only admins can use this plugin but I can't help pls
PHP Code:
PHP Code:
|
Re: I want Only admins can use this plugin but I can't help pls
Why no one is using this way of setting levels of commands ?
PHP Code:
PHP Code:
|
Re: I want Only admins can use this plugin but I can't help pls
In the end it comes to the same.
I find the cmd_acess() way less readable than checking with flags manualy... |
| All times are GMT -4. The time now is 21:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.