Added EquipPlayerWeapon to SDKTools. Offsets for CS:S and TF2 added.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401975
This commit is contained in:
Matt Woodrow
2008-04-01 00:51:21 +00:00
parent b9bd1b1037
commit fbe46934a4
4 changed files with 80 additions and 0 deletions
+12
View File
@@ -283,3 +283,15 @@ native bool:GetPlayerDecalFile(client, String:hex[], maxlength);
* @noreturn
*/
native GetServerNetStats(&Float:in, &Float:out);
/**
* Equip's a player's weapon.
*
* @param client Client index.
* @param item CBaseCombatWeapon entity index.
* @noreturn
* @error Invalid client or entity, lack of mod support, or client not in
* game.
*/
native EquipPlayerWeapon(client, weapon);