Interaction Ped Functions
Register core managed ped, remember, these are client-sided.
EnablePed
Enable an interaction ped, allowing the ped to spawn and spawning the current ped if close enough
Parameter
Required
Type
Description
pedKey
String
Unique reference for the ped
DisablePed
Disable an interaction ped, stopping the ped from spawning and removing the current ped if close enough
Parameter
Required
Type
Description
pedKey
String
Unique reference for the ped
CreateInteractionPed
Create a static ped managed via the core functions, you are only able to create fixed peds through this.
Parameter
Required
Type
Description
pedKey
String
Unique reference for the ped
pedOptions
Object
Options to spawn the ped with
GetCreatedPed
Get ped information based on key
Parameter
Required
Type
Description
pedKey
String
Unique reference for the ped
Last updated