Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Variable Signatur
#6
(20.05.2011, 18:24)Dsaddicted Wrote: wasn das für ne beta? die kenn ich ja nicht Big Grin

edit: denke er meint eine mit aktualisierenden dörfernanzahlen usw.

achso müsste mal überlegen^^
okay kann dir zeigen wie es geht, aber du musst irgendwie herrausfinden wie viele Dörfer etc. du hast z. B.:
PHP Code:
<?php
//visit http://www.iceteks.com/articles.php?act=view&article=textsig&p=2& for the code
header("Content-type: image/png");

$string2 "Mausephant - Dörfer $dörfer"// Die variable irgendwie rausfinden

//put your image name here (must be a png)
$im imagecreatefrompng("yourfile.png"); // <== Hier dein Bild
//change your text color here ( must be the hex value) ex. 255,255,255 would be white
$color imagecolorallocate($im255255255);

//change your X & y coordinates here to place the text on your image where you want it
//(these will center the text on a 400x100 image)
$px=120;
$py=30;
//no need to touch this unless you know what your doing
imagestring($im3$px$py$string$color);
imagestring($im2$px$py+12$string2$color);

imagepng($im);
imagedestroy($im);
?>

So müsste es klappen machst dir eigenen server und das Bild holt sich die Signa immer daher. Diese Datei ändert den Text um und schreibt wenn $dörfer = 1 ist Mausephant - Dörfer: 1
Nur wie findest du $dörfer raus? kp...
Ihr wollt sowas wie DS gerne online spielen - Privatserver?!

klick
Reply


Messages In This Thread
Variable Signatur - by Mausephant - 20.05.2011, 15:13
RE: Variable Signatur - by Mausephant - 20.05.2011, 18:20
RE: Variable Signatur - by maikmille - 20.05.2011, 18:23
RE: Variable Signatur - by Dsaddicted - 20.05.2011, 18:24
RE: Variable Signatur - by maikmille - 20.05.2011, 18:27
RE: Variable Signatur - by Mausephant - 20.05.2011, 18:44
RE: Variable Signatur - by Dsaddicted - 20.05.2011, 18:52
RE: Variable Signatur - by Mausephant - 20.05.2011, 18:54
RE: Variable Signatur - by Dsaddicted - 20.05.2011, 18:59
RE: Variable Signatur - by SlimShady95 - 20.05.2011, 19:02
RE: Variable Signatur - by Mausephant - 20.05.2011, 19:05
RE: Variable Signatur - by SlimShady95 - 20.05.2011, 19:36
RE: Variable Signatur - by Dsaddicted - 20.05.2011, 19:37
RE: Variable Signatur - by Mausephant - 20.05.2011, 19:51
RE: Variable Signatur - by Steffen - 20.05.2011, 19:55
RE: Variable Signatur - by Mausephant - 20.05.2011, 20:16
RE: Variable Signatur - by Yannici - 20.05.2011, 20:21
RE: Variable Signatur - by Mausephant - 20.05.2011, 20:34
RE: Variable Signatur - by maikmille - 20.05.2011, 21:04
RE: Variable Signatur - by Molt - 20.05.2011, 21:07
RE: Variable Signatur - by Yannici - 20.05.2011, 21:36
RE: Variable Signatur - by maikmille - 20.05.2011, 21:55
RE: Variable Signatur - by Mausephant - 20.05.2011, 21:55
RE: Variable Signatur - by Mausephant - 21.05.2011, 10:16
RE: Variable Signatur - by Yannici - 21.05.2011, 10:33
RE: Variable Signatur - by Mausephant - 21.05.2011, 10:50
RE: Variable Signatur - by Yannici - 21.05.2011, 13:23
RE: Variable Signatur - by maikmille - 21.05.2011, 13:30
RE: Variable Signatur - by Mausephant - 21.05.2011, 20:44
RE: Variable Signatur - by Molt - 21.05.2011, 21:18
RE: Variable Signatur - by Chrissi - 21.05.2011, 23:17
RE: Variable Signatur - by Molt - 22.05.2011, 09:28
RE: Variable Signatur - by Mausephant - 22.05.2011, 07:14
RE: Variable Signatur - by Mausephant - 22.05.2011, 12:06



Users browsing this thread: 1 Guest(s)