SA-MP Forums Archive
SSCANF Problems! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SSCANF Problems! (/showthread.php?tid=404750)



SSCANF Problems! - BenBiddulph - 04.01.2013

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.


Re: SSCANF Problems! - Red_Dragon. - 04.01.2013

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



Re: SSCANF Problems! - BenBiddulph - 04.01.2013

Same errors :/


Re: SSCANF Problems! - BenBiddulph - 04.01.2013

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


Re: SSCANF Problems! - Infinity90 - 04.01.2013

show us line 92 and 95.


Re: SSCANF Problems! - BenBiddulph - 04.01.2013

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