|
|
#1 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Aug 2010
Posts: 221
Reputation: 11
|
Hey guys. I made an adminlevel command and it doesn't seem to work. I get no errors or anything.
pawn Code:
It just does this pawn Code:
Anyone see a problem? |
|
|
|
|
#2 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: May 2010
Location: Toronto, Canada
Posts: 1,239
Reputation: 43
|
pawn Code:
i'm not sure if this fixed your problem, but now its using sscanf the way its meant to be used. It should fix it because now the parameters are defined and you do not have to pull the info outta them |
|
|
|
|
#3 |
|
Little Clucker
![]() Join Date: Aug 2006
Posts: 36
Reputation: 0
|
if(sscanf(params, "ui", str))
you should change it to if(sscanf(params, "ui", giveplayerid,adminlevel)) |
|
|
|
|
#4 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Aug 2010
Posts: 221
Reputation: 11
|
OMG I didn't even notice that I was defining ui as str. lol. Stupid mistakes.
Thanks for the help. |
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Zcmd help | Jin_Li | Help Archive | 1 | 07/02/2011 10:48 AM |
| zcmd help | yarrum3 | Help Archive | 1 | 04/02/2011 11:15 AM |
| Help with using zcmd | XoX | Help Archive | 2 | 15/01/2011 11:45 AM |
| ZCMD Help. | Zh3r0 | Help Archive | 11 | 22/09/2010 07:14 PM |
| /me in ZCMD | newarvuti | Help Archive | 6 | 11/05/2010 04:48 PM |