replace the function in s_account.lua with this
function attemptRegister(thePlayer, username, password)
if ( username ~= "" and password ~= "" ) then
local success, error = exports.sql:query_free("INSERT INTO `accounts` VALUES('', '".. tostring(username) .."', '".. md5( tostring( password ) ) .."', '".. getPlayerSerial(thePlayer) .."', '0','0')")
if ( error ) then
return outputDebugString( error )
else
return outputChatBox("Successfully registered your account!", thePlayer, 100, 0, 100)
end
end
end
also if you dont know how to set it up, you wont get far with this gamemode, it's incomplete and buggy.
Check this: viewtopic.php?f=108&t=45676