SA-MP Forums Archive
Pawno Debug (help) - 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: Pawno Debug (help) (/showthread.php?tid=457009)



Pawno Debug (help) - xfx - 08.08.2013

I was following a tutorial on how to add roleplay chats but i get this error in the debug.


C:\Users\XFX\Desktop\Servers\samp\pawno\include\ss canf2.inc(30) : fatal error 111: user error: Please include <a_npc> or <a_samp> first.


Compilation aborted.Pawn compiler 3.2.3664


1 Error.


tutorial i was following:
https://sampforum.blast.hk/showthread.php?tid=336052

Link to what script looks like
http://pastebin.com/SR0nb63s


Re: Pawno Debug (help) - Scenario - 08.08.2013

pawn Код:
#include <a_samp>
needs to be at the top of your script.

That seems like it would be pretty friggen' obvious.


Re: Pawno Debug (help) - Nirzor - 08.08.2013

pawn Код:
#include <a_samp>
^^^ Use this at the top of your script and Sscanf name it correctly its not ss canf2.inc its sscanf2.inc there shouldn't

be any gaps between them , hope I could help you.


Re: Pawno Debug (help) - Scenario - 08.08.2013

Quote:
Originally Posted by Nirzor
Посмотреть сообщение
pawn Код:
#include <a_samp>
^^^ Use this at the top of your script and Sscanf name it correctly its not ss canf2.inc its sscanf2.inc there shouldn't

be any gaps between them , hope I could help you.
I answered his question an hour ago. Quit trying to raise your post count!


Re: Pawno Debug (help) - xfx - 08.08.2013

I get more errors :l

C:\Users\XFX\Desktop\Servers\samp\pawno\include\ss canf2.inc(305) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\XFX\Desktop\Servers\samp\pawno\include\ss canf2.inc(305) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\XFX\Desktop\Servers\samp\pawno\include\ss canf2.inc(365) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\XFX\Desktop\Servers\samp\pawno\include\ss canf2.inc(365) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (13) : error 055: start of function body without function header
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (17) : error 010: invalid function or declaration
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (20) : error 010: invalid function or declaration
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (22) : error 010: invalid function or declaration
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (26) : error 054: unmatched closing brace ("}")
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (27) : error 010: invalid function or declaration
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (29) : error 055: start of function body without function header
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (32) : error 021: symbol already defined: "format"
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (33) : error 010: invalid function or declaration
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (33 -- 34) : error 010: invalid function or declaration
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (39) : error 021: symbol already defined: "string"
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (40) : error 021: symbol already defined: "action"
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (41) : error 010: invalid function or declaration
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (44) : error 010: invalid function or declaration
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (46) : error 010: invalid function or declaration
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (49) : error 021: symbol already defined: "ProxDetector"
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (51) : error 010: invalid function or declaration
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (53) : error 055: start of function body without function header
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (55) : error 021: symbol already defined: "message"
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (57) : error 021: symbol already defined: "ProxDetector"
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (57) : error 010: invalid function or declaration
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (57 -- 5 : error 010: invalid function or declaration
C:\Users\XFX\Desktop\Servers\samp\gamemodes\rp.pwn (57 -- 5 : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664


23 Errors.


Re: Pawno Debug (help) - Elysian` - 08.08.2013

"symbol already defined: "ProxDetector"" This has probably got to be the most easiest thing to fix in SA:MP. Coming right after "Please include <a_npc> or <a_samp> first."
Though I doubt you'd be capable of fixing "symbol already defined"