Thread
:
tfcx bug
View Single Post
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
04-30-2014 , 16:55 Re: tfcx bug
#
8
Tested tfc_getweaponammo and it works fine, but it's expected, it just sets some offset. All you need to provide is a weapon index. That's not something you will get from inflictor in TakeDamage, generally such index is the weapon projectile.
Also, get_user_weapon doesn't return the weapon index, but the identifier TFC_WPN_* .
__________________
Last edited by Arkshine; 04-30-2014 at
16:57
.
Arkshine
View Public Profile
Send a private message to Arkshine
Find More Posts by Arkshine