Difference between revisions of "SetGravity"

From Multi Theft Auto: Wiki
 
(Example)
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