Hello, players can make modifications in the gta v meta files through citizen/commom/data/ai and obtain vantage with that, I know it can be blocked with pure mode but this is not an option, not for now. I would like to know how can I detect the their citizen values and compare them with what I want, in this example i’m trying to block “super punch” (citizen modification that makes the player kill and throw vehicles).
This is the .meta file that is in the ai folder:
<CWeaponComponentInfoBlob>
<Data>
<Item type="CWeaponComponentClipInfo">
<Name>COMPONENT_PISTOL_CLIP_01</Name>
<Model>w_pi_pistol_mag1</Model>
<LocName>WCT_CLIP1</LocName>
<LocDesc>WCD_P_CLIP1</LocDesc>
<AttachBone>AAPClip</AttachBone>
<AccuracyModifier type="NULL" />
<DamageModifier type="9999999999" />
<bShownOnWheel value="false" />
<CreateObject value="true" />
<HudDamage value="0" />
<HudSpeed value="0" />
<HudCapacity value="0" />
<HudAccuracy value="0" />
<HudRange value="0" />
<ClipSize value="12" />
<ReloadData ref="RELOAD_DEFAULT_WITH_EMPTIES" />
</Item>
</Infos>
<InfoBlobName>Core Game</InfoBlobName>
</CWeaponComponentInfoBlob>
Notice that DamageModifier type=“9999999999”
But when I print that in a client-side script it returns me 1.0, there is how I print it:
print(GetWeaponComponentDamageModifier("COMPONENT_PISTOL_CLIP_01"))
Shouldn’t it return 9999999999?