View Single Post
manicogaming
AlliedModders Donor
Join Date: Aug 2014
Old 11-19-2018 , 14:36   Re: [TF2] Item quality text not appearing
Reply With Quote #5

Quote:
Originally Posted by Whai View Post
Well, I don't think you can rename a weapon but when I take a look on datamaps I can see :

Code:
CTFWeaponBase - tf_weapon_base
- CTFWeaponBaseFallThink (Offset 0) (FunctionTable)(0 Bytes)
- m_flNextPrimaryAttack (Offset 1444) (Save)(4 Bytes)
- m_flNextSecondaryAttack (Offset 1448) (Save)(4 Bytes)
- m_flTimeWeaponIdle (Offset 1452) (Save)(4 Bytes)
- m_bInReload (Offset 1456) (Save)(1 Bytes)
- m_bFireOnEmpty (Offset 1457) (Save)(1 Bytes)
- m_hOwner (Offset 1424) (Save)(4 Bytes)
- m_iState (Offset 1496) (Save)(4 Bytes)
- m_iszName (Offset 1500) (Save)(4 Bytes)
- m_iPrimaryAmmoType (Offset 1504) (Save)(4 Bytes)
- m_iSecondaryAmmoType (Offset 1508) (Save)(4 Bytes)
- m_iClip1 (Offset 1512) (Save)(4 Bytes)
- m_iClip2 (Offset 1516) (Save)(4 Bytes)
...
So maybe you can rename the weapon
I tried it and when compiling it gave me an error:
error 035: argument type mismatch (argument 3)
manicogaming is offline