diff --git a/scripting/include/shavit.inc b/scripting/include/shavit.inc index e0da8839..32970164 100644 --- a/scripting/include/shavit.inc +++ b/scripting/include/shavit.inc @@ -449,7 +449,7 @@ native int Shavit_ZoneExists(MapZones type); * @param type Mapzone type. (Check "enum MapZones") * @return 1 if is in the mapzone, 0 if isn't. */ -native int Shavit_InsideZone(int client, MapZones type); +native bool Shavit_InsideZone(int client, MapZones type); /** * Pauses a player's timer. diff --git a/scripting/shavit-sounds.sp b/scripting/shavit-sounds.sp index 84f3cdd9..46ff4ad5 100644 --- a/scripting/shavit-sounds.sp +++ b/scripting/shavit-sounds.sp @@ -187,7 +187,7 @@ public void Shavit_OnFinish(int client, BhopStyle style, float time, int jumps) public void PlayEventSound(int client, bool everyone, const char[] sound) { int[] clients = new int[MaxClients]; - int count; + int count = 0; for(int i = 1; i <= MaxClients; i++) {