📕
fmid Documentation
  • fmid Documentation
  • 🚘 fmid_garasi (2023)
    • client
    • Integrasi
    • Additional Commands
    • Pembuatan Garasi
    • Hooks
  • ♻️ fmid_loop
    • Contoh Penggunaan 1
  • 🔳fmid_poly
    • Getting Started
    • Usage
  • fmid_garasi 2.0
    • client
    • server
      • exports
      • commands
    • data
  • 🧠fmid_secure
    • Getting Started
    • Client
    • Server
  • fmid_split
    • Setup
  • 💃fmid_danceroom
    • External Script
    • Internal Script
    • Commands
  • 🧛fmid_ko
    • Internal
    • Integrasi
    • ox_lib Additional
  • 🔫pubg-hud
    • Integrasi ox_inventory
    • Integrasi ox_lib
    • Internal Script
Powered by GitBook
On this page
  • qbx_core
  • qbx_ambulancejob/client/setownedstate.lua
  • qbx_medical/client/laststand.lua
  • es_extended
  • esx_ambulancejob [Tested]
  1. fmid_ko

Integrasi

Integrasi ke Script External

qbx_core

qbx_ambulancejob/client/setownedstate.lua

pada function handleLastStand, hapus exports berikut ini

exports.qbx_medical:playLastStandAnimationDeprecated()

qbx_medical/client/laststand.lua

didalam function StartLastStand, tambahkan exports berikut ini, sebelum end di paling bawah.

exports.fmid_ko:startPingsan()

didalam function EndLastStand, tambahkan exports berikut ini, sebelum end di paling bawah.

exports.fmid_ko:stopPingsan()

es_extended

esx_ambulancejob [Tested]

dimana saja asalkan di clientside

RegisterNetEvent('esx:onPlayerDeath', function ()
  local coords = GetEntityCoords(PlayerPedId())
  NetworkResurrectLocalPlayer(coords.x, coords.y, coords.z, heading, true, false)
  exports.fmid_ko:startPingsan()
end)

AddEventHandler('esx:onPlayerSpawn', function ()
  exports.fmid_ko:stopPingsan()
end)
PreviousInternalNextox_lib Additional

Last updated 1 year ago

🧛