Setup

Download

Download asset from tps://portal.cfx.re/assets/granted-assets

Installing Asset

  • Unzip file

  • Create a folder called [tinysprite] in your resources folder

  • drag tss-changeinterior into the [tinysprite] folder

ensure oxmysql
ensure ox_lib
ensure qb-core
ensure ox_inventory
ensure ox_doorlock
ensure ox_target
ensure illenium-appearance


ensure ps-hud
ensure [qb]
ensure [standalone]     # jim_bridge placed here
ensure [tinysprite]     # our scripts placed here
# other scripts

Config

Config = {
	Lan = "en",
	System = {
		Debug = false,			-- set true to view target/ped areas
		Menu = "ox",			-- "qb", "ox"
		Notify = "qb",			-- "qb", "ox", "esx, "okok", "gta"
		ProgressBar = "qb", 		-- "qb", "ox"
	},
	DebugCommand = "changeinterior",	-- Command only certain Permission can use
	Permission = "admin",			-- What Permission can access the command

}

Small minor MLO edit

Any MLO that has changeable entity sets usually provides a .lua file that allows you to enable or disable sets, this code needs commenting out by putting — in front of every line.

This is so our script can work more efficiently.

Remove

This script can replace bob74_ipl

Where bob74_ipl is only editable in the files and requires a server restart, this script will allow you to change the Base Game IPL's live in the server in front of your very eyes.

Last updated