Local

From Multi Theft Auto: Wiki
Revision as of 09:16, 18 May 2006 by Ransom (talk | contribs)
Jump to navigation Jump to search

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

Example:

local playermoney = getPlayerMoney ( source )