i got a error in thye bomb_run.gsc line 46, somebody can help me?
//|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| //|||| Name : bomb_run.gsc //|||| Info : script for bombing runs //|||| Site : [url=http://www.ugx-mods.com]www.ugx-mods.com[/url] //|||| Author : [UGX] treminaor //|||| Notes : goes with Airstrike tutorial on UGX-Wiki //|||| To-Do : n/a //|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| #include common_scripts\utility; #include maps\_utility; #include maps\_zombiemode_utility; bomb_run_trig() { trigger = getEnt("bomb_run_trig","targetname"); cost = 3500; player = undefined; trigger setCursorHint("HINT_NOICON"); trigger setHintString("Press &&1 to call an airstrike [Cost: "+cost+"]"); while(1) { trigger waittill("trigger",player); if(player.score >= cost) { player maps\_zombiemode_score::minus_to_player_score( self.zombie_cost ); trigger setHintString("Bombing Run in Progress. Wait 1 minute"); bomb_run(); wait 60; } else player playsound("no_cha_ching"); } } bomb_run() { plane = getEnt("plane","targetname"); plane_path = GetVehicleNode("plane_path_start","targetname"); plane AttachPath( plane_path ); plane thread maps\_vehicle::vehicle_paths(plane_path); maps\_vehicle::vehicle_init(plane); plane thread corsair_spin_prop(); plane StartPath( plane_path ); wait 2; for(i = 0; i < players.size; i++) players[i] playsound("ambient_corsair"); plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); wait 0.5; plane notify("drop_bombs"); } corsair_spin_prop() { self endon("hide_prop"); self endon("death"); while(1) { PlayFXOnTag(level._effect["corsair_prop_full"], self, "tag_prop"); wait(0.1); } }