sscanf not working
#1

My sscanf is not working and I don't know why. I have the latest incs, plugins, whatever. I have included it in my script and it just does not work, when I'm ingame and I type for example: /buygun 23 100 it will only send me the syntax. It will say Syntax: /buygun [id] [ammo] even though I typed them in.
Reply
#2

No code no help
Reply
#3

Quote:
Originally Posted by [MM]RoXoR[FS]
Посмотреть сообщение
No code no help
The code is 2500 lines long.. It's not the code, it's the same for ALL the commands.
Reply
#4

There would be any error print in the console try to check it.
And show it to us.
Reply
#5

Well..
That's all and the console is clean even when I execute the commands.

pawn Код:
B:\San Andreas\NJ-RP\gamemodes\NJ-RP.pwn(153) : warning 201: redefinition of constant/macro (symbol "CMD:%1(%2)")
pawn Код:
#define CMD:%1(%2)          \
            forward cmd_%1(%2); \
            public cmd_%1(%2)
This has happened before btw, and I didn't have that warning then. I don't know if I ever fixed it.
Reply
#6

Quote:
Originally Posted by ******
Посмотреть сообщение
So you changed what "CMD" does and don't think that might have something to do with commands not working?
Oh, lol. Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)