setAimingAnim sets the animation used when the PTT is pressed while the player is aiming a weapon. This will override the server-wide convar or default.
Animations can be found here
Server version must be R06.18.0 or higher for this feature.
[EventHandler("radioExternal:setAimingAnim")]
private async void OnSetAimingAnim(string animName, string animDict)
string animNamestring animDictNone
This is an example of the setAimingAnim event in a Lua script
TriggerEvent("radioExternal:setAimingAnim","mic_chatter","mp_facial")
This is an example of the setAimingAnim event in a C# script
API.TriggerEvent("radioExternal:setAimingAnim","mic_chatter","mp_facial");