Jump to content

Error Register


PiojitoS

Recommended Posts

Posted

Tengo este problema se que es tonto pero anda todo menos el register cuando le doy a register me da error y no me registra... me ayudan esto es el server:

function registerPlayer(username,password,passwordConfirm) 
    if not (username == "") then 
        if not (password == "") then 
            if not (passwordConfirm == "") then 
                if password == passwordConfirm then 
                    local account = getAccount (username,password) 
                    if (account == false) then 
                        local accountAdded = addAccount(username,password) 
                        if (accountAdded) then 
                            triggerClientEvent(source,"hideRegisterWindow",getRootElement()) 
                            outputChatBox ("#0000FF* #FFFFFFHas registrado correctamente! [username: #ABCDEF" .. username .. " #FF0000| #FFFFFFPassword: #ABCDEF" .. password .. "#FFFFFF]",source,255,255,255,true ) 
                            setTimer(outputChatBox,800,1,"#0000FF* #FFFFFFAhora puede iniciar sesión con su nueva cuenta.",source,255,255,0,true ) 
end 

Los eventos estan añadidos mas abajo

My Server: GTA | Project Army sv.

350x20_FFFFFF_FFFFFF_000000_000000.png

My nickname in game is: PiojitoS

Posted

Y el error cual es?

Agregaste el recurso al ACL.xml, grupo "Admin"?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Deja si lo añadi a el ACL pero no importa voy a hacer uno nuevo con otras algunas cosas de la funcion cambiadas...

My Server: GTA | Project Army sv.

350x20_FFFFFF_FFFFFF_000000_000000.png

My nickname in game is: PiojitoS

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...