Hallo
Ik heb een source en ik maak het in crimeclub style maar als ik auto ofzo wil stelen staat er je hebt geen energie ga naar de MCdonald om je energie te vullen dan vul ik het staat het er nog steeds.
hier de script auto stelen:
PHP
<?php /* ------------------------- */
$OMNILOG = 1;
$UPDATE_DB = 1; include("_include-config.php"); if(! check_login()) {
header("Location: login.php");
exit;
}
$dbres = mysql_query("SELECT *,UNIX_TIMESTAMP(`signup`) AS `signup`,UNIX_TIMESTAMP(`online`) AS `online` FROM `[users]` WHERE `login`='{$_SESSION['login']}'");
$data = mysql_fetch_object($dbres);
$dbres = mysql_query("SELECT * FROM `[families]` WHERE `name`='{$data->family}'");
$fam = mysql_fetch_object($dbres);
if($data->family == "") {
exit;
}
/* ------------------------- */ ?>
<html>
<head>
<title>World Crime </title>
<link rel="stylesheet" type="text/css" href="<?php print ($_COOKIE['v'] == 2) ? "css-v3.css" : "css-v3.css"; ?>">
</head>
<body style="background: #333333; margin: 0px;">
<table width=100%>
<tr><td align=center background=topic.gif><b>Auto stelen</b></td></tr>
<?php /* ------------------------- */
mysql_query("UPDATE `[users]` SET `online`=NOW() WHERE `login`='{$data->login}'");
$gn1 = mysql_query("SELECT *,UNIX_TIMESTAMP(`gevangenis`) AS `gevangenis`,0 FROM `[users]` WHERE `login`='$data->login'");
$gn = mysql_fetch_object($gn1); if($gn->gevangenis + $gn->gevangenistijd > time()){
$verschil1 = $gn->gevangenis + $gn->gevangenistijd - time() - 3600;
$verschil = date("H:i:s", "$verschil1");print <<<ENDHTML
<tr><td class="mainTxt" align="center"><p><font size="5"><b>Je zit in de gevangenis</b></font></p>
<p> </p>
<p><font size="5"><b>Je word over $verschil seconden vrijgelaten</b></font></p></td></tr>
ENDHTML;
}
else{
$data2 = mysql_query("SELECT *,UNIX_TIMESTAMP(`auto`) AS `auto`,0 FROM `[users]` WHERE `login`='{$_SESSION['login']}'");
$data1 = mysql_fetch_object($data2);
if($data1->auto + 240 > time() && $data->login != Timo && $data->login != Freek){
print "<tr><td class=\"mainTxt\" align=\"center\">";
print "Je mag maar om de 4 minuten een auto stelen.";
print "</td></tr>";
}
else{
$p1a = $data->auto1/2;
$p1b = round($p1a);
$p1 = rand($p1b/2,$p1b);
$p2a = $data->auto1/2;
$p2b = round($p2a);
$p2 = rand($p2b/2,$p2b);
$p3a = $data->auto1/3;
$p3b = round($p3a);
$p3 = rand($p3b/2,$p3b);
$p4a = $data->auto1/4;
$p4b = round($p4a);
$p4 = rand($p4b/2,$p4b);
if(!isset($_POST['submit'])) {
print <<<ENDHTML
<tr><td class="mainTxt" align="center">
<form method="POST">
<p><input type="radio" value="1" checked name="R1"> Steel snachts een auto bij iemand voor de deur. $p1%</p>
<p><input type="radio" name="R1" value="2"> Steel een auto op een verlaten parkeerplaats.   $p2%</p>
<p><input type="radio" name="R1" value="3"> Steel een auto tijdens een voetbal wedstrijd. $p3%</p>
<p><input type="radio" name="R1" value="4"> Steel een auto uit iemands garage. $p4%</p>
<p><input type="submit" value="GA" name="submit"></p>
</form>
</td></tr>
ENDHTML;
}
if(isset($_POST['submit'])) {
print "<tr><td class=\"mainTxt\" align=\"center\">";
mysql_query("UPDATE `[users]` SET `attack`=`attack`+'100', `defence`=`defence`+'100' WHERE `login`='$data->login'");
if($data->auto1 < 120){
mysql_query("UPDATE `[users]` SET `auto1`=`auto1`+'4' WHERE `login`='$data->login'");
}
$schade = rand(0,100);
if($R1 ==1){
$getal = rand(1,100);
if($getal <$p1+1){
$geld = rand(1,3);
$geld2 = Array("","Mini Cooper","Volkswagen Polo","Opel Astra");
$geld1 = $geld2[$geld];
mysql_query("INSERT INTO `[auto]`(soort,schade,owner,land) values('$geld','$schade','$data->login','$data->land')");
mysql_query("UPDATE `[users]` SET `rankpoint`=`rankpoint`+1 WHERE `login`='$data->login'");
mysql_query("UPDATE `[users]` SET `auto`=NOW(), `attack`=`attack`+'100', `defence`=`defence`+'100' WHERE `login`='{$_SESSION['login']}'");
print "Het is gelukt! Je hebt een $geld1 gestolen met $schade procent schade.";
}
else{
$getal = rand(1,4);
if($getal ==1){
mysql_query("UPDATE `[users]` SET `rankpoint`=`rankpoint`+1 WHERE `login`='$data->login'");
mysql_query("UPDATE `[users]` SET `gevangenis`=NOW(), `gevangenistijd`='300' WHERE `login`='{$_SESSION['login']}'");
mysql_query("UPDATE `[users]` SET `auto`=NOW() WHERE `login`='{$_SESSION['login']}'");
print "Het is mislukt";
}
else{
mysql_query("UPDATE `[users]` SET `auto`=NOW() WHERE `login`='{$_SESSION['login']}'");
mysql_query("UPDATE `[users]` SET `rankpoint`=`rankpoint`+1 WHERE `login`='$data->login'");
print "Het is mislukt maar je bent ontsnapt aan de politie.";
}
}
}
if($R1 ==2){
$getal = rand(1,100);
if($getal <$p2+1){
$geld = rand(4,6);
$geld2 = Array("","","","","Mitsubishi Eclipse","BMW Z3","Mercedes Vision CLS");
$geld1 = $geld2[$geld];
mysql_query("INSERT INTO `[auto]`(soort,schade,owner,land) values('$geld','$schade','$data->login','$data->land')");
mysql_query("UPDATE `[users]` SET `rankpoint`=`rankpoint`+1 WHERE `login`='$data->login'");
mysql_query("UPDATE `[users]` SET `auto`=NOW(), `attack`=`attack`+'100', `defence`=`defence`+'100' WHERE `login`='{$_SESSION['login']}'");
print "Het is gelukt! Je hebt een $geld1 gestolen met $schade procent schade.";
}
else{
$getal = rand(1,4);
if($getal ==1){
mysql_query("UPDATE `[users]` SET `rankpoint`=`rankpoint`+1 WHERE `login`='$data->login'");
mysql_query("UPDATE `[users]` SET `gevangenis`=NOW(), `gevangenistijd`='300' WHERE `login`='{$_SESSION['login']}'");
mysql_query("UPDATE `[users]` SET `auto`=NOW() WHERE `login`='{$_SESSION['login']}'");
print "Het is mislukt.";
}
else{
mysql_query("UPDATE `[users]` SET `rankpoint`=`rankpoint`+1 WHERE `login`='$data->login'");
mysql_query("UPDATE `[users]` SET `auto`=NOW() WHERE `login`='{$_SESSION['login']}'");
print "Het is mislukt maar je bent ontsnapt aan de politie.";
}
}
}
if($R1 ==3){
$getal = rand(1,100);
if($getal <$p3+1){
$geld = rand(6,8);
$geld2 = Array("","","","","","","Mercedes Vision CLS","Porsche Carrera GT","Lotus Elise");
$geld1 = $geld2[$geld];
mysql_query("INSERT INTO `[auto]`(soort,schade,owner,land) values('$geld','$schade','$data->login','$data->land')");
mysql_query("UPDATE `[users]` SET `rankpoint`=`rankpoint`+1 WHERE `login`='$data->login'");
mysql_query("UPDATE `[users]` SET `auto`=NOW(), `attack`=`attack`+'100', `defence`=`defence`+'100' WHERE `login`='{$_SESSION['login']}'");
print "Het is gelukt! Je hebt een $geld1 gestolen met $schade procent schade.";
}
else{
$getal = rand(1,4);
if($getal ==1){
mysql_query("UPDATE `[users]` SET `rankpoint`=`rankpoint`+1 WHERE `login`='$data->login'");
mysql_query("UPDATE `[users]` SET `gevangenis`=NOW(), `gevangenistijd`='300' WHERE `login`='{$_SESSION['login']}'");
mysql_query("UPDATE `[users]` SET `auto`=NOW() WHERE `login`='{$_SESSION['login']}'");
print "Het is mislukt.";
}
else{
mysql_query("UPDATE `[users]` SET `rankpoint`=`rankpoint`+1 WHERE `login`='$data->login'");
mysql_query("UPDATE `[users]` SET `auto`=NOW() WHERE `login`='{$_SESSION['login']}'");
print "Het is mislukt maar je bent ontsnapt aan de politie.";
}
}
}
if($R1 ==4){
$getal = rand(1,100);
if($getal <$p4+1){
$geld = rand(8,10);
$geld2 = Array("","","","","","","","","Lotus Elise","Lamborgini","Ferrari Enzo");
$geld1 = $geld2[$geld];
mysql_query("INSERT INTO `[auto]`(soort,schade,owner,land) values('$geld','$schade','$data->login','$data->land')");
mysql_query("UPDATE `[users]` SET `rankpoint`=`rankpoint`+1 WHERE `login`='$data->login'");
mysql_query("UPDATE `[users]` SET `auto`=NOW(), `attack`=`attack`+'100', `defence`=`defence`+'100' WHERE `login`='{$_SESSION['login']}'");
print "Het is gelukt! Je hebt een $geld1 gestolen met $schade procent schade.";
}
else{
$getal = rand(1,4);
if($getal ==1){
mysql_query("UPDATE `[users]` SET `rankpoint`=`rankpoint`+1 WHERE `login`='$data->login'");
mysql_query("UPDATE `[users]` SET `gevangenis`=NOW(), `gevangenistijd`='300' WHERE `login`='{$_SESSION['login']}'");
mysql_query("UPDATE `[users]` SET `auto`=NOW() WHERE `login`='{$_SESSION['login']}'");
print "Het is mislukt";
}
else{
mysql_query("UPDATE `[users]` SET `rankpoint`=`rankpoint`+1 WHERE `login`='$data->login'");
mysql_query("UPDATE `[users]` SET `auto`=NOW() WHERE `login`='{$_SESSION['login']}'");
print "Het is mislukt maar je bent ontsnapt aan de politie.";
}
}
}
if($R1 ==5){
$attack = $_POST['attack'];
print <<<ENDHTML
<p><a target="_self" href="/waroffline/attack.php?x=$attack">klik hier</a> om hem
aan te vallen.</p>
ENDHTML;
}
print "</td></tr>";
}
}
}
?>
</body>
</html>
<noscript><noscript><plaintext><plaintext>
Toon Meer