Not sure how to explain it.
Code:
if(!cmd_access(id,level,cid,1))
It grabs the access level from the command, in this case it's "ADMIN_KICK". 1 means only 1 argument when called. If it returns false (0), the stuff inside the curly brackets will execute.
Quote:
The last parameter (num) is the number of arguments.
Note that the first parameter is the command name so if you expect one param set it to 2.
|
Sorry if I confused you..
__________________