Dimos7 Posted April 25, 2015 Posted April 25, 2015 (edited) Maker a error at line 27 take a nil value why? Edited April 26, 2015 by Guest
MTA Team botder Posted April 26, 2015 MTA Team Posted April 26, 2015 There is no mysql_connect function in the code you posted.
WhoAmI Posted April 26, 2015 Posted April 26, 2015 Probably you don't have MySQL module on server which is necessary if you are using mysql_ functions. However, mysql_ is kinda old and it isn't that effective anymore. You should use db functions instead (dbConnect, dbQuery, dbPoll, dbExec etc.) which don't use custom MySQL module.
Dimos7 Posted April 26, 2015 Author Posted April 26, 2015 the error give me when run the server is that take nil value on 27
WhoAmI Posted April 26, 2015 Posted April 26, 2015 So probably, module doesn't work well if mysql_connect doesn't work.
WhoAmI Posted April 26, 2015 Posted April 26, 2015 Well, did you put it on local server or hosted server? If local it should work.
WhoAmI Posted April 26, 2015 Posted April 26, 2015 Check if module works. Do you see this message while turning on server?
Dimos7 Posted April 26, 2015 Author Posted April 26, 2015 Anyone knows why not work? modules mtaserver
WhoAmI Posted April 26, 2015 Posted April 26, 2015 What do you mean by installing mysql? You have to have local MySQL server. XAMPP is good solution.
Dimos7 Posted April 26, 2015 Author Posted April 26, 2015 (edited) i have a problem i put exports.mysql my resource running but say call non server resource string "?" Edited April 26, 2015 by Guest
Dimos7 Posted April 26, 2015 Author Posted April 26, 2015 say that resource already running and its exports i wrote it wrong
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now