RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. CLEAR_PED_TASKS_IMMEDIATELY

CLEAR_PED_TASKS_IMMEDIATELY

Immediately stops the pedestrian from whatever it's doing. The difference between this and [CLEAR_PED_TASKS](#\_0xE1EF3C1216AFF2CD) is that this one teleports the ped but does not change the position of the ped. **This is the server-side RPC native equivalent of the client native [CLEAR_PED_TASKS_IMMEDIATELY](?\_0xAAA34F8A7CB32098).**

CFX

Signature

lua
ClearPedTasksImmediately(PlayerPedId())
-- returns void

Parameters

NameTypeDescription
PedPed id.

Usage

lua
ClearPedTasksImmediately(PlayerPedId())

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