• GetNWString - Nill
    4 replies, posted
[lua]\gamemode\cl_init.lua:28: attempt to call method 'GetNWString' (a nil value) [/lua] [lua] local level = ply:GetNWString("theLevel") [/lua] The above is the line the error happenes on. Any clue??
ply is not a valid player entity. Have you defined it?
[QUOTE=Crazy Quebec;23729296]ply is not a valid player entity. Have you defined it?[/QUOTE] Where would I define it besides the function permas.
If this is in a client file shouldn't it be LocalPlayer() instead of ply?
You are doing this clientsided. So I am guessing you should use LocalPlayer():GetNWString("theLevel")
Sorry, you need to Log In to post a reply to this thread.