17.12.2010, 16:55
Hello,
I just added an include (Desktop.inc, from the german SA:MP Forum) in my script and after it, I get an error.
This error:
Line 9243-9244 in my gamemode:
Before I added this include, I had no errors or warnings.
The lines, which maybe cause the error:
Desktop.inc:
Junkbuster.inc (I had this include since a long time in my script):
Can anyone help me?
I just added an include (Desktop.inc, from the german SA:MP Forum) in my script and after it, I get an error.
This error:
Код:
C:\Users\Privat\Desktop\Reallife.pwn(9244) : error 021: symbol already defined: "JB_OnGameModeInit" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
public OnGameModeInit() {
The lines, which maybe cause the error:
Desktop.inc:
Код:
forward Desk_SecondTimer(); forward Desk_OnPlayerUpdate(playerid); forward Desk_OnGameModeInit(); #define Desk_OnPlayerUpdate OnPlayerUpdate #define Desk_OnGameModeInit OnGameModeInit
Код:
forward JB_OnGameModeInit(); //OnGameModeInit #if defined _ALS_OnGameModeInit #undef OnGameModeInit #else #define _ALS_OnGameModeInit #endif #define OnGameModeInit JB_OnGameModeInit