Open ybother123 opened 1 year ago
Hey, to spawn the TARDIS in DarkRP you need to use a custom spawn function:
spawn = function(ply, tr, tblEnt)
return TARDIS:SpawnTardis(ply, {metadataID = "default"}, true)
end
"default" here is the interior ID, you can find this by using the tardis2_spawnmenu_copy_id 1
in sandbox - it'll add a new option when you right click on the interiors for "copy ID".
Note currently this will only work for admins but there is a fix being released in the next day or two that will make it work for everyone.
The srcds error [TARDIS] lua/tardis/libraries/libraries/sh_settings.lua:159: Networked setting nointerior was requested for invalid player [NULL Entity]
DarkRP.createEntity("tardis", { ent = "gmod_tardis", model = "models/props_c17/TrapPropeller_Engine.mdl", -- just a placeholder of course price = 2, max = 44, cmd = "buygunlabsdf", allowed = TEAM_CITIZEN })