_SET_OBJECT_PROMPT_NAME
Sets the name shown on interaction prompts for the object.
Signature
void _SET_OBJECT_PROMPT_NAME(Object object, const char* name); // 0xAEE6C800E124CFE1 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | object | Object |
| 2 | name | const char* |
Facts
| Name | _SET_OBJECT_PROMPT_NAME |
|---|---|
| Hash | 0xAEE6C800E124CFE1 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xAEE6C800E124CFE1, -- _SET_OBJECT_PROMPT_NAME
0, -- Object object
"text" -- const char* name
)Citizen.invokeNative("0xAEE6C800E124CFE1", // _SET_OBJECT_PROMPT_NAME
0, // Object object
"text" // const char* name
);Function.Call((Hash)0xAEE6C800E124CFE1, // _SET_OBJECT_PROMPT_NAME
0, // Object object
"text" // const char* name
);Related OBJECT natives
- _SET_OBJECT_PROMPT_NAME_FROM_GXT_ENTRY
- _SET_OBJECT_BREAK_SCALE
- _SET_OBJECT_BURN_INTENSITY
- _SET_OBJECT_BURN_LEVEL
- _SET_OBJECT_BURN_OPACITY
- _SET_OBJECT_BURN_SPEED
- _SET_OBJECT_INTERACTION_PRESET
- _SET_OBJECT_KICKABLE
- _SET_OBJECT_LANTERN_LIGHT_DISABLED
- _SET_OBJECT_MARKABLE_IN_DEADEYE
- _SET_OBJECT_TARGETTABLE_2
- _SET_OBJECT_TARGETTABLE_FOCUS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.