How to make so i need a other Access Flag to use it.....
How to do it.
register_concmd("amx_heal","admin_heal",ADMIN _LEVEL_A,"<authid, nick, @team or #userid> <life to give>") I tried to change ADMIN_LEVEL_A to ADMIN_LEVEL_T(custom level H) But when i change that, I couldnīt complie it so i gues that was wrong.. What should i change? |
You need to define what ADMIN_LEVEL_T is.
Example: ADMIN_IMMUNITY = (1<<0) So you would have to define ADMIN_LEVEL_T as (1<<21) [in amxconst], and make sure the user has the "v" flag. |
Re: How to make so i need a other Access Flag to use it.....
Quote:
|
amxmod/scripting/include/amxconst.inc
|
i know this is really off topic but do you gus have a tutorial for learning to script plz i need to make a plugin
|
If you need it that bad request it. Especially if its going to be complex. Only because if you make it yourself it will most likly have so many bugs you will either give up or not know you have them.
But use the search button there have been a lot of tutorials. |
Quote:
*ran out of air* |
do i have to change both or one of these:
register_concmd("amx_heal","admin_heal",ADMIN _LEVEL_A,"<authid, nick, @team or #userid> <life to give>") if (!(get_user_flags(plist[i])&ADMIN_LEVEL_A)&&!ids[plist[i]]) (This was in the same sma) |
Code:
amx_heal <player> <amount>
|
UUU UUUU, I learnd something new today, thankx v3x :D Sorry I dont read the tut's very much too busy, but its nice to get usefull info like that in tidbits every now and then to understand better :D
|
| All times are GMT -4. The time now is 16:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.