16.01.2011, 00:01
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;
}

