mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2025-12-10 19:12:07 +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
|