I repost this here, cause the other so called thread about it should be closed:
[Only registered and activated users can see links. Click Here To Register...]
My last post about it:
Quote:
Originally Posted by Βau
To all the hard working developers.
I've ripped of all GG parts, and here is the result.
[Only registered and activated users can see links. Click Here To Register...]
If you don't know how to use them, then don't ask -.-
Best Regards Bau
|
Found here:
[Only registered and activated users can see links. Click Here To Register...]
Simple Gate Script for making the parts look like the gate.
If you don't know how to use it or do php just don't copy it nor ask about it.
PHP Code:
<?php
header('Content-Type: image/png');
if(isset($_GET['gate']) && !empty($_GET['gate'])){
$id = $_GET['gate'];
}else{
$id = 1;
}
if(isset($_GET['p']) && !empty($_GET['p'])){
$a = $_GET['p'];;
}else{
$a = 0;
}
$width = 235;
$height = 290;
$img = imagecreatetruecolor($width, $height);
imagesavealpha($img, true);
$color = imagecolorallocatealpha($img, 0, 0, 0, 127);
imagefill($img, 0, 0, $color);
for($i =1; $i<$a; $i++){
$top_image = imagecreatefrompng("gates/gate".$id."/gate_".$id."_".$i.".png"); // edit the url so it fits your image location
imagecopy($img, $top_image, 0, 0, 0, 0, $width, $height);
}
imagepng($img);
imagedestroy($img);
?>
I nearly forgot all about this gg thing i had going.
Best Regards Bau