From 625650c160837ddba43e64b68e712f4ed964a90b Mon Sep 17 00:00:00 2001 From: Scags Date: Sat, 1 Feb 2020 02:53:59 -0600 Subject: [PATCH] Add default values to TeleportEntity --- plugins/include/sdktools_functions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/include/sdktools_functions.inc b/plugins/include/sdktools_functions.inc index a3250d17..7c11dc29 100644 --- a/plugins/include/sdktools_functions.inc +++ b/plugins/include/sdktools_functions.inc @@ -96,7 +96,7 @@ native void ExtinguishEntity(int entity); * @param velocity New velocity, or NULL_VECTOR for no change. * @error Invalid entity or client not in game, or lack of mod support. */ -native void TeleportEntity(int entity, const float origin[3], const float angles[3], const float velocity[3]); +native void TeleportEntity(int entity, const float origin[3] = NULL_VECTOR, const float angles[3] = NULL_VECTOR, const float velocity[3] = NULL_VECTOR); /** * Forces a player to commit suicide.