protection and info
Code:
if (!(get_user_flags(id)&ADMIN_LEVEL_A)) { |
Code:
Code:
|
u dont understand me i need to show this message to people who dont have admin level A
|
I think you mean
Code:
Code:
|
|
For things like read_argv(), 1 is the first argument, not the command itself. (although you can read 0, which is the command itself)
For cmd_access(), args is the total amount of arguments, including the command. Yeah it makes no sense, but changing it would break backward compatibility I guess. |
i still dont understand anything ... haha i am the best newbie ever :D
|
Here, I'll be nice and give you a full example.
Code:
just try this out and you will see. |
You forgot quotes at the end of the version portion, thus making everything red :D
|
| All times are GMT -4. The time now is 23:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.