Blue's Unboxing 3 Custom Lua
Hey guys, so I've been working on adding some custom items to Blue's Unboxing 3 but I ran into a problem trying to define the player. I understand that PLY is the player but for some reason all the commands that I try to run with PLY gives me (1) (mrbell11), which throws an error. I'm just wondering if anyone knows how to fix this
Share the piece of code that is throwing the error and the exact error.
is my code and it is getting this error
[ Error ] XP: Player not found!
Guth's level system can be found here (https://github.com/Guthen/guthlevelsystem)
With the console command being guthlevelsystem_add_xp <xp> <name>
its because RunConsoleCommand doesnt accept a Player object, try PLY:Nick() or PLY:SteamID() instead of just PLY
Yea that worked, I truly thought I tried that yesterday