Skip to main content

RAGE.Elements.Ped.SetCanAttackFriendly

Client-side function

C#​

Required Params​

  • toggle: bool
  • p2: bool

Return value​

  • void

Syntax​

ped.SetCanAttackFriendly(toggle, p2)

Example​

//todo