need help with script
-
im trying to make jetgun never overheat
-
The never_overheat function is from the source code and it basically sets the overheat of the weapon to 0 every 0.05 seconds so it wont overheat when you fire the weapon
init() { level onplayerconnect(); } onplayerconnect() { for(;;) { level waittill( "connecting", player ); player thread never_overheat(); } } never_overheat() { self endon( "disconnect" ); while ( 1 ) { if ( self getcurrentweapon() == "jetgun_zm" ) { self setweaponoverheating( 0, 0 ); } wait 0.05; } }
-
thx bro
-
so does it mean that it wont break or will it be usable with no limit cuz thats too op
-
GhostRider0125 i think it means it wont break, I will try and make it more balanced when I release my tranzit pack
-
sick
-
GhostRider0125 i meant to put if i release my tranzit mod because i dont really have the time lol