AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=7)
-   -   cmd_access syntax (https://forums.alliedmods.net/showthread.php?t=44983)

Admin_CSO 09-19-2006 10:44

cmd_access syntax
 
Code:

if (!cmd_access(id, level, cid, 3))
what is '3' ?
where can i find list of amount 1,2,3...150000 ? :)
What is the limit ?

jRaven 09-19-2006 11:32

Re: cmd_access syntax
 
FuncWiki is very helpful for syntax... this should help:
http://amxmodx.org/funcwiki.php?sear...cess&go=search

Admin_CSO 09-29-2006 08:06

Re: cmd_access syntax
 
so 1 is an access to immunity
2 - amx_slay
4 - kick

from amxmodx constants ?

nightscreem 09-29-2006 09:49

Re: cmd_access syntax
 
Yes, normally coders have it in
Code:
register_concmd( "command", "public", ADMIN_LEVEL_A, "Description");

now
Code:
if (!cmd_access(id, level, cid, 1))
will be used

Admin_CSO 10-01-2006 11:08

Re: cmd_access syntax
 
big thanks nightscreem .


All times are GMT -4. The time now is 09:42.

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