25.10.2014, 12:35
Hello, I have a issue with this code:
It crashes my gamemode and leaves this error in the server panel: Run time error 17: "Invalid/unsupported P-code file format"
Whats wrong with it?
Код:
if(IsAtRadioTower(playerid)) { if(GetPVarInt(playerid, "AtRadioTower") != 0) { SetPVarInt(playerid, "AtRadioTower", GetPVarInt(playerid, "AtRadioTower")+1); PlayAudioStreamForPlayer(playerid, "http://URLREMOVED/music/2.mp3"); } else if(!IsAtRadioTower(playerid)) { DeletePVar(playerid,"AtRadioTower"); StopAudioStreamForPlayer(playerid); } }
Whats wrong with it?