Discord
Steam
/
General Discussion
/
Lua Error HUD
Login/Join
Event Log
Lua Error HUD
2 replies, posted
Search
In This Thread
local hp = ply:Health() [ERROR] addons/dlib/lua/autorun/client/cl_init.lua:31: Tried to use a NULL entity! 1. Health - [C]:-1
local hp = LocalPlayer():Health()
you dont define ply. ply = LocalPlayer() local hp = ply:Health()
Sorry, you need to
Log In
to post a reply to this thread.