SA-MP Forums Archive
A problem at compiling gamemode - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: A problem at compiling gamemode (/showthread.php?tid=561551)



A problem at compiling gamemode - amir222 - 03.02.2015

hello Guys , when i wanna compile my game mode I will recive This Errors , Any one can helpme ? i will be glad if any one of you helpme ...

C:\Users\amir222\Desktop\Ahang\hsrp\HSRP\pawno\WGR P(Amir).pwn(89340) : error 021: symbol already defined: "fclose"
C:\Users\amir222\Desktop\Ahang\hsrp\HSRP\pawno\WGR P(Amir).pwn(89342) : error 021: symbol already defined: "mysql_log"
C:\Users\amir222\Desktop\Ahang\hsrp\HSRP\pawno\WGR P(Amir).pwn(89345) : error 021: symbol already defined: "printf"
C:\Users\amir222\Desktop\Ahang\hsrp\HSRP\pawno\WGR P(Amir).pwn(89346) : error 010: invalid function or declaration
C:\Users\amir222\Desktop\Ahang\hsrp\HSRP\pawno\WGR P(Amir).pwn(89353) : error 010: invalid function or declaration
C:\Users\amir222\Desktop\Ahang\hsrp\HSRP\pawno\WGR P(Amir).pwn(89355) : error 010: invalid function or declaration
C:\Users\amir222\Desktop\Ahang\hsrp\HSRP\pawno\WGR P(Amir).pwn(89359) : error 021: symbol already defined: "printf"
C:\Users\amir222\Desktop\Ahang\hsrp\HSRP\pawno\WGR P(Amir).pwn(89360) : error 010: invalid function or declaration
C:\Users\amir222\Desktop\Ahang\hsrp\HSRP\pawno\WGR P(Amir).pwn(89366) : error 054: unmatched closing brace ("}")
C:\Users\amir222\Desktop\Ahang\hsrp\HSRP\pawno\WGR P(Amir).pwn(89367) : error 010: invalid function or declaration
C:\Users\amir222\Desktop\Ahang\hsrp\HSRP\pawno\WGR P(Amir).pwn(89370) : error 021: symbol already defined: "InitiateGamemode"
C:\Users\amir222\Desktop\Ahang\hsrp\HSRP\pawno\WGR P(Amir).pwn(89372) : error 010: invalid function or declaration



Re: A problem at compiling gamemode - Glossy42O - 03.02.2015

No one is going to guess your code.


Re: A problem at compiling gamemode - CalvinC - 03.02.2015

Quote:

Errors 021: symbol already defined: "X"

You have defined something twice, delete the second.

Quote:

Error 010: invalid function or declaration

You're probably using an "if" or "else" wrong, you'll have to show the code for us to help with that.

Quote:

Error 054: unmatched closing brace ("}")

You have too many closing brackets.
Example:
pawn Код:
main()
{
    // Codes
}
} // Too many