SetServerPassword: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Private]]
__NOTOC__  
__NOTOC__  
{{Server function}}<!-- Change this to "Client function" or "Server function" appropriately-->
{{Server function}}<!-- Change this to "Client function" or "Server function" appropriately-->

Revision as of 16:56, 14 December 2007

This function changes the password required to join the server to the given string.

Syntax

bool setServerPassword ( string thePassword )

Required Arguments

  • thePassword: The new server password you want. Pass nil or an empty string to remove the password.

Returns

Returns true if the password was successfully changed or removed, false or nil otherwize.

Example

This example does...

--TODO
mooo

See Also

Template:FunctionArea functions