I've fixed the problem.....
I'm using this mod with etadmin, and arguments from et_ConsoleCommand() are returned as strings, NOT integers. So a simple use of 'tonumber(clientID)' fixed all the problems. Now i can clean up the code. Thanks for your help.
-Feengur
Search found 6 matches
- Mon Dec 04, 2006 11:26 pm
- Forum: ET Modding
- Topic: LUA variable issues
- Replies: 8
- Views: 9298
- Mon Dec 04, 2006 5:44 pm
- Forum: ET Modding
- Topic: LUA variable issues
- Replies: 8
- Views: 9298
- Mon Dec 04, 2006 5:40 pm
- Forum: ET Modding
- Topic: LUA variable issues
- Replies: 8
- Views: 9298
- Mon Dec 04, 2006 5:00 pm
- Forum: ET Modding
- Topic: LUA variable issues
- Replies: 8
- Views: 9298
- Mon Dec 04, 2006 4:15 pm
- Forum: ET Modding
- Topic: LUA variable issues
- Replies: 8
- Views: 9298
Well, i have put prints behind each function, so as they execute in the server i can follow the routes that the calls are being executed, but it seems as though lua is just not writing to the same table, or.... it's just not writing anything at all. Here is the code in it's entirety (i know the stru...
- Sun Dec 03, 2006 11:22 pm
- Forum: ET Modding
- Topic: LUA variable issues
- Replies: 8
- Views: 9298
LUA variable issues
Hi. I was on a local tj server with a /save /load mod on it and I decided that I would write one of my own with better features to kill the abuse. I ran into a few problems however.... One of my functions is !removesaves (clientNum) , which obviously removes a certain players saved slots. function r...