[HELP] Error, Please Help!
#1

Hello. I've followed all the steps in this thread to get a Register, and Login System: https://sampforum.blast.hk/showthread.php?tid=305994

I get an error saying the following when I try to compile:
Код:
C:\Users\Zach\Desktop\SA-MP SERVER\IW.pwn(83) : error 037: invalid string (possibly non-terminated string)
C:\Users\Zach\Desktop\SA-MP SERVER\IW.pwn(83) : error 017: undefined symbol "YourDatabaseName"
C:\Users\Zach\Desktop\SA-MP SERVER\IW.pwn(83) : error 029: invalid expression, assumed zero
C:\Users\Zach\Desktop\SA-MP SERVER\IW.pwn(83) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Here's the line that the errors on:
Код:
mysql_connect(mysql_host,mysql_user,mysql_database ,mysql_password)
I've already added the includes:
Код:
#include <a_samp>
#include <a_mysql>
I don't know what I did wrong.

Anyone please help!
Reply
#2

Check this line in your script whether it is correct or not

pawn Код:
#define mysql_database "YourDatabaseName"
Reply
#3

Redo the first bits of the Scripting step in that tutorial. In those defines, you should change "YourDatabaseName" and all that to the details specific to your own MySQL setup.
Reply
#4

Setup MySQL database and give those details in your script.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)