Beiträge von luiluiboy014
-
-
habe ich das hier
[Sun Nov 25 10:57:31.241887 2018] [fcgid:warn] [pid 17659] [client 178.200.69.235:55425] mod_fcgid: stderr: PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in
[Sun Nov 25 10:57:31.241928 2018] [fcgid:warn] [pid 17659] [client 178.200.69.235:55425] mod_fcgid: stderr: Stack trace:
[Sun Nov 25 10:57:31.241934 2018] [fcgid:warn] [pid 17659] [client 178.200.69.235:55425] mod_fcgid: stderr: #0 {main}
[Sun Nov 25 10:57:31.241938 2018] [fcgid:warn] [pid 17659] [client 178.200.69.235:55425] mod_fcgid: stderr: thrown indas wäre das hier
$mysql_connect = @mysql_connect("$dbhost", "$dbuname", "$dbpass") or die(mysql_error());
mysql_select_db("$dbname") or die(mysql_error());und im index ist das der hier
$checkmysql = @mysql_connect("$dbhost", "$dbuname", "$dbpass") or die(mysql_error());
mysql_select_db("$dbname") or die(mysql_error()); -
Hey leute ich möchte ja mit der zukunft mit kommen und frage heuch um hilfe was muss ich ändern um von php 5.6 das panel auf php 7 zu ändern
hier ein beispiel voon php 5.6
require_once('functions/secure.php');$checkmysql = @mysql_connect("$dbhost", "$dbuname", "$dbpass") or die(mysql_error());
mysql_select_db("$dbname") or die(mysql_error());$mysqli = mysqli_connect("$dbhost", "$dbuname", "$dbpass", "$dbname") or die(mysqli_connect_error());
$GLOBALS['sql'] = $mysqli;$GLOBALS['$prefix'] = $dbprefix;
$GLOBALS['prefix'] = $dbprefix;require_once('shop/shop.php');
was muss ich tuhen um auf php 7 zu ändern bitte um Hilfe MfG
-
hatt sich erledigt
-
kommt nix mehr die funktion funktioniert nicht
-
Hallo Leute wie bekomme ich das so hin das alles in einer variabel ist weil hier kann ich nur eine ausfürhen ob icon oder die farbe
var $toast = $(settings.toast.template.replace('%priority%', priority)).hide().css(settings.toast.css).addClass(settings.toast['class']);
var $toast = $(settings.toast.template.replace('%icont%', icont)).hide().css(settings.toast.css).addClass(settings.toast['class']);wie bekomme ich alles in ein $toast rein das beide gehen
Bitte um Hilfe -
hey leute habe ein kleines problem mit dem onclick beim klicken kommt der onclick ladet aber durch ohne den button op ticket schlßen oder abrechen der schlißt das ticket sofort kann da einer helfen
PHP
Alles anzeigenfunction myFunction() { swal({ title: '<?php echo LoadLang('#SUPPORTCLOSECHECK#'); ?>', icon: 'info', buttons: { cancel: { text: 'Cancel', value: null, visible: true, className: 'btn btn-default', closeModal: true, }, confirm: { text: 'Primary', value: true, visible: true, className: 'btn btn-primary', closeModal: true } } }); }
PHP<button name='close' value='' class='btn btn-outline-danger'"; ?> onClick='myFunction()' <?php echo"/> ".LoadLang('#CLOSE#')." </button>
bitte um hilfe
so war der code aus und möchte den ändern
-
TypeError: a is undefined[Weitere Informationen] <anonym> User/Downloads:322:13
oder gibt es eine andere möglich keit
-
wo muss ich den einfügen habe noch nicht mit der console gearbeitete
echo '<script>console.log("'.$filename.'", "'. basename($_SERVER['SCRIPT_FILENAME']).'");</script>'; -
wie bekomme ich das hin habe echo weg und if gemacht jede seite steht das
<?php if(!empty($_SERVER['SCRIPT_FILENAME']) && 'downloads.php' == basename($_SERVER['SCRIPT_FILENAME'])):
die();
endif;function menuIsActive ($filename)
{
if(basename($_SERVER['SCRIPT_FILENAME']) == $filename)
{
echo ' class="active" ';
}
}und das hier habe ich im sidebar
<li <?php menuIsActive("downloads.php"); ?>><!-- Downloads Begin -->wird aber nicht angezeigt der aktive
-
hey leute brauche bissen hilfe ich möchte eine funktion mit ative bat in sidebar haben und brauche bissen hilfe dabei ich hatte was gefunden aber es geht nicht hoffe ihr könnt mir Helfen der code geht nicht Bitte um hilfe
-
null
string '/images/avatar/10000_285x285.png' (length=36)
var_dump($_SESSION['costumerid']);
var_dump($filename4);´so geht das
PHP
Alles anzeigen<?php $filename1 = '/images/avatar/'.$_SESSION["customerid"].'_285x285.jpg'; $filename2 = '/images/avatar/'.$_SESSION["customerid"].'_285x285.jpeg'; $filename3 = '/images/avatar/'.$_SESSION["customerid"].'_285x285.gif'; $filename4 = '/images/avatar/'.$_SESSION["customerid"].'_285x285.png'; if (!file_exists($filename1) || file_exists($filename2) || file_exists($filename3) || file_exists($filename4)) { if(!file_exists($filename1)){echo "<img src='$filename1'alt='' class='rounded'></img>";} if(!file_exists($filename2)){echo "<img src='$filename2'alt='' class='rounded'></img>";} if(!file_exists($filename3)){echo "<img src='$filename3'alt='' class='rounded'></img>";} if(!file_exists($filename4)){echo "<img src='$filename4'alt='' class='rounded'></img>";} } else { echo "<img src='/images/avatar/nopic_285x285.jpg'alt='' class='rounded'></img>"; } ?>
-
die costumerid wird zu geteilt wie der pfad auch aber es wird nix angezeigt wird auch kein error im log angezeigt
wenn ich so mache wird der voll angezeigt
if (file_exists($filename1) file_exists($filename2) file_exists($filename3) file_exists($filename4)) {
if(file_exists($filename1)){echo "<img width='265px' src='$filename1'>";}
if(file_exists($filename2)){echo "<img width='265px' src='$filename2'>";}
if(file_exists($filename3)){echo "<img width='265px' src='$filename3'>";}
if(file_exists($filename4)){echo "<img width='265px' src='$filename4'>";}} else {
echo "<img src='$filename4' alt='' class='rounded'>";
} -
das funktioniert nur die hier nicht
if(file_exists($filename1)){echo "<img width='265px' src='$filename1'>";}
if(file_exists($filename2)){echo "<img width='265px' src='$filename2'>";}
if(file_exists($filename3)){echo "<img width='265px' src='$filename3'>";}
if(file_exists($filename4)){echo "<img width='265px' src='$filename4'>";} -
hey leute habe ein kleines problem weil der letzte bild funktioniert aber warum die anderen nicht ist ein retzel ist igend was falsch
Code
Alles anzeigen$filename1 = '/images/avatar/'.$_SESSION["customerid"].'_285x285.jpg'; $filename2 = '/images/avatar/'.$_SESSION["customerid"].'_285x285.jpeg'; $filename3 = '/images/avatar/'.$_SESSION["customerid"].'_285x285.gif'; $filename4 = '/images/avatar/'.$_SESSION["customerid"].'_285x285.png'; if (file_exists($filename1) || file_exists($filename2) || file_exists($filename3) || file_exists($filename4)) { if(file_exists($filename1)){echo "<img width='265px' src='$filename1'>";} if(file_exists($filename2)){echo "<img width='265px' src='$filename2'>";} if(file_exists($filename3)){echo "<img width='265px' src='$filename3'>";} if(file_exists($filename4)){echo "<img width='265px' src='$filename4'>";} } else { echo "<img src='/images/avatar/nopic_285x285.jpg' alt='' class='rounded'>"; } syntax error, unexpected '_285x285' (T_STRING), expecting ',' or ';'
es ist ein bild drine mit png aber wird nicht angezeigt kann da einer helfen
MfG Lui -
hey leute hoffe einer kann mir halfen es wird alles doppelt angezeigtr was unter dem hier kommt
PHP
Alles anzeigen$a = mysql_query("select * from ".$GLOBALS['$prefix']."supportticketmsg WHERE ticketid='".mysql_real_escape_string($_GET['id'])."' AND active = '0' ORDER BY id DESC"); while($b = mysql_fetch_array($a)){ extract($b); $ticketdate = date("d.m.Y \- H:i", $date);
ich will nur das die uhr und datum richtig enschlüsselt werden bitte um hilfe
-
Hey Leute habe ein Kleines Problem weiß nicht woran das liegen kann kann mir da einer Helfen MfG Lui
[debug] Run time error 4: "Array index out of bounds"
[debug] Attempted to read/write array element at negative index -400
[debug] AMX backtrace:
[debug] #0 00271e7c in public Tachometer (12) from GeTmyselfmade.amx
public Tachometer(playerid)
{
new Float:Speedo_Hp,Float:TankInProzent,string[128];
new vehicleid = GetPlayerVehicleID(playerid);
GetVehicleHealth(vehicleid,Speedo_Hp);
if(vFahrzeug[vehicleid][Handbremse] == 0)
{
GetVehiclePos(vehicleid,vFahrzeug[vehicleid][OldVehPos][0],vFahrzeug[vehicleid][OldVehPos][1],vFahrzeug[vehicleid][OldVehPos][2]);
GetVehicleZAngle(vehicleid,vFahrzeug[vehicleid][OldVehPos][3]);
}
vFahrzeug[vehicleid][Kilometer] += GetDistanceToLastPoint(vehicleid);
TankInProzent = VehicleInfo[GetVehicleModel(vehicleid)-400][vtankvolumen]/100;
if(Motor[vehicleid] == true)
{
vFahrzeug[vehicleid][Tankkm] += GetDistanceToLastPoint(vehicleid);
if((vFahrzeug[vehicleid][Tankkm]/1000) >= 1)
{
vFahrzeug[vehicleid][Tank] -= VehicleInfo[GetVehicleModel(vehicleid)-400][vtankverbrauch];
vFahrzeug[vehicleid][Tankkm] = 0;
}
}/*if(Spieler[playerid][pShowVehInfo] == 0)
{
//PlayerTextDrawShow(playerid,INFOdraw[playerid][3]);
PlayerTextDrawShow(playerid,INFOdraw[playerid][1]);
PlayerTextDrawShow(playerid,INFOdraw[playerid][3]),PlayerTextDrawSetString(playerid,INFOdraw[playerid][3],"~b~Taste Z:~n~~w~Infobox ein-/ausschalten~n~~b~Taste Num2:~n~~w~Motor ein-/ausschalten~n~~b~Taste Num8:~n~~w~Licht ein-/ausschalten~n~~b~Taste Num4:~n~~w~Radiomenu anzeigen~n~~b~Taste Num6:~n~~w~Handbremse ein-/ausschalten~n~~b~Fahrzeugkontrolle:~n~~w~/cv");
}*/else
PlayerTextDrawHide(playerid,INFOdraw[playerid][1]);
PlayerTextDrawHide(playerid,INFOdraw[playerid][3]);
PlayerTextDrawShow(playerid,Tacho[playerid][0]);
PlayerTextDrawShow(playerid,Tacho[playerid][1]);
PlayerTextDrawShow(playerid,Tacho[playerid][2]);
PlayerTextDrawShow(playerid,Tacho[playerid][3]);
PlayerTextDrawShow(playerid,Tacho[playerid][15]);
PlayerTextDrawShow(playerid,Tacho[playerid][16]);
PlayerTextDrawShow(playerid,Tacho[playerid][17]);
PlayerTextDrawShow(playerid,Tacho[playerid][18]);
//==================================================================
if(Speedo_Hp < 450){ format(string,sizeof(string),"~r~%s",VehicleDefinations[GetVehicleModel(vehicleid)-400]); }
else if(Speedo_Hp < 750){ format(string,sizeof(string),"~y~%s",VehicleDefinations[GetVehicleModel(vehicleid)-400]); }
else if(Speedo_Hp <= 1000){ format(string,sizeof(string),"~g~%s",VehicleDefinations[GetVehicleModel(vehicleid)-400]); }
PlayerTextDrawSetString(playerid,Tacho[playerid][1],string);//fahrzeugnamen anzeige
format(string,sizeof(string),"%i Km/h",GetVehicleSpeed(vehicleid));
PlayerTextDrawSetString(playerid,Tacho[playerid][2],string);//Km/h anzeige
//format(string,sizeof(string),"Km: ~w~%i",vFahrzeug[vehicleid][Kilometer]/1000);
format(string,sizeof(string),"Km: ~w~%i.%i",vFahrzeug[vehicleid][Kilometer]/1000,vFahrzeug[vehicleid][Kilometer]%1000);
PlayerTextDrawSetString(playerid,Tacho[playerid][18],string);//digitale kilometeranzeige/stand
PlayerTextDrawSetString(playerid,Tacho[playerid][16],"--");//digitale tankanzeige
if(GetVehicleModel(vehicleid) != 509 && GetVehicleModel(vehicleid) != 481 && GetVehicleModel(vehicleid) != 510 && !IsVehAZug(vehicleid))
{
format(string,sizeof(string),"%.2f L",vFahrzeug[vehicleid][Tank]);
PlayerTextDrawSetString(playerid,Tacho[playerid][16],string);//digitale tankanzeige
if(vFahrzeug[vehicleid][Tank]/TankInProzent == 100)
{
PlayerTextDrawShow(playerid,Tacho[playerid][4]);//100
PlayerTextDrawHide(playerid,Tacho[playerid][5]);//90
PlayerTextDrawHide(playerid,Tacho[playerid][6]);//80
PlayerTextDrawHide(playerid,Tacho[playerid][7]);//65
PlayerTextDrawHide(playerid,Tacho[playerid][8]);//50
PlayerTextDrawHide(playerid,Tacho[playerid][9]);//40
PlayerTextDrawHide(playerid,Tacho[playerid][10]);//30
PlayerTextDrawHide(playerid,Tacho[playerid][11]);//20
PlayerTextDrawHide(playerid,Tacho[playerid][12]);//10
PlayerTextDrawHide(playerid,Tacho[playerid][13]);//5
PlayerTextDrawHide(playerid,Tacho[playerid][14]);//0
}
else if(vFahrzeug[vehicleid][Tank]/TankInProzent >= 90)
{
PlayerTextDrawHide(playerid,Tacho[playerid][4]);//100
PlayerTextDrawShow(playerid,Tacho[playerid][5]);//90
PlayerTextDrawHide(playerid,Tacho[playerid][6]);//80
PlayerTextDrawHide(playerid,Tacho[playerid][7]);//65
PlayerTextDrawHide(playerid,Tacho[playerid][8]);//50
PlayerTextDrawHide(playerid,Tacho[playerid][9]);//40
PlayerTextDrawHide(playerid,Tacho[playerid][10]);//30
PlayerTextDrawHide(playerid,Tacho[playerid][11]);//20
PlayerTextDrawHide(playerid,Tacho[playerid][12]);//10
PlayerTextDrawHide(playerid,Tacho[playerid][13]);//5
PlayerTextDrawHide(playerid,Tacho[playerid][14]);//0
}
else if(vFahrzeug[vehicleid][Tank]/TankInProzent >= 80)
{
PlayerTextDrawHide(playerid,Tacho[playerid][4]);//100
PlayerTextDrawHide(playerid,Tacho[playerid][5]);//90
PlayerTextDrawShow(playerid,Tacho[playerid][6]);//80
PlayerTextDrawHide(playerid,Tacho[playerid][7]);//65
PlayerTextDrawHide(playerid,Tacho[playerid][8]);//50
PlayerTextDrawHide(playerid,Tacho[playerid][9]);//40
PlayerTextDrawHide(playerid,Tacho[playerid][10]);//30
PlayerTextDrawHide(playerid,Tacho[playerid][11]);//20
PlayerTextDrawHide(playerid,Tacho[playerid][12]);//10
PlayerTextDrawHide(playerid,Tacho[playerid][13]);//5
PlayerTextDrawHide(playerid,Tacho[playerid][14]);//0
}
else if(vFahrzeug[vehicleid][Tank]/TankInProzent >= 65)
{
PlayerTextDrawHide(playerid,Tacho[playerid][4]);//100
PlayerTextDrawHide(playerid,Tacho[playerid][5]);//90
PlayerTextDrawHide(playerid,Tacho[playerid][6]);//80
PlayerTextDrawShow(playerid,Tacho[playerid][7]);//65
PlayerTextDrawHide(playerid,Tacho[playerid][8]);//50
PlayerTextDrawHide(playerid,Tacho[playerid][9]);//40
PlayerTextDrawHide(playerid,Tacho[playerid][10]);//30
PlayerTextDrawHide(playerid,Tacho[playerid][11]);//20
PlayerTextDrawHide(playerid,Tacho[playerid][12]);//10
PlayerTextDrawHide(playerid,Tacho[playerid][13]);//5
PlayerTextDrawHide(playerid,Tacho[playerid][14]);//0
}
else if(vFahrzeug[vehicleid][Tank]/TankInProzent >= 50)
{
PlayerTextDrawHide(playerid,Tacho[playerid][4]);//100
PlayerTextDrawHide(playerid,Tacho[playerid][5]);//90
PlayerTextDrawHide(playerid,Tacho[playerid][6]);//80
PlayerTextDrawHide(playerid,Tacho[playerid][7]);//65
PlayerTextDrawShow(playerid,Tacho[playerid][8]);//50
PlayerTextDrawHide(playerid,Tacho[playerid][9]);//40
PlayerTextDrawHide(playerid,Tacho[playerid][10]);//30
PlayerTextDrawHide(playerid,Tacho[playerid][11]);//20
PlayerTextDrawHide(playerid,Tacho[playerid][12]);//10
PlayerTextDrawHide(playerid,Tacho[playerid][13]);//5
PlayerTextDrawHide(playerid,Tacho[playerid][14]);//0
}
else if(vFahrzeug[vehicleid][Tank]/TankInProzent >= 40)
{
PlayerTextDrawHide(playerid,Tacho[playerid][4]);//100
PlayerTextDrawHide(playerid,Tacho[playerid][5]);//90
PlayerTextDrawHide(playerid,Tacho[playerid][6]);//80
PlayerTextDrawHide(playerid,Tacho[playerid][7]);//65
PlayerTextDrawHide(playerid,Tacho[playerid][8]);//50
PlayerTextDrawShow(playerid,Tacho[playerid][9]);//40
PlayerTextDrawHide(playerid,Tacho[playerid][10]);//30
PlayerTextDrawHide(playerid,Tacho[playerid][11]);//20
PlayerTextDrawHide(playerid,Tacho[playerid][12]);//10
PlayerTextDrawHide(playerid,Tacho[playerid][13]);//5
PlayerTextDrawHide(playerid,Tacho[playerid][14]);//0
}
else if(vFahrzeug[vehicleid][Tank]/TankInProzent >= 30)
{
PlayerTextDrawHide(playerid,Tacho[playerid][4]);//100
PlayerTextDrawHide(playerid,Tacho[playerid][5]);//90
PlayerTextDrawHide(playerid,Tacho[playerid][6]);//80
PlayerTextDrawHide(playerid,Tacho[playerid][7]);//65
PlayerTextDrawHide(playerid,Tacho[playerid][8]);//50
PlayerTextDrawHide(playerid,Tacho[playerid][9]);//40
PlayerTextDrawShow(playerid,Tacho[playerid][10]);//30
PlayerTextDrawHide(playerid,Tacho[playerid][11]);//20
PlayerTextDrawHide(playerid,Tacho[playerid][12]);//10
PlayerTextDrawHide(playerid,Tacho[playerid][13]);//5
PlayerTextDrawHide(playerid,Tacho[playerid][14]);//0
}
else if(vFahrzeug[vehicleid][Tank]/TankInProzent >= 20)
{
PlayerTextDrawHide(playerid,Tacho[playerid][4]);//100
PlayerTextDrawHide(playerid,Tacho[playerid][5]);//90
PlayerTextDrawHide(playerid,Tacho[playerid][6]);//80
PlayerTextDrawHide(playerid,Tacho[playerid][7]);//65
PlayerTextDrawHide(playerid,Tacho[playerid][8]);//50
PlayerTextDrawHide(playerid,Tacho[playerid][9]);//40
PlayerTextDrawHide(playerid,Tacho[playerid][10]);//30
PlayerTextDrawShow(playerid,Tacho[playerid][11]);//20
PlayerTextDrawHide(playerid,Tacho[playerid][12]);//10
PlayerTextDrawHide(playerid,Tacho[playerid][13]);//5
PlayerTextDrawHide(playerid,Tacho[playerid][14]);//0
}
else if(vFahrzeug[vehicleid][Tank]/TankInProzent >= 10)
{
PlayerTextDrawHide(playerid,Tacho[playerid][4]);//100
PlayerTextDrawHide(playerid,Tacho[playerid][5]);//90
PlayerTextDrawHide(playerid,Tacho[playerid][6]);//80
PlayerTextDrawHide(playerid,Tacho[playerid][7]);//65
PlayerTextDrawHide(playerid,Tacho[playerid][8]);//50
PlayerTextDrawHide(playerid,Tacho[playerid][9]);//40
PlayerTextDrawHide(playerid,Tacho[playerid][10]);//30
PlayerTextDrawHide(playerid,Tacho[playerid][11]);//20
PlayerTextDrawShow(playerid,Tacho[playerid][12]);//10
PlayerTextDrawHide(playerid,Tacho[playerid][13]);//5
PlayerTextDrawHide(playerid,Tacho[playerid][14]);//0
}
else if(vFahrzeug[vehicleid][Tank]/TankInProzent >= 5)
{
PlayerTextDrawHide(playerid,Tacho[playerid][4]);//100
PlayerTextDrawHide(playerid,Tacho[playerid][5]);//90
PlayerTextDrawHide(playerid,Tacho[playerid][6]);//80
PlayerTextDrawHide(playerid,Tacho[playerid][7]);//65
PlayerTextDrawHide(playerid,Tacho[playerid][8]);//50
PlayerTextDrawHide(playerid,Tacho[playerid][9]);//40
PlayerTextDrawHide(playerid,Tacho[playerid][10]);//30
PlayerTextDrawHide(playerid,Tacho[playerid][11]);//20
PlayerTextDrawHide(playerid,Tacho[playerid][12]);//10
PlayerTextDrawShow(playerid,Tacho[playerid][13]);//5
PlayerTextDrawHide(playerid,Tacho[playerid][14]);//0
}
else if(vFahrzeug[vehicleid][Tank]/TankInProzent >= 0)
{
PlayerTextDrawHide(playerid,Tacho[playerid][4]);//100
PlayerTextDrawHide(playerid,Tacho[playerid][5]);//90
PlayerTextDrawHide(playerid,Tacho[playerid][6]);//80
PlayerTextDrawHide(playerid,Tacho[playerid][7]);//65
PlayerTextDrawHide(playerid,Tacho[playerid][8]);//50
PlayerTextDrawHide(playerid,Tacho[playerid][9]);//40
PlayerTextDrawHide(playerid,Tacho[playerid][10]);//30
PlayerTextDrawHide(playerid,Tacho[playerid][11]);//20
PlayerTextDrawHide(playerid,Tacho[playerid][12]);//10
PlayerTextDrawHide(playerid,Tacho[playerid][13]);//5
PlayerTextDrawShow(playerid,Tacho[playerid][14]);//0
}
}
GetVehiclePos(vehicleid,vFahrzeug[vehicleid][Xs],vFahrzeug[vehicleid][Ys],vFahrzeug[vehicleid][Zs]);
//==================================================================
if(Spieler[playerid][InFahrSchulPruefung] == 1)
{
if(Spieler[playerid][pSchulungsCPautolic] != 0 || Spieler[playerid][pSchulungsCPmotorbikelic] != 0 || Spieler[playerid][pSchulungsCProllerlic] != 0)
{
if(GetVehicleSpeed(vehicleid) > 80)
{
if(gettime() > Spieler[playerid][pSchulungsAntiSpam])
{
Spieler[playerid][pSchulungsWARNS]++;
Spieler[playerid][pSchulungsAntiSpam] = gettime() + 10;
format(string,sizeof(string),"Du hast die Maximalgeschwindigkeit von 80 Km/h überschritten! Verwarnungen %i/3",Spieler[playerid][pSchulungsWARNS]);
SCM(playerid,ROT,string);
CreateBox(playerid,"Info","~w~Nicht so ~r~schnell!");
}
}
if(Spieler[playerid][pSchulungsWARNS] >= 3)
{
SCM(playerid,ROT,"Deine Prüfung wurde abgebrochen! Du hast nicht bestanden.");
CreateBox(playerid,"Info","~w~Du bist ~r~Durchgefallen!");
Spieler[playerid][pSchulungsCPautolic] = 0;
Spieler[playerid][pSchulungsCPmotorbikelic] = 0;
Spieler[playerid][pSchulungsCProllerlic] = 0;
Spieler[playerid][pSchulungsWARNS] = 0;
RemovePlayerFromVehicle(playerid);
DisablePlayerCheckpoint(playerid);
SetPlayerPosEx(playerid,-2033.4276,-117.4092,1035.1719);
SetPlayerInterior(playerid,3);
SetPlayerVirtualWorld(playerid,0);
Spieler[playerid][InFahrSchulPruefung] = 0;
DeleteVehicle(Spieler[playerid][pSchulungsVEH]);
Spieler[playerid][pSchulungsVEH] = -1;
}
}
}
return 1;
} -
Ich kann auch noch felfen schreib eine pn
-
Hey Leute habe Kleines Problem kann mir einer helfen hier bei
[09:40:18] [ERROR] error #2013 while executing query "UPDATE ML_gangwar SET GangWarZoneOwner='0',GangWarZoneAttacker='0',War_OwnerPoints='0',War_AttackerPoints='0',War_Started='0',War_Time='0' WHERE GangZoneID='0'": Lost connection to MySQL server during query
[16:00:44] [ERROR] error #1927 while executing query "UPDATE ML_stuff SET WLS='0',WSF='5',WLV='0'": Connection was killed (C:\Users\Jerem\Desktop\Ml Server\Server\gamemodes\GeTmyselfmade.pwn:60891)
[19:12:53] [ERROR] error #1927 while executing query "UPDATE ML_gangwar SET GangWarZoneOwner='0',GangWarZoneAttacker='0',War_OwnerPoints='0',War_AttackerPoints='0',War_Started='0',War_Time='0' WHERE GangZoneID='0'": Connection was killed (C:\Users\Jerem\Desktop\Ml Server\Server\gamemodes\GeTmyselfmade.pwn:65835 -> C:\Users\Jerem\Desktop\Ml Server\Server\gamemodes\GeTmyselfmade.pwn:38290)
[19:12:53] [ERROR] error #2013 while executing query "UPDATE ML_gangwar SET GangWarZoneOwner='5',GangWarZoneAttacker='0',War_OwnerPoints='0',War_AttackerPoints='0',War_Started='0',War_Time='0' WHERE GangZoneID='1'": Lost connection to MySQL server during query (C:\Users\Jerem\Desktop\Ml Server\Server\gamemodes\GeTmyselfmade.pwn:65835 -> C:\Users\Jerem\Desktop\Ml Server\Server\gamemodes\GeTmyselfmade.pwn:38290)
[10:50:30] [ERROR] error #1927 while executing query "UPDATE ML_gangwar SET GangWarZoneOwner='0',GangWarZoneAttacker='0',War_OwnerPoints='0',War_AttackerPoints='0',War_Started='0',War_Time='0' WHERE GangZoneID='0'": Connection was killed (C:\Users\Jerem\Desktop\Ml Server\Server\gamemodes\GeTmyselfmade.pwn:65835 -> C:\Users\Jerem\Desktop\Ml Server\Server\gamemodes\GeTmyselfmade.pwn:38290)
[10:50:30] [ERROR] error #2013 while executing query "UPDATE ML_gangwar SET GangWarZoneOwner='5',GangWarZoneAttacker='0',War_OwnerPoints='0',War_AttackerPoints='0',War_Started='0',War_Time='0' WHERE GangZoneID='1'": Lost connection to MySQL server during query (C:\Users\Jerem\Desktop\Ml Server\Server\gamemodes\GeTmyselfmade.pwn:65835 -> C:\Users\Jerem\Desktop\Ml Server\Server\gamemodes\GeTmyselfmade.pwn:38290)
[11:05:55] [ERROR] error #1927 while executing query "UPDATE ML_stuff SET WLS='0',WSF='7',WLV='0'": Connection was killed (C:\Users\Jerem\Desktop\Ml Server\Server\gamemodes\GeTmyselfmade.pwn:60891)
while(gw<sizeof(GangwarZones))
{
mysql_format(MySqlConnection,mainquery,sizeof(mainquery),"UPDATE "#SERVERTAG"_gangwar SET GangWarZoneOwner='%d',GangWarZoneAttacker='%d',War_OwnerPoints='%d',War_AttackerPoints='%d',War_Started='%d',War_Time='%d' WHERE GangZoneID='%d'",
GangwarZones[gw][War_Owner],GangwarZones[gw][War_Attacker],GangwarZones[gw][War_OwnerPoints],GangwarZones[gw][War_AttackerPoints],GangwarZones[gw][War_Started],GangwarZones[gw][War_Time],gw);
mysql_tquery(MySqlConnection,mainquery,"","");
gw++;
}
printf("- Gangzonen gespeichert %i/%i -",gw,sizeof(GangwarZones));
strdel(mainquery,0,sizeof(mainquery)); -
sorry ich meine hier im TextDrawCreate http://wiki.sa-mp.com/wiki/TextDrawFont das meine ich warum das da nicht angezeigt wird