14.08.2012, 13:28
I have allot of includes:
In advancedTrucks.inc the following functions exist, but when I compile, it says they are missing.
If I put the contents of advancedTrucks.inc into advancedVehicles.inc it compiles correctly.
Any help appreciated, Thanks.
Grim
pawn Код:
#include "../include/core/core.inc"
#include "../include/core/anticheat.inc"
#include "../include/interiors/include.inc"
#include "../include/interiors/ammunations.inc"
#include "../include/teams/core.inc"
#include "../include/teams/eparadio.inc"
#include "../include/database/connectSQL.inc"
#include "../include/database/accounts.inc"
#include "../include/database/bankaccounts.inc"
#include "../include/core/zones.inc"
#include "../include/core/skinitems.inc"
#include "../include/core/criminal.inc"
#include "../include/vehicles/core.inc"
#include "../include/vehicles/information.inc"
#include "../include/vehicles/advancedVehicles.inc"
#include "../include/vehicles/advancedTrucks.inc"
#include "../include/vehicles/ELM.inc"
#include "../include/vehicles/vehiclePreview.inc"
#include "../include/vehicles/loadDatabaseVehicles.inc"
#include "../include/mapping/core.inc"
#include "../include/other/worldCameras.inc"
#include "../include/other/cityCameras.inc"
#include "../include/other/worldTollBooths.inc"
#include "../include/other/controlDoors.inc"
#include "../include/teams/policeExtras.inc"
#include "../include/other/test.inc"
#include "../include/other/cell.inc"
#include "../include/other/editattach.inc"
#define POSITION_NONE 0
#define POSITION_DRIVER 1
#define POSITION_PASSENGER 2
#include "../include/minimissions/taxi.inc"
If I put the contents of advancedTrucks.inc into advancedVehicles.inc it compiles correctly.
pawn Код:
C:\...\gamemodes\grimrandomerRoleplay.pwn(118) : error 017: undefined symbol "advtr_init"
C:\...\gamemodes\grimrandomerRoleplay.pwn(194) : error 017: undefined symbol "advtr_PlayerConnect"
C:\...\gamemodes\grimrandomerRoleplay.pwn(295) : error 017: undefined symbol "advtr_PlayerDisconnect"
C:\...\gamemodes\grimrandomerRoleplay.pwn(534) : error 017: undefined symbol "advtr_PlayerCommandText"
C:\...\gamemodes\grimrandomerRoleplay.pwn(943) : error 017: undefined symbol "advtr_PlayerEnterDynamicRaceCP"
C:\...\gamemodes\grimrandomerRoleplay.pwn(1228) : error 017: undefined symbol "advtr_PlayerStateChange"
C:\...\gamemodes\grimrandomerRoleplay.pwn(1499) : error 017: undefined symbol "advtr_DialogResponse"
C:\...\gamemodes\grimrandomerRoleplay.pwn(1538) : error 017: undefined symbol "advtr_VehicleTrailerUpdate"
Grim