Ich hab grad den Script über den anderen Fensterrahmen gepackt und jetzt tuts ohne Fehlermeldung...
Lol...
Ja damit hat sich mein Problem erledigt...
Trotzdem danke...
on:use { if (($Faeden==15)&&(getplayerweapon()==179)&&(playergotitem(49)>0)&&((playergotitem(178)>0)) { model "gfx\neues model 2.b3d"; scale 1,1,1; Faeden++; freestored "unit",1,49,1; process "Weben", 10000; } elseif (($Faeden=<2)&&(getplayerweapon()==49)&&(playergotitem(49)>0)) { freestored "unit",1,49,1; $Faeden++; process "Fäden einspannen", 2000; } elseif (($Faeden==3)&&(getplayerweapon()==49)&&(playergotitem(49)>0)) { freestored "unit",1,49,1; $Faeden++; process "Fäden einspannen", 2000; model "gfx\neues Model.b3d"; scale 1,1,1; } elseif (($Faeden=<14)&&(getplayerweapon()==179)&&(playergotitem(49)>0)&&((playergotitem(178)>0)) { $Faeden++; process "Weben", 10000; freestored "unit",1,49,1; } elseif (($Faeden==16)&&(getplayerweapon()==180)&&(playergotitem(180)>0)) { find 175,1; $Faeden=0; process "Stoff herausschneiden", 2000; } }
on:preload { 	loadani 90,1,100; }
######90 Gate id=90 name=Tor group=stuff, h3 icon=gfx\gate.bmp model=gfx\hecky3\gate.b3d health=500 scale=2 mat=wood col=0 editor=0 behaviour=idle
### Gate id=219 name=Tor group=building icon=gfx\gate.bmp model=gfx\gate.b3d scale=2.1 health=8000 mat=wood col=3 var=notuseable,Benuzbar,1,0 script=start 	on:build_finish { 		event "gatebuild",0,0; 	} 	on:load { 		local $state; 		if ($state==1){ 			model "gfx/gate_closed.b3d"; 			alpha 0; 			scale 1,1,1; 		} 	} 	on:edset { 		local $x,$y,$z,$yaw; 		$x=getx("self"); 		$y=gety("self"); 		$z=getz("self"); 	 	$yaw=getyaw("self"); 	 	$id=create("unit",90,0,0); 		addstate "self","link"; 		statesize "self","link",$id; 	 	setpos "unit",$id,$x,$y,$z; 	 	setrot "unit",$id,"self",$yaw,"self"; 	 	freevar $x,$y,$z,$yaw; 	} 	on:use { 		local $state; 		if ($notuseable==0){ 			if ($state==0){ 				process "Tor schließen",500; 				$state=1; 				play "vehicle_move.wav"; 				model "gfx/gate_closed.b3d"; 				alpha 0; 				animate $id,1,50,2,3; 				scale 1,1,1; 			}else{ 				process "Tor öffnen",500; 				$state=0; 				play "vehicle_move.wav"; 				model "gfx/gate.b3d"; 				alpha 0; 				animate $id,50,100,2,3; 				scale 1,1,1; 			} 		}else{ 			speech "negative"; 			msg "Es lässt sich nicht bewegen",3; 		} 	} 	on:toggle { 		if ($state==0){ 			$state=1; 			play "vehicle_move.wav"; 			model "gfx/gate_closed.b3d"; 			scale 1,1,1; 		}else{ 			$state=0; 			play "vehicle_move.wav"; 			model "gfx/gate.b3d"; 			scale 1,1,1; 		}		 	} script=end
on:edset { local $x,$y,$z,$yaw; $x=getx("self"); $y=gety("self"); $z=getz("self"); $yaw=getyaw("self"); $id=create("unit",90,0,0); addstate "self","link"; statesize "self","link",$id; setpos "unit",$id,$x,$y,$z; setrot "unit",$id,"self",$yaw,"self"; freevar $x,$y,$z,$yaw; }
on:attack1
...script der waffe... $schuss++; if($schuss==7){ 	process "reload", 3000; 	$schuss=0; } ...restliches script der waffe...
scriptkey=0,Nachladen
on:keyhit00 {event "reload", "global";} on:reload { 	process "reload", 3000; 	$schuss=0; }
on:attack1 { 	$schuss++; 	if($schuss==7){ 		skipevent; 		msg "Nachladen!"; 	} }