Gamemode Error Help
#1

Can anyone help me? When i try to complie this GM, it said the script has an error or something like this.
Код:
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(7) : fatal error 100: cannot read from file: "StreetRodZ\Defines"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(8) : fatal error 100: cannot read from file: "nRace"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(9) : fatal error 100: cannot read from file: "VM"
^Fixed because i've deleted that Includes because i'm tired Now this is the one i cant fix
Код:
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(19924) : error 017: undefined symbol "COLOR_YELLOW"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(19926) : error 017: undefined symbol "COLOR_GREEN"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(19964) : error 017: undefined symbol "DIALOG_STATS"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(19970) : error 017: undefined symbol "DIALOG_RULESCMD"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(19975) : error 017: undefined symbol "COLOR_RED"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(19976) : error 017: undefined symbol "COLOR_RED"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(19977) : error 017: undefined symbol "DIALOG_PIMP"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20005) : error 017: undefined symbol "COLOR_RED"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20019) : error 017: undefined symbol "COLOR_RED"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20024) : error 017: undefined symbol "COLOR_RED"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20027) : error 017: undefined symbol "COLOR_RED"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20029) : error 017: undefined symbol "COLOR_YELLOW"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20031) : error 017: undefined symbol "COLOR_RED"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20048) : error 017: undefined symbol "COLOR_RED"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20059) : error 017: undefined symbol "DIALOG_FIGHTSTYLES"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20062) : error 017: undefined symbol "COLOR_RED"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20071) : error 017: undefined symbol "COLOR_RED"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20079) : error 017: undefined symbol "COLOR_RED"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20087) : error 017: undefined symbol "COLOR_YELLOW"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20094) : error 017: undefined symbol "PLAYERCOLOR_AQUA"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20097) : error 017: undefined symbol "COLOR_RED"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20103) : error 017: undefined symbol "COLOR_YELLOW"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20104) : error 017: undefined symbol "COLOR_RED"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20111) : error 017: undefined symbol "PLAYERCOLOR_AQUA"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20117) : error 017: undefined symbol "COLOR_YELLOW"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20126) : error 017: undefined symbol "PLAYERCOLOR_AQUA"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Can anyone help me to solve those errors? Anyway, thanks guys


Pastebin from line 19921-20130
http://pastebin.com/iCpukfzG Sorry i cant copy and paste entire GM because Pastebin wont let me....
Reply
#2

Define the colors.
Reply
#3

add nRace.inc and VM.inc includes from your srv files folder/pawno/include copy that includes and paste it where your orginal pawno is....

and define your colors like this at up of that script
Код:
#define COLOR_RED 0xCOLORCODE
Reply
#4

Hey thanks guys.... the color thing is solved,thanks to ScripterRNaBEEL.and the problem about the includes is not solved can anyone help me out with this?
Reply
#5

closed your pawno for 1 min then copy all includes files into your gta sa folder and to your gm too then complie
Reply
#6

Do you meam that copy and paste the include from "pawno/include" to the gta sa directory and also to the "gamemode' folder?
Reply
#7

only pawno folder
Reply
#8

The error is still appears when i tried to compile Do you have teamviewer?
Anyway, after defining the colors there is another define errors.
Код:
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(19971) : error 017: undefined symbol "DIALOG_STATS"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(19977) : error 017: undefined symbol "DIALOG_RULESCMD"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(19984) : error 017: undefined symbol "DIALOG_PIMP"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20066) : error 017: undefined symbol "DIALOG_FIGHTSTYLES"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20279) : error 017: undefined symbol "DIALOG_WORLDSCMD"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20285) : error 017: undefined symbol "DIALOG_RADIO"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20330) : error 017: undefined symbol "DIALOG_RACES"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20347) : error 017: undefined symbol "BANNEDMESSAGE"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20407) : error 017: undefined symbol "DIALOG_COLORS"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20422) : error 017: undefined symbol "BANNEDMESSAGE"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20453) : error 017: undefined symbol "DIALOG_CMDS"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20473) : error 017: undefined symbol "DIALOG_DRIFTTELES"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20477) : error 017: undefined symbol "DIALOG_STUNTTELES"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20481) : error 017: undefined symbol "DIALOG_SKILLTELES"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20485) : error 017: undefined symbol "DIALOG_DMTELES"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20495) : error 017: undefined symbol "DIALOG_DMWORLDSPAWN"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(22433) : error 017: undefined symbol "CLASSSELECTION_PLAYERPOS"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(22434) : error 017: undefined symbol "CLASSSELECTION_FANGLE"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(22435) : error 017: undefined symbol "CLASSSELECTION_CAMPOS"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(22436) : error 017: undefined symbol "CLASSSELECTION_CAMLOOKAT"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(22568) : error 017: undefined symbol "DIALOG_REGISTER"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(22573) : error 017: undefined symbol "DIALOG_LOGIN"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(22800) : error 017: undefined symbol "DIALOG_DMWORLDSPAWN"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(22812) : error 017: undefined symbol "DIALOG_DMWORLDSPAWN"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(22829) : error 017: undefined symbol "DIALOG_TDM_CLASSES"
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(22929) : error 017: undefined symbol "BANNEDMESSAGE"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
How can i define those? Thanks btw


P.S Finally! The include are solved Thanks! Now the problem is this
Код:
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(16) : warning 201: redefinition of constant/macro (symbol "COLOR_YELLOW")
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(17) : warning 201: redefinition of constant/macro (symbol "COLOR_RED")
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(18) : warning 201: redefinition of constant/macro (symbol "COLOR_BLUE")
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(19) : warning 201: redefinition of constant/macro (symbol "COLOR_LIGHTBLUE")
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(20) : warning 201: redefinition of constant/macro (symbol "COLOR_GREEN")
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(21) : warning 201: redefinition of constant/macro (symbol "PLAYERCOLOR_AQUA")
C:\Program Files (x86)\Rocks\GTA San Andreass\New folder\gamemodes\HighSpeedDrivers.pwn(22) : warning 201: redefinition of constant/macro (symbol "COLOR_WHITE")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


7 Warnings.
Color Defines
Код:
#define COLOR_YELLOW 0xF3FF00
#define COLOR_RED 0xFF0000
#define COLOR_BLUE 0x0C0075
#define COLOR_LIGHTBLUE 0x2187FA
#define COLOR_GREEN 0x15FF00
#define PLAYERCOLOR_AQUA 0x00FFEB
#define COLOR_WHITE 0xDADCDC
Reply
#9

OMG i've fixed all of that errors Thanks to ScripteRNaBEEL Thanks Man! i owe you so much! Thanks Very much! Problem Solved.
Reply


Forum Jump:


Users browsing this thread: