diff --git a/GlowColors/scripting/GlowColors.sp b/GlowColors/scripting/GlowColors.sp index a401510..d30e112 100644 --- a/GlowColors/scripting/GlowColors.sp +++ b/GlowColors/scripting/GlowColors.sp @@ -371,8 +371,8 @@ public Action Command_Rainbow(int client, int args) char sArg[32]; GetCmdArg(1, sArg, sizeof(sArg)); Frequency = StringToFloat(sArg); - if(Frequency > 100.0) - Frequency = 100.0; + if(Frequency > 10.0) + Frequency = 10.0; } if(!Frequency || (args < 1 && g_aRainbowFrequency[client])) @@ -440,7 +440,7 @@ public void ZR_OnClientHumanPost(int client, bool respawn, bool protect) ApplyGlowColor(client); } -Action Timer_ApplyGlowcolor(Handle timer, int client) +public Action Timer_ApplyGlowcolor(Handle timer, int client) { ApplyGlowColor(client); return Plugin_Stop; diff --git a/PlayerVisibility/scripting/PlayerVisibility.sp b/PlayerVisibility/scripting/PlayerVisibility.sp index 1e3c0ed..519f233 100644 --- a/PlayerVisibility/scripting/PlayerVisibility.sp +++ b/PlayerVisibility/scripting/PlayerVisibility.sp @@ -220,7 +220,7 @@ public void Event_Spawn(Event event, const char[] name, bool dontBroadcast) CreateTimer(0.1, Timer_SpawnPost, client, TIMER_FLAG_NO_MAPCHANGE); } -Action Timer_SpawnPost(Handle timer, int client) +public Action Timer_SpawnPost(Handle timer, int client) { ToolsSetEntityAlpha(client, 255); g_Client_Alpha[client] = 255;