/setvolume for radio help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: /setvolume for radio help (
/showthread.php?tid=211790)
/setvolume for radio help -
Mr. Despair - 16.01.2011
I'm trying to add a /setvolume so players can adjust their volume while they're listening to live radio stations. This is what I have so far, I want the volume to increase by 0,1,2,3,4,5, etc. Up to 100
Код:
if(strcmp(cmd, "/setvolume", true) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
{
ShowPlayerDialog(playerid,VOLUME, DIALOG_STYLE_INPUT, "Volume.", "Please input a Volume level below", "Set", "Cancel");
}
}
return 1;
}
Re: /setvolume for radio help -
Mr. Despair - 16.01.2011
The Audio Plugin.
Re: /setvolume for radio help -
Toreno - 16.01.2011
A way to set a volume on Incognito's audio plugin;
pawn Код:
Audio_SetVolume(playerid, handleid, volume);