Local

From Multi Theft Auto: Wiki
Revision as of 21:13, 22 September 2006 by IJs (talk | contribs)
Jump to navigation Jump to search

A local variable only exists within the function it is specified. Therefore, it exists between "on function" and the functions "end" point.

Example:

local playermoney = getPlayerMoney ( source )