Moin moin
ich möchte ein Textur vom Boden ändern bzw. mehre Böden angleichen mit dem Boden der Umgebung nur stoße ich momentan auf starken widerstand und hoffe das mir hier vielleicht wer helfen kann...
//ADAC Boden Neu
bild[0] = CreateDynamicObject(6959,829.8400000,-1259.1100000,13.8800000,0.0000000,0.0000000,0.0000000); //
bild[1] = CreateDynamicObject(6959,829.8700000,-1219.1100000,13.8800000,0.0000000,0.0000000,0.0000000); //
bild[2] = CreateDynamicObject(6959,871.1800000,-1259.1100000,13.8800000,0.0000000,0.0000000,0.0000000); //
bild[3] = CreateDynamicObject(6959,871.2100000,-1219.1100000,13.8800000,0.0000000,0.0000000,0.0000000); //
bild[4] = CreateDynamicObject(6959,886.9000000,-1259.1100000,13.8500000,0.0000000,0.0000000,0.0000000); //
bild[5] = CreateDynamicObject(6959,829.8400000,-1288.8300000,13.8700000,0.0000000,0.0000000,0.0000000); //
bild[6] = CreateDynamicObject(6959,871.1800000,-1288.5200000,13.8700000,0.0000000,0.0000000,0.0000000); //
bild[7] = CreateDynamicObject(6959,886.9000000,-1288.6800000,13.8600000,0.0000000,0.0000000,0.0000000); //
//SetObjekt
SetObjectMaterial( bild[0],0,5864,"filmstud","stageside1","greyground256128"); //
SetObjectMaterial( bild[1],0,5864,"filmstud","stageside1","greyground256128"); //
SetObjectMaterial( bild[2],0,5864,"filmstud","stageside1","greyground256128"); //
SetObjectMaterial( bild[3],0,5864,"filmstud","stageside1","greyground256128"); //
SetObjectMaterial( bild[4],0,5864,"filmstud","stageside1","greyground256128"); //
SetObjectMaterial( bild[5],0,5864,"filmstud","stageside1","greyground256128"); //
SetObjectMaterial( bild[6],0,5864,"filmstud","stageside1","greyground256128"); //
SetObjectMaterial( bild[7],0,5864,"filmstud","stageside1","greyground256128"); //
Fehlermeldung:
C:\Users\Sonderbarr\Desktop\script.pwn(360) : error 028: invalid subscript (not an array or too many subscripts): "bild"
C:\Users\Sonderbarr\Desktop\script.pwn(360) : warning 215: expression has no effect
C:\Users\Sonderbarr\Desktop\script.pwn(360) : error 001: expected token: ";", but found "]"
C:\Users\Sonderbarr\Desktop\script.pwn(360) : error 029: invalid expression, assumed zero
C:\Users\Sonderbarr\Desktop\script.pwn(360) : fatal error 107: too many error messages on one line
enum:
enum BildEnum{
bild,
bild1,
bild2,
bild3,
bild4,
bild5,
bild6,
bild7
}
vielleicht kann mir ja einer weiter helfen
MfG
Sonderbarr