mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
13 lines
520 B
Plaintext
13 lines
520 B
Plaintext
//These are called by the on-screen buttons, adjusting what the victim can and cannot do.
|
|
/client/proc/add_gun_icons()
|
|
if(!usr) return 1 // This can runtime if someone manages to throw a gun out of their hand before the proc is called.
|
|
screen |= usr.item_use_icon
|
|
screen |= usr.gun_move_icon
|
|
screen |= usr.radio_use_icon
|
|
|
|
/client/proc/remove_gun_icons()
|
|
if(!usr) return 1 // Runtime prevention on N00k agents spawning with SMG
|
|
screen -= usr.item_use_icon
|
|
screen -= usr.gun_move_icon
|
|
screen -= usr.radio_use_icon
|