Advertisement
TheCodingBeast

DarkRP 2.5 Entities

Feb 12th, 2014
4,609
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.74 KB | None | 0 0
  1. DarkRP.createEntity("Silver Money Printer", {
  2.     ent = "silver_printer",
  3.     model = "models/props_c17/consolebox01a.mdl",
  4.     price = 1500,
  5.     max = 2,
  6.     cmd = "silverprinter"
  7. })
  8.  
  9.  
  10.  
  11. -- Donator Code / Only players there is in the Donator group can see it.
  12.         customCheck = function(ply) return ply:GetNWString("usergroup") == "Donator" end,
  13.  
  14. -- Donator Code / All players can see it.
  15.         customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "Donator" end,
  16.  
  17.  
  18.  
  19. -- SteamID Code / Only players with the SteamID can see it.
  20.         customCheck = function(ply) return ply:SteamID() == "STEAM_***" end,
  21.  
  22. -- SteamID Code / All players can see it
  23.         customCheck = function(ply) return ply:SteamID() == "STEAM_***" end,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement