yes, i read the sticky tutorial
Code:
if (read_argc() == 0) {
console_print(id,"[AMXX] You must specify a user")
return PLUGIN_HANDLED
}
Quote:
|
read_argc() returns the number of arguments after the command. If there are no arguments, then it prints "[AMXX] You must specify a user", and we stop code execution.
|
i tried that before,but it didn't work then
it is to say that when u type a single command without any argument
amx x still won't tell u "u must specify a user"
i thought it might be a small error
so i didn't care about it
but just at yesterday i modified a place
it was
i changed it to
then it works well
when u typed a single command without any argument
amx x will remind u to add one
then i'm puzzled
why "0" doesn't work?
__________________