Ejemplo n.º 1
0
 public static string WeaponName(int entB)
 {
     if (entB != 0)
     {
         int ActiveWeapon = CylMem.ReadInt(entB + m_hActiveWeapon) & 0xFFF;
         ActiveWeapon = CylMem.ReadInt(Modules.ClientDLLAdress + dwEntityList + (ActiveWeapon - 1) * 0x10);
         short ActiveWeaponID = CylMem.ReadShort(ActiveWeapon + m_iItemDefinitionIndex);
         return(Managers.Parsers.ParseItemName(ActiveWeaponID));
     }
     else
     {
         return(Managers.Parsers.ParseItemName(0));
     }
 }