SSCANF Problems!
#1

I started scripting about two days ago and well admit, have struggled with various issues but had managed to figure them out eventually on my own but now, now I am truly stuck. I wanted to move up a gear and use SSCANF when boom!:

C:\Users\Biddulph Boys\Desktop\SCRIPTS\pawno\SSCANF.pwn(92) : error 017: undefined symbol "cmd"
C:\Users\Biddulph Boys\Desktop\SCRIPTS\pawno\SSCANF.pwn(95) : error 017: undefined symbol "params"
C:\Users\Biddulph Boys\Desktop\SCRIPTS\pawno\SSCANF.pwn(101) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

I understand the indentation part don't worry but I don't understand why it is not working! The code I placed in was taken from the SAMP Wiki so it must be correct. I have used #include <SCCANF> and downloaded the plugin aswell as creating the SSCANF.inc file, please help! +Rep too those who do.
Reply
#2

make it
pawn Код:
#include <sscanf2>
instead of
pawn Код:
#include <sscanf>
Reply
#3

Same errors :/
Reply
#4

Can anyone help, this thread seems to have gone back a few pages and is becoming forgotten?
Reply
#5

show us line 92 and 95.
Reply
#6

Line 92 : if (!strcmp(cmd, "/kick"))
Line 95 : new params;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)