22.08.2012, 21:32
Код:
C:\Users\Shehab\Benedenloadens\Stil Kansspel Rollenspel(7547) : error 001: expected token: "-string end-", but found "-identifier-" C:\Users\Shehab\Benedenloadens\Stil Kansspel Rollenspel(7547): error 017: undefined symbol "TEXT_LIGHTBLUE" C:\Users\Shehab\Benedenloadens\Stil Kansspel Rollenspel(7547) : warning 215: expression has no effect C:\Users\Shehab\Benedenloadens\Stil Kansspel Rollenspel(7547) : error 001: expected token: ";", but found "-identifier-" C:\Users\Shehab\Benedenloadens\Stil Kansspel Rollenspel(7547) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
pawn Код:
"TEXT_RED"Remove FX Effect", "Set", "Back" );
pawn Код:
if(dialogid == Radios )
{
if( listitem == R_DATA[ listitem ][ RadioID ] )
{
if ( !response )
{
if ( GetPVarInt( playerid, "RadioC" ) == -1 )
return cmd_radio1984( playerid, ""),SendError( playerid, "No radio playing!");
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,"You stopped: ~r~~h~%s~w~.~n~~n~Any other sounds, music, etc... that were playing have been turned 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, "You started playing: ~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, "No radio playing!");
ShowDialog( playerid, RadioVolume, DIALOG_STYLE_INPUT, "{FFFFFF}Radio Volume", "{FFFFFF}Set your radio's volume\n"TEXT_YELLOW"Volume 1 - 100", "Set", "Back" );
}
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 );
}