Blockland Forums > Modification Help
MinigameSO::Reset() Arguments
Placid:
--- Quote from: Chrono on August 14, 2011, 01:28:12 PM ---It'll work for engine functions like getSubStr, but not for scripted functions like serverCmdBan.
--- End quote ---
ah, i see. that clears something up for me, thanks.
Fluff-is-back:
--- Quote from: Placid on August 14, 2011, 10:31:57 AM ---
--- Code: ---function MinigameSO::Reset(%mini)
--- End code ---
--- End quote ---
I tried this and it did not work, so I conducted a search and found that it is this:
--- Code: ---MinigameSO::reset(%this, %client)
--- End code ---
Amade:
--- Quote from: Fluff-is-back on August 14, 2011, 01:41:58 PM ---I tried this and it did not work, so I conducted a search and found that it is this:
--- Code: ---MinigameSO::reset(%this, %client)
--- End code ---
--- End quote ---
no it isn't. Placid is correct.
Destiny/Zack0Wack0:
--- Quote from: Amade on August 14, 2011, 09:47:58 PM ---no it isn't. Placid is correct.
--- End quote ---
%client is the person who "won" the minigame.
Chrono:
--- Quote from: Destiny/Zack0Wack0 on August 14, 2011, 10:22:52 PM ---%client is the person who "won" the minigame.
--- End quote ---
You mean who reset the minigame, which in TDM's case, chooses the winner.