PED

SET_CAN_ATTACK_FRIENDLY

0xB3B1CB349FF9C75D Jenkins: 0x47C60963

Signature

// PED
void SET_CAN_ATTACK_FRIENDLY(Ped ped, BOOL toggle, BOOL p2)

Parameters

Type Name
Ped ped
BOOL toggle
BOOL p2

Return type void

Build 323

Documentation

Setting ped to true allows the ped to shoot "friendlies". p2 set to true when toggle is also true seams to make peds permanently unable to aim at, even if you set p2 back to false. p1 = false & p2 = false for unable to aim at. p1 = true & p2 = false for able to aim at.

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.