Advertisement
Sphiinxrp

Untitled

Jun 28th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. DarkRP.createEntity("Special Pot", {
  2. ent = "eml_spot",
  3. model = "eml_spot",
  4. price = 875,
  5. max = 2,
  6. cmd = "buyspecialpot",
  7. category = "Meth",
  8. allowed = {TEAM_METHCOOK}
  9. })
  10.  
  11. [ERROR] A runtime error has occurred in "addons/darkrpmodification-master/lua/darkrp_customthings/entities.lua" on line 70.
  12. The best help I can give you is this:
  13.  
  14. Corrupt entity: Pot!
  15. This entity does not have a unique command.
  16.  
  17. Hints:
  18. - There must be some other entity that has the same thing for 'cmd'.
  19. - Fix this by changing the 'cmd' field of your entity to something else.
  20.  
  21. The responsibility for the error above lies with (the authors of) one (or more) of these files:
  22. 1. addons/darkrpmodification-master/lua/darkrp_customthings/entities.lua on line 70
  23. 2. function 'xpcall'
  24. 3. gamemodes/darkrp/gamemode/libraries/simplerr.lua on line 477
  25. 4. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
  26. 5. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
  27. 6. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 137
  28. 7. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 148
  29. 8. gamemodes/darkrp/gamemode/init.lua on line 86
  30. ------- End of Simplerr error -------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement