Server
Server sided functions
Last updated
Server sided functions
Last updated
Teleport: fun(self: HRLibServerFPlayer, coords: vector3)
SpawnVehicle:
fun(self: HRLibServerFPlayer, vehModel: string|integer, spawnPlayerInside: boolean?,
saveVehicle: boolean?): integer?
Notify:
fun(self: HRLibServerFPlayer, description: string?, type: 'success'|'info'|'error'|'warning'?, duration: number?, pos: 'top-right'|'center-right'|'bottom-right'|'frombelow-right'|'top-left'|'left-center'|'frombelow-left'?, sound: boolean?)
FocusedEvent: fun(self: HRLibServerFPlayer, eventName: string, ...: any)
source, id, Id, ID, playerId, player, serverId, plId, serverPlId, sPlId
getting Id
name
player name
identifier.license
player license identifier
identifier.license2
player license2 identifier
identifier.steam
player steamHex identifier
identifier.discord
player discordId identifier
identifier.xbl
player xbl identifier
identifier.live
player live identifier
identifier.ip
player ip identifier
identifier.fivem
player fivem identifier
identifiersNum
player count of all available pl identifier
ping
player ping
max.health
player max health
max.armour
player max armour
ped
player ped
tokens.t1
player token ( 0 )
tokens.t2
player token ( 1 )
tokens.t3
player token ( 2 )
tokens.t4
player token ( 3 )
tokens.allString
player all tokens in string format
tokens.num
player all available pl tokens count
camRotation
player camera rotation
endPoint
player player Endpoint
fakeWantedLvl
player fake wanted level
guid
player guid
invincible
player invincible
lastMsg
player last message
rountingBucket
player rounting bucket
team
player team
wanted.centrePos
player centre position while wanted
wanted.lvl
player wanted level
weapon.dmgModifier
player weapon damage modifier
weapon.defModifier
player weapon defense modifier
weapon.defModifier_2
player weapon defense modifier 2
weapon.maleeWeaponDmgModifier
player malee weapon damage modifier
entity.type
entity type
entity.netId
the player/entity's network Id