]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/mutators/base.qh
I swear i'm going to sleep after this
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / base.qh
index e668c1da1ea222bf13f1e300442a81ab078d8b29..f2d740c39ed9b63f4593790d435e55f57d1eac43 100644 (file)
@@ -198,3 +198,15 @@ MUTATOR_HOOKABLE(Spawn_Score);
        entity spawn_spot; // spot to be evaluated
        // IN+OUT
        vector spawn_score; // _x is priority, _y is "distance"
+
+MUTATOR_HOOKABLE(SV_StartFrame);
+       // runs globally each server frame
+
+MUTATOR_HOOKABLE(SetModname);
+       // OUT
+       string modname; // name of the mutator/mod if it warrants showing as such in the server browser
+
+MUTATOR_HOOKABLE(PortalTeleport);
+       // called whenever a player goes through a portal gun teleport
+       // allows you to strip a player of an item if they go through the teleporter to help prevent cheating
+       entity self;
\ No newline at end of file