SetGravity: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
Line 12: Line 12:
<syntaxhighlight lang="lua">addCommandHandler ( "setgravity", "grav" )
<syntaxhighlight lang="lua">addCommandHandler ( "setgravity", "grav" )
function grav ( source, command, gravid )
function grav ( source, command, gravid )
setGravity ( gravid )
    setGravity ( gravid )
end</syntaxhighlight>
end</syntaxhighlight>


==See Also==
==See Also==
{{World functions}}
{{World functions}}

Revision as of 10:59, 13 March 2007