07.11.2014, 21:41
Hello there got a small problem with my bud.inc file witch is the same as blaze.inc
Altought ive gone trought the whole system without any luck i'm wondering if i can have any luck here with getting this sorted. This is the #defines and the #includes plus all the error and places where the error is accuring, ive marked the place with red where the error is located, cheers for all assistance and help suggestions!
Error code "Compiling attempt"
Define + Include
Bud inc file problem
Thanks for all attempts to help me, MAKE NOTICE! The #define could not be moved underneath the #include, its already been tryed.
Altought ive gone trought the whole system without any luck i'm wondering if i can have any luck here with getting this sorted. This is the #defines and the #includes plus all the error and places where the error is accuring, ive marked the place with red where the error is located, cheers for all assistance and help suggestions!
Error code "Compiling attempt"
Код:
C:\Users\Nick\Desktop\zombie\pawno\include\bud.inc(305) : error 029: invalid expression, assumed zero C:\Users\Nick\Desktop\zombie\pawno\include\bud.inc(305) : error 001: expected token: ")", but found ";" C:\Users\Nick\Desktop\zombie\pawno\include\bud.inc(305 -- 307) : warning 215: expression has no effect C:\Users\Nick\Desktop\zombie\pawno\include\bud.inc(307) : error 001: expected token: ";", but found "-identifier-" C:\Users\Nick\Desktop\zombie\pawno\include\bud.inc(307) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Код:
#define BUD_USE_WHIRLPOOL true #define BUD_MAX_COLUMNS 60 #define BUD_MULTIGET_MAX_ENTRIES 60 #define BUD_MULTISET_MAX_ENTRIES 60 #define BUD_CheckForUpdates #define SSCANF_OnGameModeInit #define SSCANF_OnFilterScriptInit #include <a_samp> #include <sscanf2> #include <streamer> #include <bud> #include <zcmd> #include <FCNPC> #include <YSI\y_timers> #include <progress2> #define Name "" #define Gamemode " 0.5.7"
Код:
BUD::ReloadTableInfo( ); BUD::IntegrityCheck( ); if ( g_bCheckForUpdates ) BUD::CheckForUpdates( ); g_bIsInitialized = true; printf( "BUD v" #BUD::VERSION_MAJOR "." #BUD::VERSION_MINOR "." #BUD::VERSION_BUILD " BETA loaded." ); return true; }