/setvolume for radio help
#1

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;
	}
Reply
#2

The Audio Plugin.
Reply
#3

A way to set a volume on Incognito's audio plugin;
pawn Код:
Audio_SetVolume(playerid, handleid, volume);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)