#1

Hello Guys, Iam back and have a problem i just added this mysql system to my gamemode and then its not working and doesn't save So i need help the script that i added: https://sampforum.blast.hk/showthread.php?tid=569686
Reply
#2

Check your mysql connections parameters and check if it connected ... simple one is this
Код:
if(mysql_errno() != 0)
	{
		printf("[MYSQL] Connection with the database: FAIL!");
	}
	else
	{
 		printf("[MYSQL] Connection with the database: SUCCESS!");
	}
add it in OnGameModeInit

give us some more details of the script so that we could help you...
Reply
#3

It always say : printf("[MYSQL] Connection with the database: SUCCESS!");

But not saving Score or money
Reply
#4

did you upload .sql file using phpmyadmin ?
Reply
#5

Quote:
Originally Posted by Younes44
Посмотреть сообщение
did you upload .sql file using phpmyadmin ?
Yes.
Reply
#6

can you show us Screen shot of your MySQL(phpmyadmin)
Reply
#7

https://postimg.org/image/4zlvayq8r/8fec653c/
https://postimg.org/image/6rpew4z7b/44aeafdc/
Reply
#8

Quote:
Originally Posted by JeaSon
Посмотреть сообщение
pawn Код:
#define db      "sami" //This is your database name. Remember we have created a database called server before.
and when i check SQL
i found this:
PHP код:
-- Database: `sami
so try to change sami to your db name in SQL i think it's the problem
Reply
#9

Not working also.
Reply
#10

show us your query used in the script..
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)