From 3788c61cb9b3cd6758b19254c2e0fd64365c6254 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 16 Mar 2008 22:54:06 +0000 Subject: [PATCH] removed deprecated natives from sdktools --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401941 --- extensions/sdktools/vnatives.cpp | 3 --- plugins/include/sdktools_functions.inc | 27 -------------------------- 2 files changed, 30 deletions(-) diff --git a/extensions/sdktools/vnatives.cpp b/extensions/sdktools/vnatives.cpp index 6416caea..d905fadd 100644 --- a/extensions/sdktools/vnatives.cpp +++ b/extensions/sdktools/vnatives.cpp @@ -873,15 +873,12 @@ static cell_t GetServerNetStats(IPluginContext *pContext, const cell_t *params) sp_nativeinfo_t g_Natives[] = { - {"ExtinguishPlayer", ExtinguishEntity}, {"ExtinguishEntity", ExtinguishEntity}, {"ForcePlayerSuicide", ForcePlayerSuicide}, {"GivePlayerItem", GiveNamedItem}, {"GetPlayerWeaponSlot", GetPlayerWeaponSlot}, - {"IgnitePlayer", IgniteEntity}, {"IgniteEntity", IgniteEntity}, {"RemovePlayerItem", RemovePlayerItem}, - {"TeleportPlayer", TeleportEntity}, {"TeleportEntity", TeleportEntity}, {"SetClientViewEntity", SetClientViewEntity}, {"SetLightStyle", SetLightStyle}, diff --git a/plugins/include/sdktools_functions.inc b/plugins/include/sdktools_functions.inc index e85f544a..1765878c 100644 --- a/plugins/include/sdktools_functions.inc +++ b/plugins/include/sdktools_functions.inc @@ -283,30 +283,3 @@ native bool:GetPlayerDecalFile(client, String:hex[], maxlength); * @noreturn */ native GetServerNetStats(&Float:in, &Float:out); - -/** - * @deprecated - */ -#pragma deprecated Use IgniteEntity() instead -stock IgnitePlayer(client, Float:time, bool:npc=false, Float:size=0.0, bool:level=false) -{ - return IgniteEntity(client, time, npc, size, level); -} - -/** - * @deprecated - */ -#pragma deprecated Use ExtinguishEntity() instead -stock ExtinguishClient(client) -{ - return ExtinguishEntity(client); -} - -/** - * @deprecated - */ -#pragma deprecated Use TeleportEntity() instead -stock TeleportPlayer(client, const Float:origin[3], const Float:angles[3], const Float:velocity[3]) -{ - return TeleportEntity(client, origin, angles, velocity); -}