SickScripts Documentation
SickScripts DiscordProject ALPHA DiscordTebex Store
  • Overview
    • 💡SickScripts
    • ✨Useful Links
    • 🎯Newest ESX
  • Shared Framework
    • 👮SickDirtyCops
      • Robbery Trigger
      • Installation
      • Config
      • Buy/Sell Shop
      • Updates
      • Custom Events
    • 🚗Sick2Step
      • SetUp
      • Usage
    • 🌱SickTrapHouses
      • Installation
      • Events
    • 🗒️SickWarrants
      • Events
      • Examples
    • 💣SickCarBombs
      • Items
      • Config
    • 📎SickLockers
      • Config
      • Events
      • QBCore Users
    • 💰SickMoneyWash
      • Usage
      • Config
    • 🗺️SickTeleport
      • Installation
      • Default Locations
      • Donators
      • Config
  • ESX Scripts
    • 🎟️SickFines-PEFCL
      • Events
    • 🧑‍💼SickTraders
      • Traders
    • 🌭SickFoodStands
    • 🍔SickUpNAtom
      • General info
      • Ordering
      • Job Info
      • Boss Menu
  • 🔒SickJail
    • Events/Exports
    • Examples
    • Jobs
    • Drug Bag
    • Prison Break
    • Stashes
  • 📄SickReports
    • Options
  • 🇫🇲SickSafeZones
    • Info
    • Music
    • AirDrops
    • ScrapCars
  • QBCore
    • 🏨SickApartmentSelect
Powered by GitBook
On this page
  • Usable Items
  • SQL
  1. Shared Framework
  2. SickTeleport

Installation

Usable Items

Config.UsableItems = {
    'location_setter'
}

In the Config.lua you can change the items used to teleport to anything you wish. If you are creating a new item I have provided a small template to help you get going. Any item in here will be able to access the menu including water if you set that.

Example item:

--[[ ( ( -EXAMPLE ITEM FOR OX- ) )

	['location_setter'] = {
		label = 'Teleporter',
		weight = 115,
		description = 'Go Somewhere'
	},

]]

SQL

To use and create home locations you need to create the database table. Here will store WHO the home location is for the Set Home Location and the Set Home Name. These variables are all changed by using the script.

sql.sql
CREATE TABLE IF NOT EXISTS `sickteleports` (
  `citizenid` varchar(60) NOT NULL,
  `hashome` varchar(5) DEFAULT '0',
  `homelocations` varchar(250) DEFAULT NULL,
  `homeName` tinytext DEFAULT 'Home',
  PRIMARY KEY (`citizenid`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=DYNAMIC;

In case you ever need a back up one I will leave one here:

INSERT INTO `sickteleports` (`citizenid`, `hashome`, `homelocations`, `homeName`) VALUES
	('WKI50V48', '1', '{"x":-1063.014404296875,"y":-861.290771484375,"z":4.86802625656127}', 'SickScripts');
PreviousSickTeleportNextDefault Locations

Last updated 2 months ago

🗺️