- 0
Probleme cu un cod al bazei de date
-
Similar Content
-
- 0 replies
- 101 views
-
- 0 replies
- 191 views
-
baza de date
By tyur21a,
- 3 answers
- 247 views
-
- 5 replies
- 1,093 views
-
- 2 answers
- 597 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Yugao
Daca il compilez asa nu merge
[pawn]
public OnGameModeInit()
{
SetGameModeText("HC:RP v0.0.1");
mysql_connect ( "127.0.0.1", "Trinity", "Accounts", "calculatornexus0732030668alex47" );
new
string [ 756 ]
;
Accounts = db_open ( "Accounts.db" ) ;
strcat ( string , "CREATE TABLE IF NOT EXISTS `Jucatori`" , 756 ) ;
strcat ( string , "(`ID` INTEGER PRIMARY KEY AUTOINCREMENT ,\
`Nume` TEXT ,\
`Sex` TEXT ,\
`Parola` TEXT ,\
`Varsta` NUMERIC ,\
`Spawn` NUMERIC ,\
`Interior` NUMERIC ,\
`Bani` NUMERIC ,\
`Scor` NUMERIC , " , 756 ) ;
strcat ( string , "`Ucideri` NUMERIC ,\
`Decese` NUMERIC ) " , 756 ) ;
db_free_result ( db_query ( Accounts , string ) ) ;
return ( 1 ) ;
}
[/pawn]
Si imi da urmatoarele erori:
Dar daca scot "Interior" poate fi compilat
[pawn]
public OnGameModeInit()
{
SetGameModeText("HC:RP v0.0.1");
mysql_connect ( "127.0.0.1", "Trinity", "Accounts", "calculatornexus0732030668alex47" );
new
string [ 756 ]
;
Accounts = db_open ( "Accounts.db" ) ;
strcat ( string , "CREATE TABLE IF NOT EXISTS `Jucatori`" , 756 ) ;
strcat ( string , "(`ID` INTEGER PRIMARY KEY AUTOINCREMENT ,\
`Nume` TEXT ,\
`Sex` TEXT ,\
`Parola` TEXT ,\
`Varsta` NUMERIC ,\
`Spawn` NUMERIC ,\
`Bani` NUMERIC ,\
`Scor` NUMERIC , " , 756 ) ;
strcat ( string , "`Ucideri` NUMERIC ,\
`Decese` NUMERIC ) " , 756 ) ;
db_free_result ( db_query ( Accounts , string ) ) ;
return ( 1 ) ;
}
[/pawn]
Cum pot sa rezolv asta?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts