Code:
if(!cmd_access(id,level,cid,4)) {
The last parameter is the amount of arguments that the command takes,
including the command itself. In your case, the 4 should be a 2.
The first argument is amx_startlotto and the second argument is 300 in your example. Therefore by using read_argv(0,...) you could grab the command name if you wanted (just useless information).
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS