sirelton
Mlodszy paffner :D
Wiek: 39 Na forum: 5185 dni Posty: 42
Nick w MP: Adagio
Piwa : 180
Witam chcia?em odpali? mapke Polski Ultra Serwer[PUS] Wszystko by?o ??dnie lecz aby da? H@ lub @ trzeba mie? plik serwer.db i SQlite(ktrre posiadam) I niewiem gdzie ten plik Serwer.db sie znajduje Prosze o pomoc.
Kod: public OnGameModeInit()
{
SetGameModeText(""GameName"");
DataBase = db_open("Serwer.db");
new string[4000];
strcat(string, "CREATE TABLE IF NOT EXISTS `Vipy` (");
strcat(string, "`id` INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, ");
strcat(string, "`nick` VARCHAR UNIQUE NOT NULL, ");
strcat(string, "`vip` INTEGER DEFAULT '0' NOT NULL); ");
strcat(string, "CREATE TABLE `Fragi` (");
strcat(string, "`id` INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, ");
strcat(string, "`nick` VARCHAR UNIQUE NOT NULL, ");
strcat(string, "`arena` INTEGER DEFAULT '0' NOT NULL, ");
strcat(string, "`onede` INTEGER DEFAULT '0' NOT NULL, ");
strcat(string, "`sawnoff` INTEGER DEFAULT '0' NOT NULL); ");
strcat(string, "CREATE TABLE `Gracze` (");
strcat(string, "`id` INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, ");
strcat(string, "`login` VARCHAR UNIQUE NOT NULL, ");
strcat(string, "`haslo` VARCHAR NOT NULL, ");
strcat(string, "`score` INTEGER DEFAULT '0' NOT NULL, ");
strcat(string, "`money` INTEGER DEFAULT '0' NOT NULL, ");
strcat(string, "`zabojstw` INTEGER DEFAULT '0' NOT NULL, ");
strcat(string, "`zgonow` INTEGER DEFAULT '0' NOT NULL); ");
strcat(string, "CREATE TABLE IF NOT EXISTS `Rangi` (");
strcat(string, "`id` INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, ");
strcat(string, "`nick` VARCHAR UNIQUE NOT NULL, ");
strcat(string, "`admin` INTEGER DEFAULT '0' NOT NULL); ");
strcat(string, "CREATE TABLE `Bank` ( ");
strcat(string, "`id` INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, ");
strcat(string, "`nick` VARCHAR UNIQUE NOT NULL, ");
strcat(string, "`kasa` INTEGER DEFAULT '0' NOT NULL); ");
strcat(string, "CREATE TABLE IF NOT EXISTS `Domy` (");
strcat(string, "Nazwadomu varchar(51), ");
strcat(string, "Wlasciciel varchar(25));");
db_free_result(db_query(DataBase, string));
SendRconCommand("mapname ••»"Forum"«•• ");
UsePlayerPedAnims();
EnableStuntBonusForAll(0);
DisableInteriorEnterExits();
LoadHouseInit();