Jockie Posted May 7, 2012 Share Posted May 7, 2012 Hey guys, Currently I'm trying to find out how to remove players from the Race gamemode. What I would like to achieve is making it possible to remove players from the race resource when it asks for removal, plus some delay of joining at start(log-in menu shows up at start) _joiner.lua 'says' that onPlayerJoin sends the player to the joining group, so I changed that event name to the event I use in an other script for importing the player into race. I've also tried patching the four functions. Paste: http://pastebin.com/X6hmZRUz (exports.uag_RacePlayers:getRacePlayers returns a table of the players that 'should' be in the race gamemode.) Furthermore, I also edited onlyJoined(), changing g_Root => g_RootPlayers But when running all these edited lines, it just runs like a normal race gamemode. If someone knows how to make this possible, please tell me. ^^ Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now