Pawno Debug (help)
#1

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
Reply
#2

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

That seems like it would be pretty friggen' obvious.
Reply
#3

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.
Reply
#4

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!
Reply
#5

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.
Reply
#6

"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"
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)