Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem






i may have fixed this issue now
then tank zed
then ill get to this
https://prnt.sc/A4JfEw3ZahWd
if bool or isAdmin() or SandboxVars.BusRideTiles.AllowTravelToAll or BusRide.isCanTPCenter() then
shouldShow = true
end
https://i.imgur.com/BI7Tv8C.png
if isAdmin() then
local bus = opt:addOption("Admin: ")
bus.iconTexture = getTexture("media/ui/Bus_context_icon.png")
local opt2 = ISContextMenu:getNew(opt)
opt:addSubMenu(bus, opt2)
local optTip = opt2:addOption('Store Coordinates to Clipboard', worldobjects, function()
BusRide.whereAmI()
end)
local tip = ISWorldObjectContextMenu.addToolTip()
tip:setName('Copy then Paste')
local x, y, z = obj:getX(), obj:getY(), obj:getZ()
tip.description = tostring(x).. ', '..tostring(y)..', '.. tostring(z)
optTip.toolTip = tip
opt2:addOption('Spawn Money x1', worldobjects, function()
inv:AddItems(BusRide.getCurrency(), 1)
end)
opt2:addOption('Spawn Money x10', worldobjects, function()
inv:AddItems(BusRide.getCurrency(), 10)
end)
opt2:addOption('Spawn Money x20', worldobjects, function()
inv:AddItems(BusRide.getCurrency(), 20)
end)
end
Slight problem with the mod at the moment is all normal players are able to see the Bus Ride context menu that is meant for admins. They dont get any of the options but it is still in every players menu.
i updated to try and push the update but the cliwnt who commissioned it said nothing changed
not sure why
and also there was an error with vanilla functions for some reason but this is done and final
so no need to worry
sorry guys
The same happens if you try any other teleport to any other location.
@A Is correct sadly.
BusRideTiles_items
item TravelDirectory_2
{
DisplayCategory = Furniture,
Type = Moveable,
Icon = default,
Weight = 0.5,
DisplayName = TravelDirectory_2,
WorldObjectSprite = BusRideTiles_8,
}
item TravelDirectory_3
{
DisplayCategory = Furniture,
Type = Moveable,
Icon = default,
Weight = 0.5,
DisplayName = TravelDirectory_3,
WorldObjectSprite = BusRideTiles_8,
Location1
Price
Coords X; Y; Z
? :)