13.12.2011, 23:26
Well that's why... how do you expect it to return a result if you haven't given it a value?
GetWeaponName needs a Weapon ID (i.e 24 for Desert Eagle) for it to return the name of that weapon ID.
If this was in OnPlayerDeath, replace "weap" with "reason"
GetWeaponName needs a Weapon ID (i.e 24 for Desert Eagle) for it to return the name of that weapon ID.
If this was in OnPlayerDeath, replace "weap" with "reason"