- 0
[Problema] SetPVarInt/GetPVarInt
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
KenT
salut am niste probleme la un server nu stiu daca is stiti dar se numeste XTR-Zone (daca il aveti fara errori datimi PM ) asa sa va zic despre problema mea.In acest rand: KenT\Desktop\new1\gamemodes\xtr.pwn(5949) : error 017: undefined symbol "SetPVarInt"
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_radio( playerid, ""),SendError( playerid, "No radio playing!"); ShowDialog( playerid, RadioVolume, DIALOG_STYLE_INPUT, "{FFFFFF}Radio Volume", "{FFFFFF}Set your radio's volume\n"COL_YELLOW"Volume 1 - 100", "Set", "Back" ); } else if ( listitem == RadioCount + 2 ) { if ( GetPVarInt( playerid, "RadioC" ) == -1 ) return cmd_radio( playerid, ""),SendError( playerid, "No radio playing!");2.Alta erroare cu : xtr.pwn(5957) : error 017: undefined symbol "GetPVarInt. Uitativa randul:else if ( listitem == RadioCount + 1 ) { if ( GetPVarInt( playerid, "RadioC" ) == -1 ) return cmd_radio( playerid, ""),SendError( playerid, "No radio playing!"); ShowDialog( playerid, RadioVolume, DIALOG_STYLE_INPUT, "{FFFFFF}Radio Volume", "{FFFFFF}Set your radio's volume\n"COL_YELLOW"Volume 1 - 100", "Set", "Back" ); } else if ( listitem == RadioCount + 2 ) { if ( GetPVarInt( playerid, "RadioC" ) == -1 ) return cmd_radio( playerid, ""),SendError( playerid, "No radio playing!"); ShowDialog( playerid, RadioFX, DIALOG_STYLE_LIST, "{FFFFFF}Radio FX Effect", ""CLB"Chorus\n\ "CLB"Compression\n\ "CLB"Distortion\n\ "CLB"Echo\n\ "CLB"Flanger\n\ "CLB"Gargle\n\ "CLB"I3DL2 Reverb\n\ "CLB"Parametric Equalizer\n\ "CLB"Reverb\n\ "COL_RED"Remove FX Effect", "Set", "Back" ); } else if ( listitem == RadioCount + 3 ) { if ( GetPVarInt( playerid, "RadioC" ) == -1 ) return cmd_radio( playerid, ""),SendError( playerid, "No radio playing!"); ShowEAXOptions( playerid ); } else if ( listitem == RadioCount + 4 ) ShowRadioInfo( playerid );PS:Am pus cele mai noi include astea streamer....
8 answers to this question
Recommended Posts