Compare commits
2 Commits
09aa1218ac
...
8c72b1cae1
Author | SHA1 | Date | |
---|---|---|---|
|
8c72b1cae1 | ||
|
c9637a753f |
@ -373,6 +373,8 @@ public Action Command_Rainbow(int client, int args)
|
|||||||
Frequency = StringToFloat(sArg);
|
Frequency = StringToFloat(sArg);
|
||||||
if(Frequency > 10.0)
|
if(Frequency > 10.0)
|
||||||
Frequency = 10.0;
|
Frequency = 10.0;
|
||||||
|
else if(Frequency < 0.01)
|
||||||
|
Frequency = 0.01;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!Frequency || (args < 1 && g_aRainbowFrequency[client]))
|
if(!Frequency || (args < 1 && g_aRainbowFrequency[client]))
|
||||||
@ -401,7 +403,7 @@ void DisplayGlowColorMenu(int client)
|
|||||||
g_GlowColorsMenu.Display(client, MENU_TIME_FOREVER);
|
g_GlowColorsMenu.Display(client, MENU_TIME_FOREVER);
|
||||||
}
|
}
|
||||||
|
|
||||||
public int MenuHandler_GlowColorsMenu(Menu menu, MenuAction action, int param1, int param2)
|
public void MenuHandler_GlowColorsMenu(Menu menu, MenuAction action, int param1, int param2)
|
||||||
{
|
{
|
||||||
switch(action)
|
switch(action)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user