Skip to content

Element Datas

Bekir Aşkar edited this page May 8, 2023 · 9 revisions

Uses Of Other Data
Check out the Server Functions page.

Player Datas

Data Name Type Args Source
dbid number null Returns the player’s database id.
account.id number null Returns the player’s account database id.
playerid number null Returns the player’s id.
adminduty number null Returns the player’s admin duty.
gmduty number null Returns the player’s supporter duty.
message.target element null Returns the player who last messaged the player.
money number null Player’s money
hunger number null Returns the player’s hunger status. It works as a %.
thirst number null Returns the player’s thirst status. It works as a %.
injured number null Returns the injured state of the player. / 1 = injured 0 = uninjured

Vehicle Datas

Data Name Type Args Source
dbid number null Returns the vehicle’s database id.
fuel number null Returns the vehicle’s fuel.
tax number null Returns the vehicle’s total tax.
carshop_price number null Returns the vehicle’s default vehlib price.
carshop_tax number null Returns the vehicle’s default vehlib tax.
info table library_id, brand, model, year, notes Returns the vehicle’s information.
window number null Returns the window state of the vehicle. / 1 = open 0 = closed
Clone this wiki locally