Integrasi ox_lib

Cari Wait(100) di ox_lib/resource/cache/client.lua

diatasnya, berikan kode berikut ini

cache:set('health', GetEntityHealth(cache.ped))
cache:set('armor', GetPedArmour(cache.ped))
cache:set('oxy', GetPlayerSprintStaminaRemaining(cache.playerId))

untuk ox_lib sudah itu saja.

Last updated