Guest User

Untitled

a guest
Feb 17th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. AddCSLuaFile()
  2.  
  3. ENT.Base = "bw_generator"
  4.  
  5. ENT.MaxHealth = 150
  6. ENT.Model = "models/props_vehicles/generatortrailer01.mdl"
  7. ENT.Power = 4
  8. ENT.UpgradeCost = {}
  9.  
  10. AddSpawnableEntity(
  11. {
  12. Class = string.Explode("/",ENT.Folder)[2],
  13. Name = "Basic Generator",
  14. Category = "Generators",
  15. Model = ENT.Model,
  16. Limit = 4,
  17. Price = 500,
  18. }
  19. )
Add Comment
Please, Sign In to add comment