SetPedCombatRange — FiveM Natives
0x3C606747B23E497B · PED · all
Define the scope within which the ped will engage in combat with the target. ``cpp enum eCombatRange { CR_NEAR = 0, // keeps within 5-15m CR_MEDIUM = 1, // keeps within 7-30m CR_FAR = 2, // keeps within 15-40m CR_VERY_FAR = 3 // keeps within 22-45m }; ``
Parameters
| Name | Type | Description |
|---|---|---|
| ped | Ped | Ped index |
| range | int | See `eCombatRange` enum. |
Returns
void