| Blockland Forums > Modification Help |
| Interval Command? |
| (1/5) > >> |
| Oblivious:
HI! I'm working on a script that allows you Hover in the air using the jet. In Garry's mod coding you can use a command Interval(number), But I have not discovered the command for torque, My Friend told me earlier today, But I don't remember. Any help? Here is the code below, --- Code: ---function IdleJet(%IdleJet); { if(%IdleJet == 1) { Jet(1); { Interval(2) } else { Jet(0); } } } function reloadIJ() { exec("Add-Ons/script_IdleJet/client.cs"); } if (!$IdleJet) { $remapDivision[$remapCount] = "IdleJetv1"; $remapName[$remapCount] = "Toggle"; $remapCmd[$remapCount] = "IdleJet"; $remapCount++; $IdleJet=true; } echo("****************************************"); echo("*****************IdleJetv1***************"); echo("*********By:Oblivious & Memphis*********"); echo("****************************************"); --- End code --- |
| Headcrab Zombie:
schedule Also if I understand what your trying to do, it's already been done. http://forum.blockland.us/index.php?topic=40578.0 |
| Oblivious:
I've been told. I'd still LOVE to pull it off myself. Thanks! :D |
| Oblivious:
Actually Zombie, WAIT! Schedule. Like How would it look in the script like Schedule(Milliseconds)? |
| otto-san:
schedule(ms,0,funcname,args); |
| Navigation |
| Message Index |
| Next page |