_SET_PLAYER_HAS_DISCOVERED_CHARACTER_NAME_SP
Marks the character name discoveryHash as discovered by player in single-player.
Signature
void _SET_PLAYER_HAS_DISCOVERED_CHARACTER_NAME_SP(Player player, int p1, Hash discoveryHash); // 0x946D46CD6DFB9742 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | p1 | int |
| 3 | discoveryHash | Hash |
Facts
| Name | _SET_PLAYER_HAS_DISCOVERED_CHARACTER_NAME_SP |
|---|---|
| Hash | 0x946D46CD6DFB9742 |
| 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(0x946D46CD6DFB9742, -- _SET_PLAYER_HAS_DISCOVERED_CHARACTER_NAME_SP
PlayerId(), -- Player player
0, -- int p1
GetHashKey("name") -- Hash discoveryHash
)Citizen.invokeNative("0x946D46CD6DFB9742", // _SET_PLAYER_HAS_DISCOVERED_CHARACTER_NAME_SP
PlayerId(), // Player player
0, // int p1
GetHashKey("name") // Hash discoveryHash
);Function.Call((Hash)0x946D46CD6DFB9742, // _SET_PLAYER_HAS_DISCOVERED_CHARACTER_NAME_SP
API.PlayerId(), // Player player
0, // int p1
(uint)API.GetHashKey("name") // Hash discoveryHash
);Related PLAYER natives
- _SET_PLAYER_HAS_DISCOVERED_CHARACTER_NAME_MP
- _GET_HAS_PLAYER_DISCOVERED_CHARACTER_NAME_SP
- _MODIFY_PLAYER_DISCOVERED_CHARACTER_NAME_MP_SET_UNDISCOVERED
- GET_HAS_PLAYER_DISCOVERED_CHARACTER_NAME_MP
- _SET_PLAYER_HAT_ACCESS
- _SET_PLAYER_HEALTH_RECHARGE_TIME_MODIFIER
- _SET_PLAYER_HUNTING_WAGON
- _SET_PLAYER_AIM_WEAPON
- _SET_PLAYER_CAN_MERCY_KILL
- _SET_PLAYER_CAN_PICKUP_ABILITY
- _SET_PLAYER_CAN_PICKUP_HAT
- _SET_PLAYER_COOPERATE_PROMPT_THIS_FRAME
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.