Skip to content

Commit

Permalink
Prevent people from getting spam (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrkl21full authored and Bara committed Jan 4, 2020
1 parent df6a022 commit 0e597db
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion addons/sourcemod/scripting/ttt/core/natives.sp
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,12 @@ public int Native_RespawnPlayer(Handle plugin, int numParams)
while (TTT_IsClientStuck(client))
{
fOrigin[2] += 0.5;
PrintToChat(client, "Origin[2] = %.1f", fOrigin[2]);

if(g_cDebug.BoolValue)
{
PrintToChat(client, "Origin[2] = %.1f", fOrigin[2]);
}

TeleportEntity(client, fOrigin, NULL_VECTOR, NULL_VECTOR);
}
}
Expand Down

0 comments on commit 0e597db

Please sign in to comment.