SetServerPassword

From Multi Theft Auto: Wiki
Revision as of 16:56, 14 December 2007 by ChrML (talk | contribs)
Jump to navigation Jump to search

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