AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   cm_access(), get_user_flags(), What using? (https://forums.alliedmods.net/showthread.php?t=55149)

raphxyz 05-15-2007 09:51

cm_access(), get_user_flags(), What using?
 
Hi all,
What is the APRECATED function?

For cmd_access require the module amxmisc! :-S

Thanks in advance for your responses :)

regalis 05-15-2007 10:08

Re: cm_access(), get_user_flags(), What using?
 
HUH, can you explain your question?..0o

_Master_ 05-15-2007 10:17

Re: cm_access(), get_user_flags(), What using?
 
Use cmd_access() if that command has a "fixed" number of arguments. (It also displays the "USAGE:..." text on incorrect number of arguments, checks for authorized access - based on get_user_flags() and local player/server rights, logs unauthorized command usage)

Use get_user_flags() if command has a variable number of arguments. (You can also insert portions of code from cmd_access() to fit your needs)

Zenith77 05-15-2007 11:35

Re: cm_access(), get_user_flags(), What using?
 
Quote:

Originally Posted by raphxyz (Post 476844)
Hi all,
What is the APRECATED function?

For cmd_access require the module amxmisc! :-S

Thanks in advance for your responses :)

amxmisc is not a module. It's a header file filled with stocks.

raphxyz 05-15-2007 11:42

Re: cm_access(), get_user_flags(), What using?
 
Ok,
Thanks for your informations.
I go to see may plugin for choise the good method.

bye and see you soon :)


All times are GMT -4. The time now is 10:33.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.