Include problem?
#1

Hi there I've got a problem with my GM and my include, I don't know what's wrong D:

GM part: (There is "#include <testinc>" on top of the script)

pawn Код:
forward OnGameMissionStart();
public OnGameMissionStart()
{ // Line 25 -> Then what to put in the include?
    // my code is here
}
Include part:

pawn Код:
OnGameMissionStart()
{
    // my code is here
}
Errors & warnings:

pawn Код:
C:\...mis01.pwn(25) : error 021: symbol already defined: "OnGameMissionStart"
How could I fix this?
Reply


Messages In This Thread
Include problem? - by Steeve_Smith - 22.02.2012, 14:36
Re: Include problem? - by TheArcher - 22.02.2012, 15:43
Re: Include problem? - by niels44 - 22.02.2012, 15:45
Re: Include problem? - by Toreno - 22.02.2012, 15:49
Re : Include problem? - by Steeve_Smith - 22.02.2012, 16:01
Re: Include problem? - by Toreno - 22.02.2012, 16:11
Re : Include problem? - by Steeve_Smith - 22.02.2012, 16:22
Re: Include problem? - by Toreno - 22.02.2012, 16:27
Re : Re: Include problem? - by Steeve_Smith - 22.02.2012, 16:30
Re: Include problem? - by Toreno - 22.02.2012, 17:03

Forum Jump:


Users browsing this thread: 4 Guest(s)