Traveisimo Posted August 22, 2012 Share Posted August 22, 2012 (edited) scn 00brstrfl002 ref Gunnrint equipped int shootfloat timerfloat timer2 begin OnEquip set gunnr to GetContainer set equipped to 1 end begin OnunEquip set gunnr to GetContainer set equipped to 0 end begin onfire if shoot == 0set shoot to 1set timer to 0.1set timer2 to 0.2endif end begin gamemodeif equipped == 1 && shoot == 1set timer to (timer - GetSecondsPassed)set timer2 to (timer2 - GetSecondsPassed)if timer == 0 gunnr.FireWeapon 00burstriflendif if timer2 == 0 gunnr.FireWeapon 00burstrifl set shoot to 0endifendifend that was the script, i didnt get any errors or anything, it compiled fine, but in game it doesnt work. i am new to scripting and dont know why. any help would be greatly appreciated. thanks in advance.and if anyone needs any more info, just ask Edited August 23, 2012 by Traveisimo Link to comment Share on other sites More sharing options...
Recommended Posts