06.06.2013, 21:21
I tried to make a code wich you can write in a custom URL for a internet radio station. It seems like I cant use strings nor integers to get it working, all I get is an error in Pawno.
Heres my test code.
Heres my test code.
pawn Код:
CMD:radio(playerid, params[])
{
new station;
if(sscanf(params,"s",station)) return SendClientMessage(playerid,0xFF0000,"Hmm...");
else
{
PlayAudioStreamForPlayer(playerid,station);
}
return 1;
}