]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/mutators/events.qh
Document creation of mutator hooks
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / events.qh
index 6853c04a15641dc69bd6e52f7da39615a41610a4..6cdf94feb41dd7427eed36b493a094768e634656 100644 (file)
@@ -3,6 +3,9 @@
 #include <common/mutators/base.qh>
 
 // register all possible hooks here
+// to use a hook, first register your mutator using REGISTER_MUTATOR
+// then create your function using MUTATOR_HOOKFUNCTION
 
 /** called when a player becomes observer, after shared setup */
 #define EV_MakePlayerObserver(i, o) \