es läuft iwie jz schon, aber es liegt nicht an der for schleife ich habe sie
gleich gelassen, ich habe das system neu geschrieben und jetzt geht es..
Beiträge von JurkIt
-
-
meine tankstellen werden irgentwie nicht geladen...
ich bin noch änfänger ich mysql ich hoffe um hilfe
ich habe mysql_log(1); in OnGameModeInit aber es ist nirgens ein logfileLoadtanke:
public LoadTanke(){
for(new t; t<MAX_TANKE; t++){
new query[60 + MAX_PLAYER_NAME];
mysql_format(mycon,query, sizeof(query), "SELECT * FROM `Tankstellen` WHERE `TankID` = '%e'",t);
cache_get_field_content(0,"Name",TankInfo[t][tName]),cache_get_field_content(0,"oName",TankInfo[t][oName]),TankInfo[t][tX] = cache_get_field_content_float(0,"PosX");
TankInfo[t][tY] = cache_get_field_content_float(0,"PosY"),TankInfo[t][tZ] = cache_get_field_content_float(0,"PosZ"),TankInfo[t][Preis] = cache_get_field_content_int(0,"Preis");
TankInfo[t][sPreis] = cache_get_field_content_int(0,"Spritpreis"),TankInfo[t][Tankgeld] = cache_get_field_content_int(0,"Tankgeld");
switch(cache_get_field_content_int(0,"Owned")){
case 0: TankInfo[t][Owned] = false;
case 1: TankInfo[t][Owned] = true;
}
if(TankInfo[t][Owned] == false){
new string[128];
format(string,sizeof(string),"[Tankstellen ID: %d]\nName: %s\nPreis: %d\nTankstelle zu verkaufen!\nBenutze /tanke",t,TankInfo[t][tName],TankInfo[t][Preis]);
TankLabel[t] = Create3DTextLabel(string,Türkis,TankInfo[t][tX],TankInfo[t][tY],TankInfo[t][tZ],10,0);
AddStaticPickup(1272,2,TankInfo[t][tX],TankInfo[t][tY],TankInfo[t][tZ],0);
}
else {
new string[128];
format(string,sizeof(string),"[Tankstellen ID: %d]\nName: %s\nBesitzer: %s\nSpritpreis: %d\nBenutze /tanken",t,TankInfo[t][tName],TankInfo[t][oName],TankInfo[t][sPreis]);
TankLabel[t] = Create3DTextLabel(string,Rot,TankInfo[t][tX],TankInfo[t][tY],TankInfo[t][tZ],10,0);
AddStaticPickup(1272,2,TankInfo[t][tX],TankInfo[t][tY],TankInfo[t][tZ],0);
}
}
return 1;
} -
japp, daran hat es gelegen vielen dank.
-
könnte dir evtl helfen
stock GetWeaponNameByID(wID) {
new wName[32];
switch (wID) {
case 1 .. 17, 22 .. 43, 46: GetWeaponName(wID,wName,32);
case 0: format(wName,32,"Fist");
case 18: format(wName,32,"Molotov Cocktail");
case 44: format(wName,32,"Night Vis Goggles");
case 45: format(wName,32,"Thermal Goggles");
default: format(wName,32,"Invalid Weapon Id");
}
return wName;
}irgentwo unten sind script
-
hi
ich habe mir eine MySQL Tabelle gemacht für ein Tankstellen System
aber wenn ich es hochladen will kommen errorsTabelle:
SQLDROP TABLE IF EXISTS `Tankstellen`;CREATE TABLE `Tankstellen` ( `TankID` int(24) NOT NULL, `Name` varchar(40) NOT NULL DEFAULT 'Freie Tankstelle', `Owned` int(11) NOT NULL DEFAULT '0', `oName` varchar(30) NOT NULL DEFAULT 'The State', `PosX` float(11) NOT NULL DEFAULT '0.0', `PosY` float(11) NOT NULL DEFAULT '0.0', `PosZ` float(11) NOT NULL DEFAULT '0.0', `Preis` int(11) NOT NULL DEFAULT '250000', `Spritpreis` int(11) NOT NULL DEFAULT '10', `Tankgeld` int(11) NOT NULL DEFAULT '15000', PRIMARY KEY (`TankID`)) ENGINE=MyISAM DEFAULT CHARSET=latin1;INSERT INTO `Tankstellen` (`TankID`, `Name`, `Owned`, `oName`, `PosX`, `PosY`, `PosZ`, `Preis`, `Spritpreis`, `Tankgeld`) VALUES(0, 'Tankstelle', 0, 'The State', 1004.0070, -939.3102, 42.1797, 250000, 7, 15000),(1, 'Tankstelle', 0, 'The State', 1944.3260, -1772.9254, 13.3906, 250000, 7, 15000),(2, 'Tankstelle', 0, 'The State', -90.5515, -1169.4578, 2.4079, 250000, 7, 15000),(3, 'Tankstelle', 0, 'The State', -1609.7958, -2718.2048, 48.5391, 250000, 7, 15000),(4, 'Tankstelle', 0, 'The State', -2029.4968, 156.4366, 28.9498, 250000, 7, 15000),(5, 'Tankstelle', 0, 'The State', -2408.7590, 976.0934, 45.4175, 250000, 7, 15000),(6, 'Tankstelle', 0, 'The State', -2243.9629, -2560.6477, 31.8841, 250000, 7, 15000),(7, 'Tankstelle', 0, 'The State', -1676.6323, 414.0262, 6.9484, 250000, 7, 15000),(8, 'Tankstelle', 0, 'The State', 2202.2349, 2474.3494, 10.5258, 250000, 7, 15000),(9, 'Tankstelle', 0, 'The State', 614.9333, 1689.7418, 6.6968, 250000, 7, 15000),(10, 'Tankstelle', 0, 'The State', -1328.8250, 2677.2173, 49.7665, 250000, 7, 15000),(11, 'Tankstelle', 0, 'The State', 70.3882, 1218.6783, 18.5165, 250000, 7, 15000),(12, 'Tankstelle', 0, 'The State', -2243.9629, -2560.6477, 31.8841, 250000, 7, 15000),(13 'Tankstelle', 0, 'The State', 2113.7390, 920.1079, 10.5255, 250000, 7, 15000),(14, 'Tankstelle', 0, 'The State', -1327.7218, 2678.8723, 50.0625, 250000, 7, 15000),(15, 'Tankstelle', 0, 'The State', 2146.6143, 2748.4758, 10.3852, 250000, 7, 15000),(16, 'Tankstelle', 0, 'The State', 2639.0022, 1108.0353, 10.3852, 250000, 7, 15000),(17, 'Tankstelle', 0, 'The State', 1598.2035, 2198.6448, 10.3856, 250000, 7, 15000);
Fehler:
INSERT INTO `Tankstellen` (`TankID`, `Name`, `Owned`, `oName`, `PosX`, `PosY`, `PosZ`, `Preis`, `Spritpreis`, `Tankgeld`) VALUES (0, 'Tankstelle', 0, 'The State', 1004.0070, -939.3102, 42.1797, 250000, 7, 15000), (1, 'Tankstelle', 0, 'The State', 1944.3260, -1772.9254, 13.3906, 250000, 7, 15000), (2, 'Tankstelle', 0, 'The State', -90.5515, -1169.4578, 2.4079, 250000, 7, 15000), (3, 'Tankstelle', 0, 'The State', -1609.7958, -2718.2048, 48.5391, 250000, 7, 15000), (4, 'Tankstelle', 0, 'The State', -2029.4968, 156.4366, 28.9498, 250000, 7, 15000), (5, 'Tankstelle', 0, 'The State', -2408.7590, 976.0934, 45.4175, 250000, 7, 15000), (6, 'Tankstelle', 0, 'The State', -2243.9629, -2560.6477, 31.8841, 250000, 7, 15000), (7, 'Tankstelle', 0, 'The State', -1676.6323, 414.0262, 6.9484, 250000, 7, 15000), (8, 'Tankstelle', 0, 'The State', 2202.2349, 2474.3494, 10.5258, 250000, 7, 15000), (9, 'Tankstelle', 0, 'The State', 614.9333, 1689.7418, 6.6968, 250000, 7, 15000), (10, 'Tankstelle', 0, 'The S[...]
MySQL meldet: Dokumentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''Tankstelle', 0, 'The State', 2113.7390, 920.1079, 10.5255, 250000, 7, 15000),
(' at line 15 -
Richtig hammer
ein paar NPCs und perfekts system einbauen, ich kanns
mir schon vorstellen.10/10
-
OnGameModeInit
//Timers
SetTimer("Timer1",60000,true);
SetTimer("TachoUpdate",500,true);
SetTimer("Timer2",120000,true);
for(new v; v < MAX_VEHICLES; v++) Fuel[v] = 100,Motor[v] = false,Light[v] = false; -
für mich erscheint es unlogisch, da ich bisher nur ~20 erstellte autos habe..
sonnst aber ich es bis jetzt nirgends verwendet.
also nur wo es halt rausgegeben wird beim textdraw
public TachoUpdate(){
for(new i; i<MAX_PLAYERS; i++){
if(IsPlayerConnected(i)){
if(IsPlayerInAnyVehicle(i)){
new Float:live, string[150], speed = GetSpeed(i,true), model = GetVehicleModel(GetPlayerVehicleID(i));
GetVehicleHealth(GetPlayerVehicleID(i),live);
format(string,sizeof(string),"- Fahrzeug: %s",VehicleNames[model-400]),TextDrawSetString(Textdraw4[i],string);
format(string,sizeof(string),"- Tankart: %s",VehicleTank[model-400]),TextDrawSetString(Textdraw7[i],string);
format(string,sizeof(string),"- Zustand: %d%",floatround(live, floatround_round)/10),TextDrawSetString(Textdraw6[i],string);
format(string,sizeof(string),"Geschwindigkeit: %d Km/h",speed),TextDrawSetString(Textdraw2[i],string);
format(string,sizeof(string),"%d%",Fuel[GetPlayerVehicleID(i)]),TextDrawSetString(Textdraw12[i],string);
SetProgressBarValue(TankZeig[i], Fuel[GetPlayerVehicleID(i)]);
UpdateProgressBar(TankZeig[i],i);
}}}
return 1;
} -
also ehrlich irgentwas stimmt da nicht...
soweit ich weiss, lasse ich alles richtig abziehen
das ist der code:
public Timer2(){
for(new v; v<MAX_VEHICLES; v++){
if(Motor[v] == true){
Fuel[v] --;
if(Fuel[v] == 0){
GetVehicleParamsEx(v,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(v,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);
Motor[v] = false;
}}}
return 1;
}der timer geht immer 2 minuten und es wird 1 von 100 tank abgezogen
aber wenn ich InGame bin, wird 50 tank abgezogen, wieso? -
-
Click um den abschnitt zu sehen
Spoiler anzeigen
new VehicleTank[212][] = {
/*Landstalker*/{"Diesel"},
/*Bravura*/{"Benzin"},
/*Buffalo*/{"Benzin"},
/*Linerunner*/{"Diesel"},
/*Pereniel*/{"Benzin"},
/*Sentinel*/{"Benzin"},
/*Dumper*/{"Diesel"},
/*Firetruck*/{"Diesel"},
/*Trashmaster*/{"Diesel"},
/*Stretch*/{"Benzin"},
/*Manana*/{"Benzin"},
/*Infernus*/{"Benzin"},
/*Voodoo*/{"Benzin"},
/*Pony*/{"Diesel"},
/*Mule*/{"Diesel"},
/*Cheetah*/{"Benzin"},
/*Ambulance*/{"Diesel"},
/*Leviathan*/{"Kerosin"},
/*Moonbeam*/{"Diesel"},
/*Esperanto*/{"Benzin"},
/*Taxi*/{"Benzin"},
/*Washington*/{"Benzin"},
/*Bobcat*/{"Diesel"},
/*Mr Whoopee*/{"Diesel"},
/*BF Injection*/{"Benzin"},
/*Hunter*/{"Kerosin"},
/*Premier*/{"Benzin"},
/*Enforcer*/{"Diesel"},
/*Securicar*/{"Diesel"},
/*Banshee*/{"Benzin"},
/*Predator*/{"Benzin"},
/*Bus*/{"Diesel"},
/*Rhino*/{"Diesel"},
/*Barracks*/{"Diesel"},
/*Hotknife*/{"Benzin"},
/*Trailer*/{"Diesel"},
/*Previon*/{"Benzin"},
/*Coach*/{"Diesel"},
/*Cabbie*/{"Benzin"},
/*Stallion*/{"Benzin"},
/*Rumpo*/{"Benzin"},
/*RC Bandit*/{"Elektro"},
/*Romero*/{"Benzin"},
/*Packer*/{"Diesel"},
/*Monster Truck*/{"Benzin"},
/*Admiral*/{"Benzin"},
/*Squalo*/{"Benzin"},
/*Seasparrow*/{"Kerosin"},
/*Pizzaboy*/{"Benzin"},
/*Tram*/{"Benzin"},
/*Trailer*/{"Diesel"},
/*Turismo*/{"Benzin"},
/*Speeder*/{"Benzin"},
/*Reefer*/{"Benzin"},
/*Tropic*/{"Benzin"},
/*Flatbed*/{"Diesel"},
/*Yankee*/{"Diesel"},
/*Caddy*/{"Elektro"},
/*Solair*/{"Benzin"},
/*Berkley's RC Van*/{"Diesel"},
/*Skimmer*/{"Kerosin"},
/*PCJ-600*/{"Benzin"},
/*Faggio*/{"Benzin"},
/*Freeway*/{"Benzin"},
/*RC Baron*/{"Benzin"},
/*RC Raider*/{"Benzin"},
/*Glendale*/{"Benzin"},
/*Oceanic*/{"Benzin"},
/*Sanchez*/{"Benzin"},
/*Sparrow*/{"Kerosin"},
/*Patriot*/{"Benzin"},
/*Quad*/{"Benzin"},
/*Coastguard*/{"Benzin"},
/*Dinghy*/{"Benzin"},
/*Hermes*/{"Benzin"},
/*Sabre*/{"Benzin"},
/*Rustler*/{"Kerosin"},
/*ZR-350*/{"Benzin"},
/*Walton*/{"Diesel"},
/*Regina*/{"Benzin"},
/*Comet*/{"Benzin"},
/*BMX*/"Kein Tank",
/*Burrito*/{"Benzin"},
/*Camper*/{"Benzin"},
/*Marquis*/{"Benzin"},
/*Baggage*/{"Elektro"},
/*Dozer*/{"Diesel"},
/*Maverick*/{"Kerosin"},
/*SAN News Maverick*/{"Kerosin"},
/*Rancher*/{"Benzin"},
/*FBI Rancher*/{"Benzin"},
/*Virgo*/{"Benzin"},
/*Greenwood*/{"Benzin"},
/*Jetmax*/{"Benzin"},
/*Hotring*/{"Benzin"},
/*Sandking*/{"Benzin"},
/*Blista Compact*/{"Benzin"},
/*Police Maverick*/{"Kerosin"},
/*Boxville*/{"Diesel"},
/*Benson*/{"Diesel"},
/*Mesa*/{"Diesel"},
/*RC Goblin*/{"Benzin"},
/*Hotring Racer*/{"Benzin"},
/*Hotring Racer*/{"Benzin"},
/*Bloodring Banger*/{"Benzin"},
/*Rancher*/{"Benzin"},
/*Super GT*/{"Benzin"},
/*Elegant*/{"Benzin"},
/*Journey*/{"Diesel"},
/*Bike*/{"Kein Tank"},
/*Mountain Bike*/{"Kein Tank"},
/*Beagle*/{"Kerosin"},
/*Cropdust*/{"Kerosin"},
/*Stunt*/{"Kerosin"},
/*Tanker*/{"Diesel"},
/*RoadTrain*/{"Diesel"},
/*Nebula*/{"Benzin"},
/*Majestic*/{"Benzin"},
/*Buccaneer*/{"Benzin"},
/*Shamal*/{"Kerosin"},
/*Hydra*/{"Kerosin"},
/*FCR-900*/{"Benzin"},
/*NRG-500*/{"Benzin"},
/*HPV1000*/{"Benzin"},
/*Cement Truck*/{"Diesel"},
/*Tow Truck*/{"Diesel"},
/*Fortune*/{"Benzin"},
/*Cadrona*/{"Benzin"},
/*FBI Truck*/{"Diesel"},
/*Willard*/{"Benzin"},
/*Forklift*/{"Elektro"},
/*Tractor*/{"Diesel"},
/*Combine*/{"Diesel"},
/*Feltzer*/{"Benzin"},
/*Remington*/{"Benzin"},
/*Slamvan*/{"Benzin"},
/*Blade*/{"Benzin"},
/*Freight*/{"Diesel"},
/*Streak*/{"Diesel"},
/*Vortex*/{"Benzin"},
/*Vincent*/{"Benzin"},
/*Bullet*/{"Benzin"},
/*Clover*/{"Benzin"},
/*Sadler*/{"Diesel"},
/*Firetruck*/{"Diesel"},
/*Hustler*/{"Benzin"},
/*Intruder*/{"Benzin"},
/*Primo*/{"Benzin"},
/*Cargobob*/{"Kerosin"},
/*Tampa*/{"Benzin"},
/*Sunrise*/{"Benzin"},
/*Merit*/{"Benzin"},
/*Utility*/{"Diesel"},
/*Nevada*/{"Kerosin"},
/*Yosemite*/{"Benzin"},
/*Windsor*/{"Benzin"},
/*Monster Truck*/{"Benzin"},
/*Monster Truck*/{"Benzin"},
/*Uranus*/{"Benzin"},
/*Jester*/{"Benzin"},
/*Sultan*/{"Benzin"},
/*Stratum*/{"Benzin"},
/*Elegy*/{"Benzin"},
/*Raindance*/{"Kerosin"},
/*RC Tiger*/{"Elektro"},
/*Flash*/{"Benzin"},
/*Tahoma*/{"Benzin"},
/*Savanna*/{"Benzin"},
/*Bandito*/{"Benzin"},
/*Freight*/{"Diesel"},
/*Trailer*/{"Diesel"},
/*Kart*/{"Benzin"},
/*Mower*/{"Benzin"},
/*Duneride*/{"Benzin"},
/*Sweeper*/{"Benzin"},
/*Broadway*/{"Benzin"},
/*Tornado*/{"Benzin"},
/*AT-400*/{"Kerosin"},
/*DFT-30*/{"Diesel"},
/*Huntley*/{"Benzin"},
/*Stafford*/{"Benzin"},
/*BF-400*/{"Benzin"},
/*Newsvan*/{"Diesel"},
/*Tug*/{"Benzin"},
/*Trailer*/{"Diesel"},
/*Emperor*/{"Benzin"},
/*Wayfarer*/{"Benzin"},
/*Euros*/{"Benzin"},
/*Hotdog*/{"Diesel"},
/*Club*/{"Benzin"},
/*Trailer*/{"Diesel"},
/*Trailer*/{"Diesel"},
/*Andromada*/{"Kerosin"},
/*Dodo*/{"Kerosin"},
/*RC Cam*/{"Elektro"},
/*Launch*/{"Benzin"},
/*Police Car (LSPD)*/{"Benzin"},
/*Police Car (SFPD)*/{"Benzin"},
/*Police Car (LVPD)*/{"Benzin"},
/*Police Ranger*/{"Diesel"},
/*Picador*/{"Diesel"},
/*S.W.A.T. Van*/{"Diesel"},
/*Alpha*/{"Benzin"},
/*Phoenix*/{"Benzin"},
/*Glendale*/{"Benzin"},
/*Sadler*/{"Diesel"},
/*Luggage Trailer*/{"Elektro"},
/*Luggage Trailer*/{"Elektro"},
/*Stair Trailer*/{"Elektro"},
/*Boxville*/{"Diesel"},
/*Farm Plow*/{"Elektro"},
/*Utility Trailer*/{"Elektro"}
};
benutzung:
new string[50];
format(string,50,"deine Tankart ist %s",VehicleTank[GetVehicleModel(GetPlayerVehicleID(playerid))-400]);
SendClientMessage(playerid,0x00FF00FF,string); -
Daran wirds wohl liegen also an der schleife sonnst hab ich nur einen secundentimer
-
-
Hi mir war langweilig und ich habe für euch eine signatur gemacht
es ist mein erstes werk mit photoshop also seid nicht so grob.. -
Hey
ich bin fertig mit dem tacho aber es geht natürlich nicht
nun weiss ich nicht wo das problem ist, das die textdraws nicht aktuallisieren, und
ingame leggt es etwas..
SetTimer("TachoUpdate",500,true);
forward TachoUpdate();
public TachoUpdate(){
for(new i; i>MAX_PLAYERS; i++){
if(IsPlayerConnected(i)){
if(IsPlayerInAnyVehicle(i)){
new Float:live, string[50], speed = GetSpeed(i,true), model = GetVehicleModel(GetPlayerVehicleID(i));
GetVehicleHealth(GetPlayerVehicleID(i),live);
format(string,sizeof(string),"- Fahrzeug: %s",VehicleNames[model-400]),TextDrawSetString(Textdraw4[i],string);
format(string,sizeof(string),"- Tankart: %s",VehicleTank[model-400]),TextDrawSetString(Textdraw7[i],string);
format(string,sizeof(string),"- Zustand: %d%",floatround(live, floatround_round)/10),TextDrawSetString(Textdraw6[i],string);
format(string,sizeof(string),"Geschwindigkeit: %d",speed),TextDrawSetString(Textdraw2[i],string);
}}}
return 1;
} -
wie hast du es den aufgebaut?
gib mal einen screen von deinen programm -
die log sagt das, ich verstehe nicht wirklich was das heißen soll
Code[13:22:32] [ERROR] mysql_format - destination size is too small[13:22:32] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1[13:22:37] [ERROR] mysql_format - destination size is too small[13:22:37] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck`' at line 1[13:29:28] [ERROR] mysql_format - destination size is too small[13:29:28] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1[13:29:32] [ERROR] mysql_format - destination size is too small[13:29:32] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck`' at line 1[13:32:40] [ERROR] mysql_format - destination size is too small[13:32:40] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` =' at line 1[13:36:07] [ERROR] mysql_format - destination size is too small[13:36:07] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1[13:36:09] [ERROR] mysql_format - destination size is too small[13:36:09] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck`' at line 1[18:21:31] [ERROR] mysql_format - destination size is too small[18:21:31] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1[18:21:34] [ERROR] mysql_format - destination size is too small[18:21:34] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck`' at line 1[18:23:37] [ERROR] mysql_format - destination size is too small[18:23:37] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` =' at line 1[18:26:19] [ERROR] mysql_format - destination size is too small[18:26:19] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1[18:26:23] [ERROR] mysql_format - destination size is too small[18:26:23] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck`' at line 1[18:29:08] [ERROR] mysql_format - destination size is too small[18:29:08] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1[18:29:18] [ERROR] mysql_format - destination size is too small[18:29:18] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck`' at line 1[18:39:47] [ERROR] mysql_format - destination size is too small[18:39:47] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` =' at line 1[18:43:51] [ERROR] mysql_format - destination size is too small[18:43:51] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` =' at line 1[18:55:50] [ERROR] mysql_format - destination size is too small[18:55:50] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1[18:55:50] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1[18:55:53] [ERROR] mysql_format - destination size is too small[18:55:53] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck`' at line 1[18:59:05] [ERROR] mysql_format - destination size is too small[18:59:05] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` =' at line 1[22:14:57] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` = '0',`Payday` = '60',`Bank` = '0' WHERE `Name` = '_D' at line 1[22:16:35] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` = '0',`Payday` = '58',`Bank` = '0' WHERE `Name` = '_D' at line 1[22:30:20] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` = '0',`Payday` = '60',`Bank` = '0' WHERE `Name` = 'Am' at line 1[22:30:27] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` = '0',`Payday` = '60',`Bank` = '0' WHERE `Name` = 'Am' at line 1[22:30:57] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` = '0',`Payday` = '0',`Bank` = '0' WHERE `Name` = 'Ama' at line 1[22:31:50] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` = '0',`Payday` = '-1',`Bank` = '0' WHERE `Name` = 'Am' at line 1[14:41:17] [ERROR] CMySQLQuery::Execute[()] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Geschlecht` = ,`Paycheck` = '0',`Payday` = '-3',`Bank` = '0' WHERE `Name` = 'Am' at line 1
-
wow leichtsinnsfehler ey ich habs mir ewig angesehen vielen dank!
-
du musst einfach nach jeder funktion ";" verwenden und nicht ","
das macht keinen unterschied aber ich habe es auch so schon probiert und es geht trotzdem nicht
-
new Text:Textdraw0,Text:Textdraw1;
new Text:Textdraw3,Text:Textdraw5;
new Text:Textdraw4[MAX_PLAYERS],Text:Textdraw2[MAX_PLAYERS];
new Text:Textdraw6[MAX_PLAYERS],Text:Textdraw7[MAX_PLAYERS];
new Text:Textdraw8,Text:Textdraw9,Text:Textdraw10;