[dcmd] setlevel dosen't work
#2

Because what you type in (/setlevel [id] [for example: 3]), that has been sscanfed into the lvl variable (sscanf(params,"ui",id,lvl)) and after that you check the lvl variable. (lvl >= 10), but it's not 10, it's 3. So that is the problem.
Reply


Messages In This Thread
[dcmd] setlevel dosen't work - by jonnyboy - 13.05.2011, 16:34
Re: [dcmd] setlevel dosen't work - by Seven_of_Nine - 13.05.2011, 16:37
Re: [dcmd] setlevel dosen't work - by Laronic - 13.05.2011, 16:42
Re: [dcmd] setlevel dosen't work - by jonnyboy - 13.05.2011, 16:48

Forum Jump:


Users browsing this thread: 3 Guest(s)