📖
AdminPlus Development Documentation
  • AdminPlus Documentation
  • Support
  • 📍Information
    • You lack the required entitlement.
  • 💰Paid Scripts
    • [QB/ESX] Admin Jail [PAID]
    • [QB/ESX] Wigs & Bundles [PAID]
    • [QB/ESX] Bus Travel [PAID]
    • [QB/ESX] Business Promotion [PAID]
    • [QB/QBOX/ESX] Discord Presence [PAID]
    • [QB/ESX] Character Attributes [PAID]
    • [QB/ESX] Server Essentials [PAID]
    • [QB/ESX] Typing Indicator [PAID]
    • [QB/ESX] Anti-Fall [FREE]
    • ESX | Faction Chat [PAID]
    • ESX | Gym [PAID]
    • [STANDALONE] 65+ Car Pack [PAID]
  • 🆓Free Scripts
    • Anti Collision
    • Lost Items
    • Sell Drugs
    • Med System
Powered by GitBook
On this page
  1. Paid Scripts

[QB/ESX] Anti-Fall [FREE]

Previous[QB/ESX] Typing Indicator [PAID]NextESX | Faction Chat [PAID]

Last updated 1 month ago

adminplus-antifall is a script for FiveM servers which help players get to safety when they are stuck or falling through the map / sky. Some housing scripts have issues where on some server-restarts you fall through the sky alongside players falling through the map when stuff doesn't load in quickly. This script is to help staff-members in servers - with lowering reports by having an automated system for players to help themselves via script.

Dependencies 🔗

ox_lib

  • wasabi_ambulance OR esx_ambulancejob OR qb-ambulancejob for revive feature.


  • Configurable vehicle teleport - allow to teleport if inside a vehicle. (enable/disable option).

  • Configurable revive option (wasabi-ambulance/esx_ambulancejob) make ticket to add another ambulance script. (enable/disable option).

  • Configurable safe teleport coordinates if can't find ground.

  • Configurable minZ & maxZ for when to trigger UI.

  • Configurable webhooks (enable/disable option).

  • Configurable zones - if in specific area, able to teleport out.

  • Configurable text (change language).

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
  • This resource is drag/drop with a couple configurable options.

ensure adminplus-antifall

Feel free to check the config file to be able to edit some options.

Config = {
	debug = false, -- for debugging purposes - do not have this enabled on live server.
	vehicleTeleport = true, -- do you want to allow players to be able to teleport - if their in a vehicle when their stuck?
	revive = false, -- should the player be revived if they are trying to get to safety?
	safety = vec4(190.7731, -948.9607, 30.0967, 152.0540), -- coordinates to teleport to for fallback point if ground isn't found when falling (currently legion)
	minZ = -11.0, -- if player freeFalling under (11 meters of ground level) trigger UI
	maxZ = 80.0, -- if player freeFalling above (80 meters of ground level) trigger UI
	webhooks = {}, -- do not touch this, visit server/sv_webhooks.lua
	Zones = {
		{
			points = { -- pillbox tunnels (right under pillbox)
				vec(260.5359, -592.2571, 17.8258),
				vec(261.2091, -578.5816, 17.8258),
				vec(337.0766, -578.9214, 17.8258),
				vec(339.9200, -592.0355, 17.8258),
			},
			thickness = 3,
			debug = false,
		},
		-- the points are basically a box, go to each corner of where you want to add the zone & copy coordinate & paste accordingly.
		-- copy / paste from line "10" to "19" & change the vec coordinates.
	},
	Strings = {
		stuck_title = 'AdminPlus antiFall',
		stuck_desc = 'You have been teleported to your safety!',
		teleport_title = 'Teleport',
		teleport_desc = 'Click this button to teleport to a safe area!',
		teleport_in_vehicle = 'You can not teleport while in a vehicle',
		ambulance_not_available = 'Ambulance revive is not available.', -- this error shows if a revive script is not available.
	}
}

return Config
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
V 1.0.0
  • Original Release

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

Configurables

💰
👀
Tebex (purchase)
Support (discord)
Showcase (video)