AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [help] code (https://forums.alliedmods.net/showthread.php?t=253103)

popeye10 12-15-2014 10:15

[help] code
 
what is the different between this codes ?
PHP Code:

if(!cmd_access(idlevelcid2))
return 
1

&
PHP Code:

if(!cmd_access(idlevelcid3))
return 
1

thanQ in advanced :)

YamiKaitou 12-15-2014 10:22

Re: [help] code
 
http://amxmodx.org/api/amxmisc/cmd_access

num = number of arguments expected (including the actual command, ie in a command with 4 arguments this will be 5)

popeye10 12-15-2014 12:52

Re: [help] code
 
thanx @yami


All times are GMT -4. The time now is 15:32.

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