SSCANF OR ZCMD?
#1

Recently i've updated the YSI library to latest due to some problems, but now i realized some of (mostly admin commands) send usage message even tho delivering all parameters, and some work properly, what could be causing it?

I use zcmd for all of my cmds, and sscanf.
Reply
#2

Using two command functions may be the cause.
Try to use ZCMD only, i prefer it, it's faster and less complicated than sscanf.
Quote:

CMD:command(playerid, params[])
{
//
}

looks easy right ?
Reply
#3

Quote:
Originally Posted by YouHack
Посмотреть сообщение
Using two command functions may be the cause.
Try to use ZCMD only, i prefer it, it's faster and less complicated than sscanf.

looks easy right ?
PHP код:
 return 1
Reply
#4

Sir sscanf and zcmd are 2 different things, sir.

Anyway, i fixed it myself with some effort.
Reply
#5

I'd appreciate your solution on behalf of the forum, to prefent people on posting the same topics each and every time.
Reply
#6

Quote:
Originally Posted by RyderX
Посмотреть сообщение
PHP код:
 return 1
A callback is obligated :P
Quote:
Originally Posted by iLearner
Посмотреть сообщение
Sir sscanf and zcmd are 2 different things, sir.

Anyway, i fixed it myself with some effort.
I know but using 2 command functions might be complicated enough to ruin your script xD, that what i told you about :/
Anyway good luck with your script.
Reply
#7

Quote:
Originally Posted by YouHack
Посмотреть сообщение
A callback is obligated :P

I know but using 2 command functions might be complicated enough to ruin your script xD, that what i told you about :/
Anyway good luck with your script.
sscanf itself has nothing to do with the commands.
Reply
#8

Quote:
Originally Posted by YouHack
Посмотреть сообщение
I know but using 2 command functions might be complicated enough to ruin your script xD, that what i told you about :/
well
....

Reply
#9

Quote:
Originally Posted by Yaa
Посмотреть сообщение
well
....

Dude? stop post haunting bumping thread after 5 Hours,and wrote WELL ... :PICARD: And by the way stop this
Код:
:picard:
it's annoying be friendly dude ur looking dumb
Reply
#10

Quote:
Originally Posted by RyderX
Посмотреть сообщение
Dude? stop post haunting bumping thread after 5 Hours,and wrote WELL ... :PICARD: And by the way stop this
Код:
:picard:
it's annoying be friendly dude ur looking dumb
i like it lol
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)