• DarkRP Lua Help
    1 replies, posted
I downloaded the special money printers from the workshop. And i would like if the Nuclear were for dontor only. Could anyone send me the code that i need to paste into addentities.lua? (Im running DarkRP version 2.4.3)
[lua]AddEntity("Nuclear Printer", { ent = "nuclear_printer", model = "models/props_lab/reciever01a.mdl", price = 9500, max = 2, cmd = "/buynuke", customCheck = function(ply) return ply:IsUserGroup("donator") or ply:IsSuperAdmin() end })[/lua] Not that hard of a task, hope you don't plan on running a server.
Sorry, you need to Log In to post a reply to this thread.