Jump to content

Entity::setAsMission: Difference between revisions

From RAGE Multiplayer Wiki
yay
 
Shr0x (talk | contribs)
 
Line 12: Line 12:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Entity_function_c}}
{{Entity_definition_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 18:03, 1 May 2024

Makes the specified entity (ped, vehicle or object) persistent. Persistent entities will not automatically be removed by the engine.

p1 has no effect when either its on or off
maybe a quick disassembly will tell us what it does

p2 has no effect when either its on or off
maybe a quick disassembly will tell us what it does

Syntax

entity.setAsMission(p1, byThisScript);

Required Arguments

  • p1: Boolean
  • byThisScript: Boolean

Return value

  • Undefined

Example

// todo

See also