Du erstellst in deinem SpielerEnum eine neue Variable pPayday und die Variable pPaydaytimer. Wenn er sich erfolgreich eingeloggt hat startest du einen Timer der die Variable jede minute um 1 erhöht. Wenn er 60 erricht hat sezt du sie wieder auf 0 und gibts im geld usw. Bei Onplayerdissconnect stoppst du den Timer und speicherst die paydaytime in Mysql. Fertig
Beiträge von datgame
-
-
Man kann aber auch per SetVehicleParamsEx den objective wert auf 1 setzten

-
Wie kann ich es machen, dass der Waffenschaden in bestimmten Zonen deaktiviert ist?
-
Ich möchte gerne die Domain und den Webspace haben, da ich noch eine Domain für mein SAMP Projekt brauche und eine .tk Domain nicht seriös ist.
Eine Frage: Wie viel Speicherplatz hat der Webspace?
-
Hallo!
Ich habe das Problem, dass alle Cars der Grove Street durch die Luft fliegen, wenn ich aus dem Grove Interior rausgehe!
Kann man das irgendwie beheben?
-
-
@kifkat:
Wenn nach dem abschließenden "}" ein ";" kommt, kann man ein , an letzter Stelle setzen.
-
Habe meinen Startpost editiert.
Sollte man jetzt sehen können, -
Hallo!
[pwn=946]
enum BuildingEnum {
building_name[126],
Float:building_enter_x,
Float:building_enter_y,
Float:building_enter_z,
Float:building_enter_r,
Float:building_exit_x,
Float:building_exit_y,
Float:building_exit_z,
Float:building_exit_r,
building_vw,
building_int,
};
new Building[][BuildingEnum] = {
{"Stadthalle", 1211.4592,-1749.9708,13.5941,43.9564, 389.9453,173.7879,1008.3828,92.8369, 0, 3},
{"Donutladen", 1038.0363,-1340.4883,13.7421,2.6714, 377.2323,-193.3045,1000.6328,3.1531, 0, 17},
{"Burger Shot North", 1199.0214,-918.1680,43.1246,183.7169, 362.7664,-75.0560,1001.5078,314.9813, 0, 10},
{"Burger Shot South", 810.4859,-1616.0 509,13.5469,270.6664, 362.7664,-75.0560,1001.5078,314.9813, 1, 10},
{"Los Santos Police Department", 1554.4233,-1675.5614,16.1953,84.2044, 246.8661,63.0655,1003.6406,356.1440, 0, 6},
{"San Fierro Police Department", -1605.5682,711.0621,13.8672,0.5444, 246.3291,108.1617,1003.2188,359.2774, 0, 10}
};
[/pwn]Das ist mein error:
CodeC:\Users\Lennart\Desktop\GTA San Andres Server\gamemodes\Whitelife.pwn(963) : error 001: expected token: "}", but found "-integer value-" C:\Users\Lennart\Desktop\GTA San Andres Server\gamemodes\Whitelife.pwn(966) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Errors.Weiß jeman, wie ich diese Errors weg bekomme?
-
Mit SetTimerEx() und der bestimmten Animation. Musst halt selber in der Animation Library suchen

-
Ohne code keine hilfe.
-
Lag an bplaced. Mjt bplaced kann man ohne es zu kaufen keine Externen Datenverbindungen aufbauen...
Bin nun bei Hostinger.
Danke an alle, die helfen wollten.
-
Gleiches resultat. hab das mit der .php mit ner MySQL Abfrage probiert.
-
-
Folgender:
Spoiler anzeigen
NRG-500<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>bplaced - Webspace & Webhosting // 2GB Freehost :: The place for your webspace</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="de" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="Robots" content="INDEX, FOLLOW" />
<meta name="Copyright" content="miro" />
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
<link rel="shortcut icon" href="http://www.bplaced.net/favicon.ico" />
<style type="text/css">
a:link, a:visited, a:active {
color: #0b4c8e;
text-decoration: none;
}
#bp a:link, #bp a:visited, #bp a:active {
color: black;
text-decoration: none;
}
a:hover { color: #0d7cec; }
.bside_top {
overflow: hidden;
display: inline-block;
display: block;
}
.bside {
float: left;
overflow: hidden;
display: inline;
display: inline-block;
display: block;
}
a img, img {
border: 0;
}
html, body {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
font: 12px/1.2em 'Trebuchet MS', Verdana, sans-serif;
}
#head {
width: 100%;
height: 82px;
line-height: 1.65em;
background: #129fe7 url('http://www.bplaced.net/gfx/grad.png') no-repeat right top;
}
#message {
width: 940px;
margin: 0 auto;
padding-top: 20px;
color: #fff;
font-size: 20px;
}
#message span {
color: #051e3c;
font-size: 16px;
display: block;
margin: 3px 0;
}
#content {
width: 940px;
margin: 40px auto 50px auto;
}
#title h1 {
margin-top: 20px;
font-weight: normal;
color: #343434;
font-size: 22px;
text-align: right;
}
#errno {
color: #0a5eb4;
text-align: center;
font-size: 28px;
font-weight: bold;
width: 140px;
height: 29px;
letter-spacing: 1px;
padding-top: 10px;
background: #fff;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
#center {
font: 11px/1.1em Verdana, sans-serif;
margin: 0 auto;
width: 940px;
}
#center h2 {
color: #0b5fb5;
font-size: 18px;
font-family: 'Trebuchet MS', Verdana, sans-serif;
font-weight: normal;
}
#center .separator {
width: 300px;
padding-right: 54px;
}
#center .square {
width: 230px;
height: 230px;
background: #0b5fb5;
color: #fff;
text-align: center;
margin-bottom: 54px;
cursor: pointer;
display: block;
}
#center .square:hover {
background: #129fe7;
}
#center .squarepro {
background: #129fe7;
}
#center .squarepro:hover {
background: #badc34;
}
#center .square h2 {
color: #fff;
font-size: 60px;
margin-bottom: 38px;
font-weight: bold;
}
#center .square h3 {
font-size: 18px;
font-weight: normal;
margin: 14px 0 7px 0;
font-family: 'Trebuchet MS', Verdana, sans-serif;
}
#center .square span {
text-shadow: 0 0 0.2px #051e3c;
color: #051e3c;
font-size: 15px;
display: block;
margin-top: 6px;
font-family: 'Trebuchet MS', Verdana, sans-serif;
}
#promotions {
height: 250px;
width: 300px;
position: absolute;
margin: 24px 0 0 0;
}
#footer {
width: 940px;
height: 20px;
margin: 0 auto;
font: 11px/1.1em Verdana, sans-serif;
}
#footer #grad {
margin: 20px 0 10px 0;
}
#footer #grad img {
height: 2px;
width: 100%;
}
li {
margin: 2px 0 0 1px;
color: #0b5fb5;
list-style: square;
font-size: 11px;
font-weight: bold;
}
li div {
color: #000;
font-weight: normal;
}
</style>
</head>
<body>
<div id="head">
<div id="message" class="bside_top">
<div class="bside" style="width: 700px;">
Zugriff verweigert.<span>Sorry, access is forbidden.</span>
</div>
<div class="bside" style="width: 100px;">
Fehler
<span>Error</span>
</div>
<div class="bside" id="errno">
403
</div>
</div>
</div>Spoiler anzeigen <div id="content" class="bside_top">
<div id="title">
<div class="bside" style="width: 250px;">
<img alt="" src="http://www.bplaced.net/gfx/bpt.gif" />
</div>
<div class="bside" style="width: 690px;">
<h1>Willkommen bei bplaced.net - Webspace & Webhosting</h1>
</div>
</div>
</div>Spoiler anzeigen <div id="center" class="bside_top">
<div class="bside separator">
<a href="http://www.bplaced.net" class="square">
<br />
<h3>freestyle</h3>
<h2>1GB</h2>
8 FTP-Konten <br />
8 MySQL-Datenbanken <br />
8 PostgreSQL-Datenbanken <br />
<h3>kostenlos</h3>
<span>free</span>
</a>
<h2>Über bplaced</h2>
<br />
<div style="font: 14px/1.4em Verdana, sans-serif;">
bplaced ist einer der führenden Hosting-Provider
im Bereich Freehosting in <br /> Europa seit 2007. <br />
<br />
Mit einer Fülle an Funktionen stehen Einsteigern
unsere Angebote <span style="color: #0a5fb2">freestyle</span>
und <span style="color: #0a5fb2">freestyle plus</span> selbstverständlich
<b>werbefrei</b> zur Verfügung. <br />
<br />
Für fortgeschrittene Nutzer bieten wir <br /> mit unserer Erweiterung
<span style="color: #159de7">bplaced pro</span> eine Lösung für anspruchsvolle
Projekte in einem der modernsten Netzwerke Europas!
</div>
</div>
<div class="bside separator">
<a href="http://www.bplaced.net" class="square">
<br />
<h3>freestyle plus</h3>
<h2>2GB</h2>
2 FTP-Konten <br />
2 MySQL-Datenbanken <br />
2 PostgreSQL-Datenbanken <br />
<h3>kostenlos</h3>
<span>free</span>
</a>
<h2>Hilfe und Support</h2>
<br />
<div style="font: 14px/1.4em Verdana, sans-serif;">
Auf unserem <a href="http://eass.bplaced.net/">Hilfsportal EASS</a> findest Du viele
Artikel rund ums Thema Webmastering.
<br />
<ul type="square" style="padding-left: 14px;">
<li>Domains<div>Erklärungen und Anleitungen</div></li>
<li>FTP<div>Dateien und Ordner hochladen</div></li>
<li>Datenbanken<div>PostgreSQL und MySQL</div></li>
<li>Auszeichnungs- & Programmiersprachen<div>Hilfe zu HTML, PHP & Co</div></li>
<li>Installationsanleitungen<div>Wordpress, Joomla, etc. auf bplaced installieren</div></li>
</ul>
</div>
</div>
<div class="bside separator" style="width: 230px; padding-right: 2px;">
<img style="position: absolute; margin: 68px 0 0 196px;" alt="" src="http://www.bplaced.net/gfx/efeat.png" />
<a href="http://www.bplaced.net" class="square squarepro">
<br />
<h3>pro</h3>
<h2>4GB</h2>
16 FTP-Konten <br />
16 MySQL-Datenbanken <br />
16 PostgreSQL-Datenbanken <br />
<img alt="" src="http://www.bplaced.net/gfx/epr.png" />
</a>
<h2>Promotions</h2>
<div id="promotions">
<script language="javascript" type="text/javascript" src="http://www.banner-rotation.com/rotate.aspx?ref=430077&pool=3&pl=1"></script>
</div>
</div>
</div>Spoiler anzeigen <div id="footer">
<div id="grad"><img alt="" src="http://www.bplaced.net/gfx/grad.png" /></div>
<div class="bside_top">
<div class="bside" style="width: 70%; height: 20px;"><b><span style="color: #0b5fb4;">b</span>placed</b>™ Webhosting 2007 - 2014 | 2GB kostenloser Webspace | Business Hosting</div>
<div class="bside" style="width: 30%; text-align: right;"><a href="http://www.bplaced.net/?location=contact">Contact Service Provider</a></div>
</div>
</div>
<br />
<script type="text/javascript">
var _paq = _paq
[];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u=(("https:" == document.location.protocol) ? "https" : "http") + "://stats.xrmb2.net/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 5]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';
g.defer=true; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="http://stats.xrmb2.net/piwik.php?idsite=5" style="border:0;" alt="" /></p></noscript>
</body>
</html> -
Also in der MsgBox kommt ein HTMl Code raus, auch wenn die Version gleich ist.
-
Hallo!
ich habe ein Problem:
Code
Alles anzeigenUrlDownloadToFile, http://log-saap.bplaced.net/version.php, version.txt FileRead, newver, version.txt FileDelete, version.txt if (version < newver) { newververfügbar := 1 MsgBox, 4,Aktuelle Version, Lieber Benutzer,`n`nEs ist eine aktuellere Version deines Keybinders verfügbar, (Version %newver%).`nMöchtest du diese jetzt herunterladen? IfMsgBox, Yes { MsgBox, 64, Update Download, Das Update wird nun heruntergeladen ,dies kann bis zu 20 Sekunden dauern..., 3 Urldownloadtofile,http://log-saap.bplaced.net/Keybinder.exe, %A_ScriptName%.new BatchFile= ( Ping 127.0.0.1 Del "%A_ScriptName%" Rename "%A_ScriptName%.new" "%A_ScriptName% cd "%A_ScriptFullPath%" "%A_ScriptName%" Del update.bat ) FileDelete,update.bat FileAppend,%BatchFile%,update.bat MsgBox, 64, Update ausführen, Das Update wird nun ausgeführt...bitte warten..., 3 Run,update.bat,,hide Exitapp } } else { newververfügbar := 0 }Wenn ich nun den Keybinder starte, kommt nur ein HTML Code raus...
kann jmd helfen?
-
Habs gelöst! Hat nur auf meinem Lokal nicht getan. wollte es auf einem Webspace hochladen und es hat dann iwi funktioniert
-
Habs jetzt mal mit nem generierten Passwort probiert. Gleiches Resultat. Mit dem root klappt es allerdings
-
Hallo!
ich habe folgenden PHP Code
PHP
Alles anzeigen<?php if($_GET['art'] == "bike") { $vid = $_GET['vid']; $sql = mysql_connect("127.0.0.1", "log-saap", "*********"); mysql_select_db("log-saap"); $abfrage = "SELECT * FROM repairmotorpreise WHERE vehiclemodel='".$vid."'"; $ergebnis = mysql_query($abfrage); if($_GET['datei'] == "preis") { while($row = mysql_fetch_object($ergebnis)) { echo $row->repairmotorpreis; } } if($_GET['datei'] == "name") { while($row = mysql_fetch_object($ergebnis)) { echo $row->vehiclename; } } mysql_close($sql); } ?>Wenn ich nun die Seite aufrufe mit allen parametern, bekomm ich 3 Errors angezeigt:
CodeWarning: mysql_connect(): Access denied for user 'log-saap'@'localhost' (using password: YES) in C:\xampp\htdocs\preise.php on line 5 Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\preise.php on line 18 Warning: mysql_close() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\preise.php on line 23Kann da jemand helfen?