RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. CLEAR_PED_TASKS

CLEAR_PED_TASKS

Clear a ped's tasks. Stop animations and other tasks created by scripts. **This is the server-side RPC native equivalent of the client native [CLEAR_PED_TASKS](?\_0xE1EF3C1216AFF2CD).**

CFX

Signature

lua
ClearPedTasks(PlayerPedId())
-- returns void

Parameters

NameTypeDescription
PedPed id. Use PlayerPedId() for your own character.

Usage

lua
ClearPedTasks(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