🌙CL COMMON REPLACEMENT

Project Still to be Implemented

Client Replacement Common (Still To Be Updated)

Player Functions:

-- Return Player Ped
exports.LGF_Utility:GetPed()

-- Return Player ID 
exports.LGF_Utility:GetPlayerId()

-- Return Player Health
exports.LGF_Utility:GetPlayerHealth()

-- Return Player Position (Params = ped or entity)
exports.LGF_Utility:GetPlayerPosition(ped)

-- Return if the player is alive (true) or dead (false)
exports.LGF_Utility:IsPlayerAlive(ped)

-- Return if the player is in a vehicle (true) or not (false)
exports.LGF_Utility:IsPlayerInVehicle(ped)

-- Return hashKey of the current weapon
exports.LGF_Utility:GetCurrentWeapon(ped)

Vehicle Functions:

-- Return Specific Vehicle Speed
exports.LGF_Utility:GetVehicleSpeed(ped)

-- Set Vehicle Door Status (true to open, false to close)
exports.LGF_Utility:OpenVehicleDoor(vehicle, open)

-- Return Vehicle Model Label and Class Number
exports.LGF_Utility:GetVehicleModelAndClass(vehicle)

-- Get the Vehicle Pede is using
exports.LGF_Utility:GetVehiclePed(PlayerPed)

-- Create Vehicle With Params
exports.LGF_Utility:CreateVehicle(params)

Last updated