• ents.Create (nil value)
    4 replies, posted
Hey, Ever since the other day, my addons just. . broke. No idea how. This is the error: [CODE][ERROR] addons/baddog's pokeballs/lua/entities/pb_base/shared.lua:58: attempt to call field 'Create' (a nil value) 1. Release - addons/baddog's pokeballs/lua/entities/pb_base/shared.lua:58 2. unknown - addons/baddog's pokeballs/lua/entities/pb_base/shared.lua:38[/CODE] If you need the lua file, here is the link: [url]https://dl.dropboxusercontent.com/u/97639347/shared.lua[/url]
ents.Create doesn't exist clientside
[QUOTE=Banana Lord.;41146716]ents.Create doesn't exist clientside[/QUOTE] Weird. It was working properly. Since when was it not clientside?
I believe ents.Create was removed in the GMod 13 Beta [editline]22nd June 2013[/editline] A simple, untested solution might be to replace the ENT:Replace() function with this [lua]function ENT:Think() if self.timer < CurTime() and SERVER then self:Release() self:DoEffects() self:Remove() end end[/lua]
[QUOTE=Banana Lord.;41146736]I believe ents.Create was removed in the GMod 13 Beta[/QUOTE] Strange. This entire time it's been working perfectly fine. Well, time to fix my addon. Thanks alot Banana!
Sorry, you need to Log In to post a reply to this thread.