get | Multi Theft Auto: Wiki Skip to content

get

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function gets a setting's value, or a group of settings' values, from the settings registry.

Note

Your settings cannot have a period (.) in them. This character is reserved. Read below for more details.

Syntax

get ( )

Code Examples

server

Example returns a value from the settings registry with the name "respawnTime".

function getMySetting()
if get ( "respawnTime" ) then
return get ( "respawnTime" )
end
return false
end

See Also