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