-
Notifications
You must be signed in to change notification settings - Fork 14
lobbymenu:AddPlayer
Cristian edited this page Jan 2, 2022
·
3 revisions
Adds a player row to the playerlist column.
Usage: TriggerEvent('lobbymenu:AddPlayer',_id, _name, _crew, _status, _icon, _rank, _isOnline, _rowColor, _statusColor, _buttonEvent, _buttonParams, _showColorOnLeftBar)
-
_id:: Existing menu ID that you want to add the player to. -
_name:: Player name. String. -
_crew:: Player's crew tag. String. (broken atm) -
_status:: Player's status text. String. -
_icon:: Icon ID. Integer. 65 = player rank. -
_rank:: Player's rank / level. _icon needs to be 65 in order to show. -
_isOnline:: Toggle player network status. Online will show normal, Offline will show the player grayed out. Bool. -
_rowColor:: Player row color ID. Integer. -
_statusColor:: Player status background color ID. Integer. -
_buttonEvent:: client-side event that gets triggers whenever you select this player. -
_buttonParams:: unique param given to the _buttonEvent. -
_showColorOnLeftBar:: If 'true', the small bar on the left side of the row will show in the color of the row, on false it will show white.
- Please check the home wiki page for color IDs.
- Available Icons:
- NONE = 0,
- VOICE_ACTIVE = 47,
- VOICE_IDLE = 48,
- VOICE_MUTED = 49,
- GTA_V_LOGO = 54,
- GLOBE = 63,
- KICK_BOOT = 64,
- FREEMODE_RANK = 65,
- SPECTATOR_EYE = 66,
- GAME_PAD = 119,
- MOUSE = 120