a_mysql - database
#1

This is probs an easy fix, I'm just stuck? What should be there instead? of do I define the symbol somewhere?

error 017: undefined symbol "Database"

pawn Код:
mysql_query(Database,"CREATE TABLE IF NOT EXISTS `orgs` (`Orgid`,`Name`,`Genre`,`Leader`,`Bank`,`Members`, `Hex`, `CPX`, `CPY`, `CPZ`,`Skin1`, `Skin2`, `Skin3`, `Wep1`, `Wep2`, `Wep3`, `Model1`, `Model2`, `Model3`, `Model4`, `Model5`, `Model6`,`Color1`, `Color2`, `Model7`, `Model8`, `X1`, `X2`, `X3`, `X4`, `X5`, `X6`, `X7`, `X8`, `Y1`,`Y2`,`Y3`,`Y4`,`Y5`,`Y6`,`Y7`,`Y8`,`Z1`,`Z2`,`Z3`,`Z4`,`Z5`,`Z6`,`Z7`,`Z8`,`A1`,`A2`,`A3`,`A4`,`A5`,`A6`,`A7`,`A8`)");
Reply
#2

use the format : https://sampwiki.blast.hk/wiki/MySQL#mysql_query
Reply
#3

Quote:
Originally Posted by M3HR4N
Посмотреть сообщение
Do you have any idea what you are talking and what he was asking about ? Dont just post without any idea -_-

Quote:
Originally Posted by dillo1000
Посмотреть сообщение
This is probs an easy fix, I'm just stuck? What should be there instead? of do I define the symbol somewhere?

error 017: undefined symbol "Database"

pawn Код:
mysql_query(Database,"CREATE TABLE IF NOT EXISTS `orgs` (`Orgid`,`Name`,`Genre`,`Leader`,`Bank`,`Members`, `Hex`, `CPX`, `CPY`, `CPZ`,`Skin1`, `Skin2`, `Skin3`, `Wep1`, `Wep2`, `Wep3`, `Model1`, `Model2`, `Model3`, `Model4`, `Model5`, `Model6`,`Color1`, `Color2`, `Model7`, `Model8`, `X1`, `X2`, `X3`, `X4`, `X5`, `X6`, `X7`, `X8`, `Y1`,`Y2`,`Y3`,`Y4`,`Y5`,`Y6`,`Y7`,`Y8`,`Z1`,`Z2`,`Z3`,`Z4`,`Z5`,`Z6`,`Z7`,`Z8`,`A1`,`A2`,`A3`,`A4`,`A5`,`A6`,`A7`,`A8`)");
Declare a variable like the following before this query at the top of your script before you start with your callbacks:
pawn Код:
static Database;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)