mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-30 11:01:35 +00:00
11 lines
405 B
Plaintext
11 lines
405 B
Plaintext
ADMIN_VERB(cinematic, R_FUN, "Cinematic", "Show a cinematic to all players.", ADMIN_CATEGORY_FUN)
|
|
var/datum/cinematic/choice = tgui_input_list(
|
|
user,
|
|
"Chose a cinematic to play to everyone in the server.",
|
|
"Choose Cinematic",
|
|
sort_list(subtypesof(/datum/cinematic), GLOBAL_PROC_REF(cmp_typepaths_asc)),
|
|
)
|
|
if(!choice || !ispath(choice, /datum/cinematic))
|
|
return
|
|
play_cinematic(choice, world)
|