fakuivan / TF2-Taunts-TF2IDB

An extensible and auto-updatable TF2 taunt menu/command plugin for sourcemod
https://forums.alliedmods.net/showthread.php?t=293722
10 stars 7 forks source link

Native functions for use in own plugins #46

Closed flleeppyy closed 1 year ago

flleeppyy commented 1 year ago

Are there any plans to be able to list and force taunts via an include file/natives so that we can use it in our own plugins? I'm making an RTD plugin and one of the perks is disco ball, which needs to force taunts on players, and this plugin is the only one I see fit.

fakuivan commented 1 year ago

There are no natives for communication between plugins iirc, however this file has all the implementation details for the forcing taunts bits, you might want to take a look and see how it's being used. https://github.com/fakuivan/TF2-Taunts-TF2IDB/blob/master/scripting/include/tf2_taunts_tf2idb/taunt_enforcer.inc