#How do i fix LocalPlayer() giving me nil value
1 messages · Page 1 of 1 (latest)
the name of the folder was loadmap.lua but i have it on another lua file for now
May I ask how did you run your code?
Try this
lua_openscript_cl Test1.lua
why client
LocalPlayer() is an clientsided function
oh
You can't use it on serverside
well im on single player so i thought it works
thanks now i know localplayer is a client sided
im kind of new to scripting im trying to start now to know some gmod coding
That's good, good luck for you