R3d.Body:setIsAllowedToSleep: Difference between revisions

From GiderosMobile
m Text replacement - "<source" to "<syntaxhighlight"
m Text replacement - "</source>" to "</syntaxhighlight>"
Line 6: Line 6:
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
r3d.Body:setIsAllowedToSleep(allowed)
r3d.Body:setIsAllowedToSleep(allowed)
</source>
</syntaxhighlight>


=== Parameters ===
=== Parameters ===
Line 14: Line 14:
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
ship.body:setIsAllowedToSleep(false)
ship.body:setIsAllowedToSleep(false)
</source>
</syntaxhighlight>


{{R3d.Body}}
{{R3d.Body}}

Revision as of 13:31, 13 July 2023