Domnule Gireada am o rugaminte la dumneavoastra daca se poate imi cer scuze daca nu postez unde trebuie, as dori sa adaugati daca se poate Sex si Varsta nu imi iese ma incurc in dialoguri .Multumesc!Cu stima Dan!
Edit: Am o problema am mai adaugat cate ceva la baza de date[pawn] new Query[450];
mysql_log();
SQL = mysql_connect("127.0.0.1", "root", "database", "");
mysql_format(SQL, Query, sizeof Query, "CREATE TABLE IF NOT EXISTS `players` (
`ID` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`Nume` VARCHAR( 34 ) NOT NULL ,
`Parola` VARCHAR( 151 ) NOT NULL ,
`Level` INT( 3 ) NOT NULL ,
`Varsta` INT( 3 ) NOT NULL ,
`Sex` INT( 3 ) NOT NULL ,
`Bani` INT( 7 ) NOT NULL ,
`Coins` INT( 9 ) NOT NULL ,
`Admin` INT( 2 ) NOT NULL ,
`Vip` INT( 2 ) NOT NULL ,
`Lider` INT( 2 ) NOT NULL ,
`Membru` INT( 2 ) NOT NULL ,
`Ore` INT( 10 ) NOT NULL ,
`Minute` INT( 2 ) NOT NULL ,
`Secunde` INT( 2 ) NOT NULL)");
mysql_query(SQL, Query);[/pawn]
si primesc 5 erori[pawn]C:UsersDanDesktopSA-MP Server 2gamemodesGMv3.pwn(106) : error 075: input line too long (after substitutions)
C:UsersDanDesktopSA-MP Server 2gamemodesGMv3.pwn(107) : error 037: invalid string (possibly non-terminated string)
C:UsersDanDesktopSA-MP Server 2gamemodesGMv3.pwn(107) : error 017: undefined symbol "CREATE"
C:UsersDanDesktopSA-MP Server 2gamemodesGMv3.pwn(107) : error 017: undefined symbol "TABLE"
C:UsersDanDesktopSA-MP Server 2gamemodesGMv3.pwn(107) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.[/pawn]