mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-25 01:22:24 +00:00
24 lines
607 B
Plaintext
24 lines
607 B
Plaintext
var/global/gimmick_hat = null
|
|
|
|
// irreversable, for now
|
|
/client/proc/cmd_admin_christmas()
|
|
set category = "Fun"
|
|
set name = "Christmas Time"
|
|
|
|
if(!holder)
|
|
src << "Only administrators may use this command."
|
|
return
|
|
|
|
if(!gimmick_hat)
|
|
log_admin("[usr.key] has started Christmas!")
|
|
message_admins("<font color='blue'>[usr.key] has started Christmas!</font>")
|
|
|
|
// handle pre-existing hats
|
|
gimmick_hat = "santahat"
|
|
else
|
|
log_admin("[usr.key] has stopped Christmas!")
|
|
message_admins("<font color='blue'>[usr.key] has stopped Christmas!</font>")
|
|
|
|
// handle pre-existing hats
|
|
gimmick_hat = null
|