includes not identified properly
#1

Hello,


I got a gamemode from here (https://sampforum.blast.hk/showthread.php?tid=472401) that I am editing abit and trying to set up for a server. For some reason when I compile it doesn't seem to know the includes so it throws errors about the specific methods from the .inc files.
No idea why it is doing that.


Includes:
Код:
#include <a_samp>
//#include <irc>
#include <dini>
#include <core>
#include <float>
#include <dutils>
#include <sscanf2>
#include <beazone>
#include <progress>
#include <streamer>
#include <geolocation>
#include <a_mysql>
Picture set up:




Errors:
Quote:

C:\Users\Asaf_MSI\Downloads\Vertigo\pawno\include\ geolocation.inc(297) : error 017: undefined symbol "isnull"
C:\Users\Asaf_MSI\Downloads\Vertigo\pawno\include\ geolocation.inc(464) : error 017: undefined symbol "foreach"
C:\Users\Asaf_MSI\Downloads\Vertigo\pawno\include\ geolocation.inc(466) : error 017: undefined symbol "playerid"
C:\Users\Asaf_MSI\Downloads\Vertigo\pawno\include\ geolocation.inc(469) : error 017: undefined symbol "playerid"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(3473) : warning 213: tag mismatch
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(3475) : error 017: undefined symbol "SetProgressBarValue"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(3476) : error 017: undefined symbol "UpdateProgressBar"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(3473) : warning 204: symbol is assigned a value that is never used: "expB"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(3472) : warning 204: symbol is assigned a value that is never used: "puanim"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(3489) : error 017: undefined symbol "SetProgressBarValue"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(3490) : error 017: undefined symbol "UpdateProgressBar"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(3488) : warning 204: symbol is assigned a value that is never used: "puanim"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(3653) : error 017: undefined symbol "foreach"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(3654) : error 017: undefined symbol "i"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(3655) : error 017: undefined symbol "i"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(3656) : error 017: undefined symbol "i"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(3657) : error 017: undefined symbol "i"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(3658) : error 017: undefined symbol "i"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(3706) : error 017: undefined symbol "mysql_debug"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(3708) : error 017: undefined symbol "mysql_ping"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(3710) : error 017: undefined symbol "mysql_debug"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(3716) : error 017: undefined symbol "mysql_ping"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(3716) : error 017: undefined symbol "mysql_reconnect"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(9632) : error 017: undefined symbol "CreateProgressBar"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(9632) : warning 213: tag mismatch
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(9908) : error 017: undefined symbol "mysql_real_escape_string"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(9910) : error 035: argument type mismatch (argument 1)
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(9911) : error 017: undefined symbol "mysql_store_result"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(9912) : error 017: undefined symbol "mysql_num_rows"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(9921) : error 017: undefined symbol "mysql_free_result"
C:\Users\Asaf_MSI\Downloads\Vertigo\gamemodes\GW_E dited.pwn(10153) : error 017: undefined symbol "reasonMsg"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.

Reply
#2

What are the errors? Cannot read from file?

Make sure your includes are located in the same core folder as your actual pawno program or configuration file. From your picture, it shows that your pawno includes are located in your Downloads folder, is this where your pawno executable is located??
Reply
#3

Quote:
Originally Posted by Threshold
Посмотреть сообщение
What are the errors? Cannot read from file?

Make sure your includes are located in the same core folder as your actual pawno program or configuration file. From your picture, it shows that your pawno includes are located in your Downloads folder, is this where your pawno executable is located??
Added a error list, the whole thing is located in the downloads folder with everything,plugins, includes, downloaded everything from zero and put it together.
Reply
#4

Update all file Pawno to newest version, all!
Reply
#5

Lol, do not you see that missing zcmd.inc, foreach.inc and progress.inc
Reply
#6

Quote:
Originally Posted by HoangNam
Посмотреть сообщение
Update all file Pawno to newest version, all!
It's the most updated version, I just set up the rig today.

Quote:
Originally Posted by AbyssMorgan
Посмотреть сообщение
Lol, do not you see that missing zcmd.inc, foreach.inc and progress.inc
The code itself does not include those includes except the progress.inc which is included as seen in the photo.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)