Jump to content

A little help please


mint3d

Recommended Posts

Okay so I came across the old MTA Paradise script and I started to play around with it and look into it, so I then decided lets try actually run it and see what happens, it's giving me an error which is;

registration.lua:60: attempt to call global 'sha1' (a nil value)

This refers to this piece of code;

if exports.sql:query_free( "INSERT INTO wcf1_user (username,salt,password) VALUES ('%s', '%s', SHA1(CONCAT('%s', SHA1(CONCAT('%s', '" .. sha1( password ) .. "')))))", username, salt, salt, salt ) then 
                             

Anyone able to explain to me what the problems is and any solution to fix it?

Thanks for reading!

Link to comment
  • 1 year later...

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...