Compiler errors

This commit is contained in:
zaCade 2017-10-12 21:52:36 +02:00
parent 9532c0893f
commit f67b801d61
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;