Other Ambulancejob
Integration with Other Ambulancejob Scripts
If you're using a custom ambulancejob script, follow the steps below to integrate it with the arena script.
Navigate to the arena script folder, and open the
death.lua
file located inside theclient-side
folder. This file is unencrypted and available for editing.Inside the
death.lua
file, search for the function:
TriggerEvent
Once you've located the
TriggerEvent
function, you will need to add your ambulancejob revive event in both locations whereTriggerEvent
is called.If your ambulancejob script is a well-known one, such as:
wasabi ambulancejob
ak47 ambulancejob
brutal ambulancejob
or any other similar script, you should already know the revive event or export function. You can add it in place of the TriggerEvent
.
If youโre using a purchased script and are unsure of the revive event or function, contact the script owner or developer to ask for the revive event name or export function. Once you have that, add it in the two
TriggerEvent
locations.
Hereโs an example of how it might look after adding the revive event:
TriggerEvent('your_ambulancejob_revive_event') -- Replace with your revive event or export function
Below is the location of the 'TriggerEvent' function the two locations where you have to place your event or export from the ambulancejob you use.

This ensures that the revive function of your ambulancejob script works correctly with the PvP arena.
Atualizado