lekpri 0 Odesláno: 6. Září, 2013 Share Odesláno: 6. Září, 2013 Poradí někdo kde je chyba? Děkuji C:\Users\Pavel\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(7537) : error 001: expected token: "-string end-", but found "-identifier-" C:\Users\Pavel\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(7537) : error 017: undefined symbol "TEXT_LIGHTBLUE" C:\Users\Pavel\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(7537) : warning 215: expression has no effect C:\Users\Pavel\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(7537) : error 001: expected token: ";", but found "-identifier-" C:\Users\Pavel\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(7537) : fatal error 107: too many error messages on one line //------------------------------------------------------------------- "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", "Nastav", "Zpet" ); //:.............................. Link to comment Share on other sites More sharing options...
0 Pepa 2 Odesláno: 6. Září, 2013 Share Odesláno: 6. Září, 2013 Ukaz radek 7537 (kde ti to hazi ty erory) Link to comment Share on other sites More sharing options...
0 Amenadiel 286 Odesláno: 6. Září, 2013 Share Odesláno: 6. Září, 2013 404 error brain not found? Link to comment Share on other sites More sharing options...
0 lekpri 0 Odesláno: 6. Září, 2013 Author Share Odesláno: 6. Září, 2013 7529 "TEXT_LIGHTBLUE"Compression\n\ 7530 "TEXT_LIGHTBLUE"Distortion\n\ 7531 "TEXT_LIGHTBLUE"Echo\n\ 7532 "TEXT_LIGHTBLUE"Flanger\n\ 7533 "TEXT_LIGHTBLUE"Gargle\n\ 7534 "TEXT_LIGHTBLUE"I3DL2 Reverb\n\ 7535 "TEXT_LIGHTBLUE"Parametric Equalizer\n\ 7536 "TEXT_LIGHTBLUE"Reverb\n\ 7537 "TEXT_RED"Remove FX Effect", "Nastav", "Zpet" ); Link to comment Share on other sites More sharing options...
0 milous22 14 Odesláno: 6. Září, 2013 Share Odesláno: 6. Září, 2013 lekpri, daj sem celú túto funkciu + riadok nad a pod Link to comment Share on other sites More sharing options...
0 lekpri 0 Odesláno: 6. Září, 2013 Author Share Odesláno: 6. Září, 2013 if(dialogid == Radios ) { if( listitem == R_DATA[ listitem ][ RadioID ] ) { if ( !response ) { if ( GetPVarInt( playerid, "RadioC" ) == -1 ) return cmd_radio1984( playerid, ""),SendError( playerid, "žáné rádio nehraje!"); new Str[ 25 ]; SetPVarInt( playerid, "RadioC", -1 ); GetPVarString( playerid, "Radio", Str, 25 ); SetPVarInt( playerid, "RadioCount", listitem ); for ( new i = 0; i < RadioCount + 1; i++ ) Audio_Stop(playerid, i); new Str2[ 129 ]; format( Str2, sizeof Str2,"Zastavili jste: ~r~~h~%s~w~.~n~~n~Jakekoli jiné zvuky, hudbu, off!",Str ); Info(playerid, Str2, 5000); } else { for ( new i = 0; i < RadioCount + 1; i++ ){ Audio_Stop(playerid, i);} Audio_PlayStreamed( playerid, R_DATA[ listitem ][ RadioURL ] ); SetPVarString( playerid, "Radio", R_DATA[ listitem ][ RadioName ] ); SetPVarInt( playerid, "RadioC", R_DATA[ listitem ][ RadioID ] ); new Str[ 256 ]; format( Str, sizeof Str, "Začali jste hrát: ~r~~h~%s", R_DATA[ listitem ][ RadioName ] ); Info( playerid, Str, 5000 ); } } else if ( listitem == RadioCount + 1 ) { if ( GetPVarInt( playerid, "RadioC" ) == -1 ) return cmd_radio1984( playerid, ""),SendError( playerid, "Žádné radio nehraje!"); ShowDialog( playerid, RadioVolume, DIALOG_STYLE_INPUT, "{FFFFFF}Radio Hlasitost", "{FFFFFF}Nastavení vašeho rádia Volume\n"TEXT_YELLOW"Volume 1 - 100", "Nastavte", "Zpet" ); } else if ( listitem == RadioCount + 2 ) { if ( GetPVarInt( playerid, "RadioC" ) == -1 ) return cmd_radio1984( playerid, ""),SendError( playerid, "Žádné rádio nehraje!"); 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", "Nastav", "Zpet" ); } else if ( listitem == RadioCount + 3 ) { if ( GetPVarInt( playerid, "RadioC" ) == -1 ) return cmd_radio1984( playerid, ""),SendError( playerid, "Žadné rádio nehraje!"); ShowEAXOptions( playerid ); } else if ( listitem == RadioCount + 4 ) ShowRadioInfo( playerid ); } if ( dialogid == RadioEAX ) { if ( response ) { if ( listitem < 26 ) { new EAXName[ 20 ]; if ( listitem == 0) EAXName = "Generic"; if ( listitem == 1) EAXName = "Padded Cell"; if ( listitem == 2) EAXName = "Room"; if ( listitem == 3) EAXName = "Bathroom"; if ( listitem == 4) EAXName = "Living Room"; if ( listitem == 5) EAXName = "Stone Room"; if ( listitem == 6) EAXName = "Auditorium"; if ( listitem == 7) EAXName = "Concert Hall"; if ( listitem == 8) EAXName = "Cave"; if ( listitem == 9) EAXName = "Arena"; if ( listitem == 10) EAXName = "Hangar"; if ( listitem == 11) EAXName = "Carpeted Hallway"; if ( listitem == 12) EAXName = "Hallway"; if ( listitem == 13) EAXName = "Stone Corridor"; if ( listitem == 14) EAXName = "Alley"; if ( listitem == 15) EAXName = "Forest"; if ( listitem == 16) EAXName = "City"; if ( listitem == 17) EAXName = "Mountains"; if ( listitem == 18) EAXName = "Quarry"; if ( listitem == 19) EAXName = "Plain"; if ( listitem == 20) EAXName = "Parking Lot"; if ( listitem == 21) EAXName = "Sewer Pipe"; if ( listitem == 22) EAXName = "Underwater"; if ( listitem == 23) EAXName = "Drugged"; if ( listitem == 24) EAXName = "Dizzy"; if ( listitem == 25) EAXName = "Psychotic"; new Str[ 256 ]; format( Str, sizeof Str, "~r~~h~Audio EAX Effect~w~ nastaven na:~n~~w~%s", EAXName); Info( playerid, Str, 5000 ); cmd_radio1984 ( playerid, " "); //Audio_RemoveEAX( playerid); //Audio_SetEAX( playerid, listitem ); } else { Info( playerid, "~r~~h~Audio EAX Effect~w~ removed.", 5000 ), //Audio_RemoveEAX( playerid ), cmd_radio1984 ( playerid, " "); for ( new i = 0; i < RadioCount + 1; i++ ){ Audio_Stop(playerid, i);} Audio_PlayStreamed( playerid, R_DATA[ GetPVarInt( playerid, "RadioCount" ) ][ RadioURL ] ); } }cmd_radio1984( playerid, ""); } if ( dialogid == RadioFX ) { if ( response ) { if ( listitem < 9 ) { new FXName[ 22 ]; if ( listitem == 0) FXName = "Chorus"; if ( listitem == 1) FXName = "Compression"; if ( listitem == 2) FXName = "Distortion"; if ( listitem == 3) FXName = "Echo"; if ( listitem == 4) FXName = "Flanger"; if ( listitem == 5) FXName = "Gargle"; if ( listitem == 6) FXName = "I3DL2 Reverb"; if ( listitem == 7) FXName = "Parametric Equalizer"; if ( listitem == 8) FXName = "Reverb"; new Str[ 256 ]; format( Str, sizeof Str, "~r~~h~Audio FX Effect~w~ set to:~n~~w~%s", FXName); Info( playerid, Str, 5000 ); cmd_radio1984 ( playerid, " "); for ( new i = 0; i < RadioCount + 10; i++ ) Audio_RemoveFX( playerid, i, i ); for ( new i = 0; i < RadioCount + 10; i++ ) Audio_SetFX( playerid, i, listitem ); } else { Info( playerid, "~r~~h~Audio FX Effect~w~ removed.", 5000 ); cmd_radio1984 ( playerid, " "); for ( new i = 0; i < RadioCount + 10; i++ ) Audio_RemoveFX( playerid, i, i ); for ( new i = 0; i < RadioCount + 1; i++ ){ Audio_Stop(playerid, i);} Audio_PlayStreamed( playerid, R_DATA[ GetPVarInt( playerid, "RadioCount" ) ][ RadioURL ] ); } }else cmd_radio1984( playerid, ""); } Link to comment Share on other sites More sharing options...
0 milous22 14 Odesláno: 6. Září, 2013 Share Odesláno: 6. Září, 2013 pravdepodobne nemáš zadefinovanú farbu "TEXT_LIGHTBLUE" Link to comment Share on other sites More sharing options...
0 ATomas 291 Odesláno: 6. Září, 2013 Share Odesláno: 6. Září, 2013 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","Nastav","Zpet"); Link to comment Share on other sites More sharing options...
0 lekpri 0 Odesláno: 6. Září, 2013 Author Share Odesláno: 6. Září, 2013 C:\Users\Pavel\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(76) : warning 201: redefinition of constant/macro (symbol "COLOR_PINK") C:\Users\Pavel\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(78) : warning 201: redefinition of constant/macro (symbol "COLOR_BLUE") C:\Users\Pavel\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(80) : warning 201: redefinition of constant/macro (symbol "COLOR_ORANGE") C:\Users\Pavel\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(87) : warning 201: redefinition of constant/macro (symbol "COLOR_GREY") C:\Users\Pavel\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(88) : warning 201: redefinition of constant/macro (symbol "COLOR_GREEN") C:\Users\Pavel\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(102) : warning 201: redefinition of constant/macro (symbol "COLOR_PURPLE") C:\Users\Pavel\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(252) : warning 201: redefinition of constant/macro (symbol "COLOR_YELLOW") C:\Users\Pavel\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(7538) : error 001: expected token: "-string end-", but found "-identifier-" C:\Users\Pavel\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(7538) : error 017: undefined symbol "TEXT_LIGHTBLUE" C:\Users\Pavel\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(7538) : warning 215: expression has no effect C:\Users\Pavel\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(7538) : error 001: expected token: ";", but found "-identifier-" Link to comment Share on other sites More sharing options...
0 Globální moderátor Hip 191 Odesláno: 6. Září, 2013 Globální moderátor Share Odesláno: 6. Září, 2013 kámo tohle není word... 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", "Nastav", "Zpet" ); jestli to máš všechno odentrované tak to fakt nejde... jestli se to po čase nějak nezměnilo... všechno na jeden řádek a nebo používej strcat Link to comment Share on other sites More sharing options...
Dotaz
lekpri 0
Poradí někdo kde je chyba? Děkuji
C:\Users\Pavel\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(7537) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Pavel\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(7537) : error 017: undefined symbol "TEXT_LIGHTBLUE"
C:\Users\Pavel\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(7537) : warning 215: expression has no effect
C:\Users\Pavel\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(7537) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Pavel\Desktop\Newport City Roleplay\gamemodes\newportcityrp.pwn(7537) : fatal error 107: too many error messages on one line
//-------------------------------------------------------------------
"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", "Nastav", "Zpet" );
//:..............................
Link to comment
Share on other sites
9 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now