4 ERORS ! - 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: 4 ERORS ! (
/showthread.php?tid=393703)
4 ERORS ! -
TommyX - 19.11.2012
C:\Users\acer\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(76) : warning 201: redefinition of constant/macro (symbol "COLOR_PINK")
C:\Users\acer\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(7
: warning 201: redefinition of constant/macro (symbol "COLOR_BLUE")
C:\Users\acer\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(80) : warning 201: redefinition of constant/macro (symbol "COLOR_ORANGE")
C:\Users\acer\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(87) : warning 201: redefinition of constant/macro (symbol "COLOR_GREY")
C:\Users\acer\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(8
: warning 201: redefinition of constant/macro (symbol "COLOR_GREEN")
C:\Users\acer\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(102) : warning 201: redefinition of constant/macro (symbol "COLOR_PURPLE")
C:\Users\acer\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(251) : warning 201: redefinition of constant/macro (symbol "COLOR_YELLOW")
C:\Users\acer\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(7537) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\acer\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(7537) : error 017: undefined symbol "TEXT_LIGHTBLUE"
C:\Users\acer\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(7537) : warning 215: expression has no effect
C:\Users\acer\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(7537) : error 001: expected token: ";", but found "-identifier-"
C:\Users\acer\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(7537) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
================================================== =====================
Help me please !!!
Re: 4 ERORS ! -
[HK]Ryder[AN] - 19.11.2012
care to show us the code of the line 7537 and the one around it..
please put the code in [ pawn][/pawn] tags and from now put ur errors in the [ code][/code] tags(without the spaces)
Re: 4 ERORS ! -
azzerking - 19.11.2012
When defining color use this
#define COLOR_PINK 0xFFC0CBAA // - Light light pink
Hope this helps
if not then please show code
Re: 4 ERORS ! -
TommyX - 19.11.2012
pawn Code:
else if ( listitem == RadioCount + 2 )
{
if ( GetPVarInt( playerid, "RadioC" ) == -1 )
return cmd_radio1984( playerid, ""),SendError( playerid, "No radio playing!");
ShowDialog( playerid, RadioFX, DIALOG_STYLE_LIST, "{FFFFFF}Radio FX Effect", ""TEXT_LIGHTBLUE"Chorus\n\
"TEXT_LIGHTBLUE"Compression\n\
"TEXT_LIGHTBLUE"Distortion\n\
"TEXT_LIGHTBLUE"Echo\n\
"TEXT_LIGHTBLUE"Flanger\n\
"TEXT_LIGHTBLUE"Gargle\n\
"TEXT_LIGHTBLUE"I3DL2 Reverb\n\
"TEXT_LIGHTBLUE"Parametric Equalizer\n\
"TEXT_LIGHTBLUE"Reverb\n\
"TEXT_RED"Remove FX Effect", "Set", "Back" );
}
else if ( listitem == RadioCount + 3 )
{
if ( GetPVarInt( playerid, "RadioC" ) == -1 )
return cmd_radio1984( playerid, ""),SendError( playerid, "No radio playing!");
ShowEAXOptions( playerid );
}
else if ( listitem == RadioCount + 4 ) ShowRadioInfo( playerid );
}
Re: 4 ERORS ! -
Konstantinos - 19.11.2012
They are already defined somewhere in your script. Remove them and keep the initial at the top of your script, under include(s).
Re: 4 ERORS ! -
TommyX - 19.11.2012
You have teamviewer ?
Please connect with me. ID : 609 012 072 | Pass : 2681
Re: 4 ERORS ! -
Konstantinos - 19.11.2012
Lol, I made it and I compiled it! Even though, my eyes from the little screen on teamviewer and its lag.
As I told you, you had double "COLOR_RED" and "color_red".