Перейти к содержанию

Entity::detach

Материал из RAGE MP Wiki Archive

p1 and p2 have no effect
maybe a quick disassembly will tell us what they do

if p2 is set to true, the both entities won't collide with the other until the distance between them is above 4 meters.


p1?

Syntax

<syntaxhighlight lang="javascript">entity.detach(p1, collision);</syntaxhighlight>

Required Arguments

  • p1: Boolean
  • collision: Boolean

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also