09.07.2016, 13:03
Hello,
For readability in a fair big gamemode I've decided to split up all my functions etc, in different files as includes.
Now there's a function that it cannot find even though it is included.
Includes for the files.
Function it cannot find:
But what is weird is that it's just in the data\missions.inc:
So to make things a little more clear:
- data\missions is called before functions\commands.
- StartMission is forwarded as a function.
Any help would be greatly appreciated!
- Thanks for looking into it!
For readability in a fair big gamemode I've decided to split up all my functions etc, in different files as includes.
Now there's a function that it cannot find even though it is included.
Includes for the files.
pawn Код:
// Settings
#include <settings\variables>
#include <settings\config>
#include <settings\dialogs>
// Data
#include <data\common>
#include <data\datastructure>
#include <data\missions>
#include <data\dealerships>
// Functions
#include <functions\default>
#include <functions\loadall>
#include <functions\missions>
#include <functions\commands>
Код:
C:\Users\Kevin\Dropbox\pawn\pawno\include\functions\commands.inc(837) : error 017: undefined symbol "StartMission"
pawn Код:
forward StartMission(playerid, type);
public StartMission(playerid, type)
- data\missions is called before functions\commands.
- StartMission is forwarded as a function.
Any help would be greatly appreciated!
- Thanks for looking into it!