/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


Messages In This Thread
/setvolume for radio help - by Mr. Despair - 16.01.2011, 00:01
Re: /setvolume for radio help - by Mr. Despair - 16.01.2011, 02:57
Re: /setvolume for radio help - by Toreno - 16.01.2011, 04:33

Forum Jump:


Users browsing this thread: 1 Guest(s)