Difference between revisions of "R3d.Body:setIsAllowedToSleep"

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}}

Latest revision as of 15:31, 13 July 2023