Errors in log/reg system mysql
#1

PHP код:
C:\Users\yan\Desktop\Cops And Robbers\pawno\include\a_sampdb.inc(14) : error 010invalid function or declaration
C
:\Users\yan\Desktop\Cops And Robbers\pawno\include\a_sampdb.inc(15) : error 010invalid function or declaration
C
:\Users\yan\Desktop\Cops And Robbers\pawno\include\a_mysql.inc(111) : error 001expected token"-string end-"but found "-identifier-"
C:\Users\yan\Desktop\Cops And Robbers\pawno\include\a_mysql.inc(111) : error 001expected token";"but found "["
C:\Users\yan\Desktop\Cops And Robbers\gamemodes\LSCNR.pwn(192) : warning 202number of arguments does not match definition
C
:\Users\yan\Desktop\Cops And Robbers\gamemodes\LSCNR.pwn(192) : warning 202number of arguments does not match definition
C
:\Users\yan\Desktop\Cops And Robbers\gamemodes\LSCNR.pwn(192) : warning 202number of arguments does not match definition
C
:\Users\yan\Desktop\Cops And Robbers\gamemodes\LSCNR.pwn(192) : warning 202number of arguments does not match definition
C
:\Users\yan\Desktop\Cops And Robbers\gamemodes\LSCNR.pwn(296) : warning 217loose indentation
C
:\Users\yan\Desktop\Cops And Robbers\gamemodes\LSCNR.pwn(703) : warning 217loose indentation
C
:\Users\yan\Desktop\Cops And Robbers\gamemodes\LSCNR.pwn(704) : warning 217loose indentation
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
4 Errors

PHP код:
mysql mysql_connect(hostuserdbpass); //Line 192 
Reply
#2

Maybe you have forgot to define them.
remember that:
pawn Код:
#define host "localhost"
#define user "root"
#define db "your db name"
#define pass "your pass"
And remember it's under OnGameModeInit.
Reply
#3

I did define it.
Reply
#4

Can i see how you defined it?
EDIT:which version of mysql you are using? maybe old one.
Reply
#5

PHP код:
#define host   "localhost"
#define user   "root"
#define db     "lscnr"
#define pass   "" 
Reply
#6

Idk what version.. how do i check.
Reply
#7

From your include , Anyways, You may get Version R39-2 for every newer function.
Download Link:
https://github.com/pBlueG/SA-MP-MySQL/releases
Reply
#8

where i put mysql.so or somethin, in plugins ?
Reply
#9

same...
PHP код:
C:\Users\yan\Desktop\Cops And Robbers\pawno\include\a_sampdb.inc(14) : error 010invalid function or declaration
C
:\Users\yan\Desktop\Cops And Robbers\pawno\include\a_sampdb.inc(15) : error 010invalid function or declaration
C
:\Users\yan\Desktop\Cops And Robbers\pawno\include\a_mysql.inc(111) : error 001expected token"-string end-"but found "-identifier-"
C:\Users\yan\Desktop\Cops And Robbers\pawno\include\a_mysql.inc(111) : error 001expected token";"but found "["
C:\Users\yan\Desktop\Cops And Robbers\gamemodes\LSCNR.pwn(192) : warning 202number of arguments does not match definition
C
:\Users\yan\Desktop\Cops And Robbers\gamemodes\LSCNR.pwn(192) : warning 202number of arguments does not match definition
C
:\Users\yan\Desktop\Cops And Robbers\gamemodes\LSCNR.pwn(192) : warning 202number of arguments does not match definition
C
:\Users\yan\Desktop\Cops And Robbers\gamemodes\LSCNR.pwn(192) : warning 202number of arguments does not match definition
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase


4 Errors

Reply
#10

Someone please !
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)