Asystolic Posted April 15, 2014 Posted April 15, 2014 Hello, My friend asked me, if I can write this topic, meanwhile he is waiting for the link via e-mail to verify his account. Anyway, what am I talking about. He wants to create a RP server. But when he try to register there, a window appear, that you have to register on a web-page. Here are few lines he sent me. function LoginScreen_startRegister() LoginScreen_showWarningMessage( "You can register an account\nat http://mta.vg! ) end and also this: -- Check the application stateif (tonumber(accountData["appstate"]) == 0) then triggerClientEvent(client, "accounts:login:attempt", client, 5, "You need to send in an application to play on this server." ) return elseif (tonumber(accountData["appstate"]) == 1) then triggerClientEvent(client, "accounts:login:attempt", client, 4, "Your application is still pending." ) return elseif (tonumber(accountData["appstate"]) == 2) then triggerClientEvent(client, "accounts:login:attempt", client, 3, "Your application has been denied, you can remake one at http://mta.vg. ) return end local forceAppCheckQuery = mysql:query("SELECT `username`,`appstate` FROM `accounts` WHERE `ip`='" .. mysql:escape_string(getPlayerIP(client)) .. "' OR `mtaserial`='" .. mysql:escape_string(getPlayerSerial(client)) .. "'") if forceAppCheckQuery then while true do local forceAppRow = mysql:fetch_assoc(forceAppQuery) if not forceAppRow then break end if (tonumber(forceAppRow["appstate"]) == 1) then triggerClientEvent(client, "accounts:login:attempt", client, 4, "Your application is still pending on account "..forceAppRow["username"].."." ) mysql:free_result(forceAppCheckQuery) return elseif (tonumber(forceAppRow["appstate"]) == 2) then triggerClientEvent(client, "accounts:login:attempt", client, 3, "Your application has been denied on account "..forceAppRow["username"]..", you can remake one at http://mta.vg. ) mysql:free_result(forceAppCheckQuery) return end He is going to answer to all replies from you, I just wrote this topic. Can't you just help, how to make, that you'll be able to register in game?
Toffbrown Posted April 15, 2014 Posted April 15, 2014 is this a stolen resource because no one help's with leaked scripts
Castillo Posted April 15, 2014 Posted April 15, 2014 We don't give support with leaked scripts. Topic locked.
Recommended Posts