Skip to content
Permalink
Browse files

Prevent people from getting spam (#456)

  • Loading branch information
Mrkl21full authored and Bara committed Jan 4, 2020
1 parent df6a022 commit 0e597dbbaba4cfe9035965f6d3de25c5bbd6368b
Showing with 6 additions and 1 deletion.
  1. +6 −1 addons/sourcemod/scripting/ttt/core/natives.sp
@@ -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);
}
}

0 comments on commit 0e597db

Please sign in to comment.
You can’t perform that action at this time.