3d
Nybegynder
03. august 2003 - 13:53
Der er
11 kommentarer og 1 løsning
Y & X Felter i Chat! (har dem)
Jep :) Her er mine felter: $array2[0][x] = "170"; $array2[0][y] = "140"; $array2[1][x] = "240"; $array2[1][y] = "140"; $array2[2][x] = "300"; $array2[2][y] = "140"; $array2[3][x] = "360"; $array2[3][y] = "140"; $array2[4][x] = "360"; $array2[4][y] = "210"; $array2[6][x] = "300"; $array2[6][y] = "210"; $array2[5][x] = "240"; $array2[5][y] = "210"; $array2[7][x] = "240"; $array2[7][y] = "280"; $array2[8][x] = "300"; $array2[8][y] = "280"; $array2[9][x] = "290"; $array2[9][y] = "280"; $array2[10][x] = "360"; $array2[10][y] = "280"; - Men jeg vil gerne have man skal kunne gå næsten over alt og ikke en cm i mellem Hvordan det?!
Annonceindlæg fra Cognizant
3d
Nybegynder
03. august 2003 - 15:16
#6
<? include("../inc/sql.php"); $rand = rand(1,1800); if($rand<10) { $array2[0][x] = "25"; $array2[0][y] = "50"; $array2[1][x] = "25"; $array2[1][y] = "70"; $array2[2][y] = "60"; $array2[2][x] = "80"; $array2[3][y] = "75"; $array2[3][x] = "85"; $array2[4][y] = "80"; $array2[4][x] = "90"; $array2[5][y] = "95"; $array2[5][x] = "100"; $array2[6][y] = "125"; $array2[6][x] = "150"; $array2[7][y] = "140"; $array2[7][x] = "170"; $array2[8][y] = "175"; $array2[8][x] = "185"; $array2[9][x] = "195"; $array2[9][x] = "205"; $array2[10][x] = "215"; $array2[10][x] = "210"; $x2=$array2[$rand][x]; $y2=$array2[$rand][y]; mysql_query("UPDATE ting SET tingname='And',figur='and.gif',rum='2',x='$x2',y='$y2',owner='0' WHERE(tingname='Trope Plante' && owner='100' && rum='0') LIMIT 1"); // mysql_query("INSERT INTO ting (tingname,figur,rum,x,y) VALUES('And','and.gif','2','$x','$y')") or die("ERROR".mysql_error()); }
03. august 2003 - 18:02
#10
Forstår heller ikke hvad du ønsker, men dine tidligere spørgsmål taget i betragtning forventer jeg heller ikke en brugbar forklaring...