GetGameType: Difference between revisions
Jump to navigation
Jump to search
(New page: __NOTOC__ {{Server function}}<!-- Change this to "Client function" or "Server function" appropriately--> <!-- Describe in plain english what this function does. Don't go into details, jus...) |
mNo edit summary |
||
Line 12: | Line 12: | ||
===Returns=== | ===Returns=== | ||
<!-- Make this descriptive. Explain what cases will return false. If you're unsure, add a tag to it so we can check --> | <!-- Make this descriptive. Explain what cases will return false. If you're unsure, add a tag to it so we can check --> | ||
Returns the gametype as a string | Returns the gametype as a string. If no gametype is set it returns ''nil''. | ||
==Example== | ==Example== |
Revision as of 17:26, 14 December 2007
This function retrieves the current gametype as set by setGameType.
Syntax
string getGameType ()
Returns
Returns the gametype as a string. If no gametype is set it returns nil.
Example
This example does...
--TODO