2021-01-03, 03:55 PM
I'm having these Errors if I try to compile my gamemode:
../Modules/Server/tpgun.pwn(108) : warning 202: number of arguments does not match definition
../Modules/Server/tpgun.pwn(108) : warning 202: number of arguments does not match definition
../Modules/Server/tpgun.pwn(108) : warning 202: number of arguments does not match definition
../Modules/Server/tpgun.pwn(108) : warning 202: number of arguments does not match definition
../Modules/Server/tpgun.pwn(108) : warning 202: number of arguments does not match definition
../Modules/Server/tpgun.pwn(114) : error 017: undefined symbol "CA_CreateDynamicObjectEx_SC"
../Modules/Server/tpgun.pwn(108) : warning 202: number of arguments does not match definition
../Modules/Server/tpgun.pwn(108) : warning 202: number of arguments does not match definition
../Modules/Server/tpgun.pwn(108) : warning 202: number of arguments does not match definition
../Modules/Server/tpgun.pwn(108) : warning 202: number of arguments does not match definition
../Modules/Server/tpgun.pwn(108) : warning 202: number of arguments does not match definition
../Modules/Server/tpgun.pwn(114) : error 017: undefined symbol "CA_CreateDynamicObjectEx_SC"
Code:
public OnGameModeInit()
{
? // Objects need to be removed BEFORE calling CA_Init
CA_RemoveBuilding(); //Line 108
? // Load the SA map
CA_Init();
// Create objects and add them to the simulation
CA_CreateDynamicObjectEx_SC();
#if defined tpgun_OnGameModeInit
? ? return tpgun_OnGameModeInit();
? ? #else
? ? return 1;
? ? #endif
}