Jump to content

Register an account


3NAD

Recommended Posts

Hello,

 

Do you have any idea, why this account can't be registered on the server ?

 

addAccount ( "Ramio", "a112233" )
Quote

Command executed! Result: false

 

--

getAccount ( "Ramio" )

 

Quote

Command executed! Result: false

--

 

I checked mta-wiki for addAccount,

about the limitation and case-sensitive.

And everything is fine !

Link to comment
On 6/4/2017 at 16:30, Tails said:

Did you give your script acl rights?

 

Sure man.

 

On 6/4/2017 at 22:19, #_iMr.[E]coo said:

welcome , I have also had this error with me, and it must be a mistake of the game, You can use this method:


addCommandHandler ( 'test' , 
  function ( aPlr_ , _ , aAccount_ )
    if ( tostring ( aAccount_ ) == getAccounts ( ) ) then
      outputChatBox ( ' yes ' , aPlr_ )
    else
      outputChatBox ( ' no ' , aPlr_ )
    end
  end
)

 

Come on, how can you match (STRING) with (TABLE) ??

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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