Error Fixing
I must be blind because I can't seem to get this to work....
Actual Code
It just returns
Error code
in console and I've tried to fix it and still the same thing...
(I apologize for the autism this code may cause)
http://pastebin.com/fnAm4dce (Soruce for Smeg_hack)
Actual Code
Code:
local Name = Ent:Name() local Group = Ent:GetUserGroup() local Dist = math.floor(Ent:GetPos():Distance(LocalPlayer():GetShootPos())/40) draw.SimpleTextOutlined( ""..Name.. "["..Group.."]", "Default", ((MaxX-MinX)/2)+MinX, MinY-5, Color(0,160,240), TEXT_ALIGN_CENTER, TEXT_ALIGN_TOP, 1, Color(255,255,255) )
Error code
Code:
[ERROR] lua/includes/init.lua:803: attempt to call local 'Name' (a string value) 1. fn - lua/includes/init.lua:803 2. unknown - addons/ulib/lua/ulib/shared/hook.lua:110
(I apologize for the autism this code may cause)
http://pastebin.com/fnAm4dce (Soruce for Smeg_hack)
