GET_PLAYER_TEAM
Gets the player's team. Returns -1 in singleplayer.
PLAYERBuild 1207
Signature
lua
GetPlayerTeam(PlayerId())
-- returns intParameters
| Name | Type | Description |
|---|---|---|
| Player | — |
Usage
lua
GetPlayerTeam(PlayerId())Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Joaat hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
