mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-21 15:42:35 +00:00
The cooldown is currently 3 seconds as suggested by this thread also adds a nifty proc to Aiming to set said cool-down, it's variable. The proc is "aim_cooldown(x)" with x being the time you want them unable to aim.
12 lines
519 B
Plaintext
12 lines
519 B
Plaintext
//These are called by the on-screen buttons, adjusting what the victim can and cannot do.
|
|
/client/proc/add_gun_icons()
|
|
if(!mob) return 1 // This can runtime if someone manages to throw a gun out of their hand before the proc is called.
|
|
screen |= mob.item_use_icon
|
|
screen |= mob.gun_move_icon
|
|
screen |= mob.radio_use_icon
|
|
|
|
/client/proc/remove_gun_icons()
|
|
if(!mob) return 1 // Runtime prevention on N00k agents spawning with SMG
|
|
screen -= mob.item_use_icon
|
|
screen -= mob.gun_move_icon
|
|
screen -= mob.radio_use_icon |