Author Topic: Checking if minigame round has ended  (Read 1176 times)

^title
how do I change a player's weapon??

Nevermind, figured that out.
Whats the function for loading a save and what do its args mean?
« Last Edit: May 10, 2014, 10:43:50 AM by ZombieDude »

serverDirectSaveFileLoad(string fileName, int colorMethod, string dirName, int brickOwnership, [bool silent])

fileName       - The path to a valid BLS file (i.e. "saves/foo.bls").
colorMethod    - The method to use for selecting colors. 3 by default. Not sure of indices for others.
dirName        - Not sure. Probably relates to pre-v21 map directories.
brickOwnership - One of the following:
                   0 - Load as host
                   1 - Load original ownership
                   2 - Load as public
                   3 - Unknown (auto?)
silent         - Don't display messages for loading.
« Last Edit: May 10, 2014, 10:15:47 AM by portify »

serverDirectSaveFileLoad(string fileName, int colorMethod, "", int brickOwnership)

fileName       - The path to a valid BLS file (i.e. "saves/foo.bls").
colorMethod    - The method to use for selecting colors. 3 by default. Not sure of indices for others.
brickOwnership - One of the following:
                   0 - Load as host
                   1 - Load original ownership
                   2 - Load as public
                   3 - Unknown (auto?)
Ah, thank you. Topic locked.

Recycling this.

^title
lets say 'team1' beats 'team2' by capturing a flag. how do i check via script when team1 wins?

You should probably note that it's a question regarding Slayer (or something else if that's the case).

You should probably note that it's a question regarding Slayer (or something else if that's the case).
it does use slayer.

found the source for it in the minigames.cs. locking.