I'm not a coder of any sort and I'm only just about managing to run a server and I need some lua gubbins fixing so it's compatible with Gmod 13. The addon is called PlayX ([url]http://www.garrysmod.org/downloads/?a=view&id=124387[/url]) and I've just moved the PlayX folder from the download into the addons folder for the server. I have also insatlled it on singleplayer as well to see if I needed anything client-side.
On the console it says:
[CODE][ERROR] addons/playx/lua/entities/gmod_playx/init.lua:87: attempt to index global 'PlayX' (a nil value)
1. SpawnFunction - addons/playx/lua/entities/gmod_playx/init.lua:87
2. Spawn_SENT - gamemodes/sandbox/gamemode/commands.lua:602
3. unknown - gamemodes/sandbox/gmemode/commands.lua:655
4. unknown - lua/includes/modules/concommand.lua:69[/CODE]
The button to spawn the PlayX player under Entities>Other in the 'Q' menu shows up and the message above shows up in the console when I try to spawn it. Please help me because I need to host this server fairly quickly and soory if I have explained it badly - ask me for anything else that I missed and I'l add it in! :)
As far as I'm aware of, this addon hasn't been updated for Gmod 13. From looking at the addon page, it's last upload was more than a year ago. Gmod 13 has a lot of changes to it's lua system, so old addons have to be changed to work with those.
It's out of date.
I know that it's out of date, that's why I would like someone to be generous enough to fix it for me or tell me where I can find a similar, up to date addon. Also, DoubleElite, do you know whether the lua is fixable at all with all of the new changes and all that gubbins!
You know that there is a Workshop version and it probably works?
Sorry, you need to Log In to post a reply to this thread.