SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 21/05/2020, 06:26 AM   #1
DIEGXsu
Little Clucker
 
Join Date: May 2020
Posts: 2
Reputation: 0
Red face MySQL and GM support needed

PROBLEM #1

Hello there, I opened this thread because I'm trying to put my server inside a host but when I tried to connect my server to database I realized that inside the GM script there is nothing related to MySQL. Is there any way to add or create a database based on MySQL for the gamamode I will use or am I screwed?

PROBLEM #2

Also, in another gamemode I tried, I keep getting the following error every single time and I don't know what to do about it.

Ooops. We've detected an error in your server log. You can view the error below:

[04:13:49] Script[gamemodes/NexusRP.amx]: Run time error 19: File or function is not found

Once you've resolved this problem try to restart your server again.


I will be very thankful if someone can help this poor man with almost no experience with servers.

DISCLAIMER: I know almost nothing about scripting and sorry for my bad english, I'm trying to do my best, I'm hispanic but I didn't wanted to post in english since most of you are english speakers.

Last edited by DIEGXsu; 21/05/2020 at 06:30 AM. Reason: A better title
DIEGXsu is offline   Reply With Quote
Old 21/05/2020, 06:36 AM   #2
l0gic
Huge Clucker
 
Join Date: Aug 2019
Posts: 221
Reputation: 59
Default Re: MySQL and GM support needed

Maybe something simplier for beginning, i know you have download somegame and dont have any idea what mysql even does, so maybe just practise sql queries, saving loading, updateing and then you understand that writing gamemode into sql isnt even so hard.
__________________
Coding experience with: PAWN, Java, Python, Javascript, PHP and SQL for about 6 years.
If I helped you, any reputation would be appreciated.
l0gic is online now   Reply With Quote
Old 21/05/2020, 06:41 AM   #3
SharpenBlade
Huge Clucker
 
Join Date: May 2020
Posts: 202
Reputation: 25
Default Re: MySQL and GM support needed

To learn about MySQL you can acces samp wiki or a register tutorial or something.
https://wiki.sa-mp.com/wiki/MySQL_Tutorial
https://forum.sa-mp.com/showthread.php?t=627520
SharpenBlade is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL Plugin r39-2 Error: Can't connect to local MySQL server through socket Emre__ Scripting Help 10 30/07/2014 08:26 AM
[Tutorial] [VIDEO] MySQL ORM r38: How to pair GM with MySQL & creation of registration/connection system cArnasLT Tutorials 3 19/05/2014 02:08 PM
Mysql queriesYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for th audriuxxx Scripting Help 4 11/04/2014 06:42 PM
BlueG MySQL plugin - Failed (plugins/mysql.so: undefined symbol: _Z13stringvprintfPKcPc) linuxthefish Plugin Development 10 13/07/2013 10:56 AM
[Tool/Web/Other] MySQL DB Manager - Easily manage your MySQL databases with this remote application fiki574 Tools and Files 13 22/07/2012 09:41 AM


All times are GMT. The time now is 02:36 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.