Client

Client side functions

Classes

  • HRLibClientFunctions

    All the functions described in the different subpages of this one

  • HRLibClientIPlayer

NameDescription

source, id, Id, ID, playerId, player, serverId, plId, serverPlId, sPlId

player server Id

invincible_2

invincible 2

max.stamina

max stamina

max.armour

max armour

max.health

max health

currStamina

current stamina

vehicle

the current vehicle the player is in

veh.dmgModifier

vehicle damage modifier

veh.defModifier

vehicle defense modifier

weapon.dmgModifier

weapon damage modifier

weapon.defModifier

weapon defense modifier

weapon.defModifier_2

weapon defense modifier 2

weapon.malee.dmgModifier

malee weapon damage modifier

weapon.malee.defModifier

malee weapon defense modifier

coords

your coords ( vector3 )

currStealthNoise

the current stealth noise

group

group

index

player index

invincible

player invincible status

name

player name

ped

player ped

pedIsFollowing

get ped is following

rgbColor

player rgb color

team

player team

underWaterTimeRmng

player time remaining under water

entity.entity

player entity

entity.health

player health

entity.archetypeName

player ped model (Example: a_f_m_beach_01)

entity.attachedTo

the attached entity

entity.model

player entity model

entity.mapDataOwner

player map data owner

entity.alpha

player alpha

entity.boneCount

player bone count

entity.forward.vector

player forward vector

entity.forward.x

player forward x

entity.forward.y

player forward y

entity.heightAboveGround

player height above the ground

entity.lodDist

player LOD distance

entity.matrix

player forwardVector, rightVector, upVector position

entity.pitch

player pitch

entity.populationType

player population type

entity.quaternion

player quaternion

entity.roll

player roll

entity.speed

player speed

entity.submergedLvl

player submerged level

entity.type

player type

entity.uprightValue

player upright value

entity.velocity

player velocity

entity.lastHitMaterial

gthe last hit material by the player

entity.objectIndex

player object index

entity.offsetFromEGivenWorldCoords

the offset from E given world coords

entity.offestFromEInWorldCoords

the offset from EIn world coords

entity.vehIndex

the vehicle index of the veh you're sitting in

entity.hasLoadedCollisionAroundE

has loaded collision around E status

entity.hasBeenDamagedByAnyObject

has been damaged by any object status

entity.hasBeenDamagedByAnyVeh

has been damaged by any veh status

entity.hasCollidedWithAnything

has collided with anything status

  • HRLibClientFPlayer

    Teleport: fun(self: HRLibClientFPlayer, coords: vector3) SpawnVehicle: fun(self: HRLibClientFPlayer, vehModel: string|integer, spawnPedInside: boolean?, saveVehicle: boolean?): integer? Freeze: fun(self: HRLibClientFPlayer, toggle: boolean)

  • HRLibCloseIPlayer

    HRLibClientIPlayer + distance: number

  • HRLibCloseFPlayer

    HRLibClientFPlayer + distance: number

Last updated