RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. TASK_COMBAT_PED

TASK_COMBAT_PED

``` Makes the specified ped attack the target ped. p2 should be 0 p3 should be 16 ``` **This is the server-side RPC native equivalent of the client native [TASK_COMBAT_PED](?\_0xF166E48407BAC484).**

CFX

Signature

lua
TaskCombatPed(PlayerPedId(), targetPed, 0, 0)
-- returns void

Parameters

NameTypeDescription
Ped—
Ped—
int—
int—

Usage

lua
TaskCombatPed(PlayerPedId(), targetPed, 0, 0)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details