Merge pull request #114 from VoiDeD/tf2-removewearable

Implement TF2_RemoveWearable native (r=psychonic).
This commit is contained in:
Nicholas Hastings
2014-07-30 18:43:34 -04:00
3 changed files with 68 additions and 0 deletions
+11
View File
@@ -359,6 +359,17 @@ native bool:TF2_IsHolidayActive(TFHoliday:holiday);
*/
native bool:TF2_IsPlayerInDuel(client);
/**
* Removes an econ wearable (hat, misc, etc) from a player.
* This also deletes the wearable entity.
*
* @param client Client index.
* @param wearable Index of the wearable entity.
* @noreturn
* @error Invalid client index, client not in game, invalid wearable entity, or no mod support.
*/
native TF2_RemoveWearable(client, wearable);
/**
* Called after a condition is added to a player
*