Raised This Month: $51 Target: $400
 12% 

cmd_access syntax


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Admin_CSO
Junior Member
Join Date: Mar 2006
Old 09-19-2006 , 10:44   cmd_access syntax
Reply With Quote #1

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 ?
Admin_CSO is offline
jRaven
AMX Mod X Beta Tester
Join Date: Jan 2006
Location: IA, USA
Old 09-19-2006 , 11:32   Re: cmd_access syntax
Reply With Quote #2

FuncWiki is very helpful for syntax... this should help:
http://amxmodx.org/funcwiki.php?sear...cess&go=search
jRaven is offline
Send a message via ICQ to jRaven Send a message via AIM to jRaven
Admin_CSO
Junior Member
Join Date: Mar 2006
Old 09-29-2006 , 08:06   Re: cmd_access syntax
Reply With Quote #3

so 1 is an access to immunity
2 - amx_slay
4 - kick

from amxmodx constants ?
Admin_CSO is offline
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 09-29-2006 , 09:49   Re: cmd_access syntax
Reply With Quote #4

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
__________________
- Bye bye!
nightscreem is offline
Admin_CSO
Junior Member
Join Date: Mar 2006
Old 10-01-2006 , 11:08   Re: cmd_access syntax
Reply With Quote #5

big thanks nightscreem .
Admin_CSO is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:52.


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