When i buy the weedpot from the buy menu, its invisable when i spawn its invisable.
heres the error in the console; theres about 1000 of them
[ERROR] addons/darkrpmodification-master/lua/entities/weed_plant/cl_init.lua:7: attempt to call method 'DrawEntityOutline' (a nil value)
1. unknown - addons/darkrpmodification-master/lua/entities/weed_plant/cl_init.lua:7
I really need help, im not that good at coding
We can't do anything without code.
oops sorry
[editline]11th April 2014[/editline]
include("shared.lua")
function ENT:Draw()
if self.Entity:GetNWBool("Usable") == true then
self:DrawEntityOutline( 1.0 )
else
self:DrawEntityOutline( 0.0 )
end
self.Entity:DrawModel()
end
[QUOTE=Slenda' Mon;44513951]oops sorry
[editline]11th April 2014[/editline]
include("shared.lua")
function ENT:Draw()
if self.Entity:GetNWBool("Usable") == true then
self:DrawEntityOutline( 1.0 )
else
self:DrawEntityOutline( 0.0 )
end
self.Entity:DrawModel()
end[/QUOTE]
[QUOTE=kyleiscat;44415771]It's is finally here,I have fixed the Drawentityoutline lua error on the pot plant mod for garrysmod darkrp 2.5.0
I just replaced the code from weed_seed and put it in the weed_plant cl_init.lua. Have fun! This is a very easy fix and I wouldn't doubt other people have already figured it out.
This also includes a resource generator so you can download the weed files to the resource file.
[url]https://mega.co.nz/#F!vx5FDBSB!7tF-3TQgav7jOxcoqv1BRw[/url]
Instructions goto gamemodes\darkrp\entities\entities\weed_plant
Then replace the cl_init in weed_plant with the new one and copy and replace it.[/QUOTE]
Thanks man, :)
Sorry, you need to Log In to post a reply to this thread.