GET_PLAYER_TEAM
Returns the team of player.
Signature
int GET_PLAYER_TEAM(Player player); // 0xB464EB6A40C7975B b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
Facts
| Name | GET_PLAYER_TEAM |
|---|---|
| Hash | 0xB464EB6A40C7975B |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xB464EB6A40C7975B, -- GET_PLAYER_TEAM
PlayerId(), -- Player player
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0xB464EB6A40C7975B", // GET_PLAYER_TEAM
PlayerId(), // Player player
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0xB464EB6A40C7975B, // GET_PLAYER_TEAM
API.PlayerId() // Player player
);Related PLAYER natives
- GET_PLAYER_TARGET_ENTITY
- GET_PLAYER_CURRENT_STEALTH_NOISE
- GET_PLAYER_GROUP
- GET_PLAYER_INDEX
- GET_PLAYER_INTERACTION_TARGET_ENTITY
- GET_PLAYER_INVINCIBLE
- GET_PLAYER_NAME
- GET_PLAYER_PED
- GET_PLAYER_PED_SCRIPT_INDEX
- GET_PLAYER_RECEIVED_BATTLE_EVENT_RECENTLY
- GET_PLAYER_WANTED_LEVEL
- GET_ENTITY_PLAYER_IS_FREE_AIMING_AT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.