respawnVehicle

From Bohemia Interactive Community
Revision as of 13:03, 30 June 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


vehicle respawnVehicle [delay = -1, count = 0]


Operand types:

vehicle: Object

[delay = -1, count = 0]: Array

Type of returned value:

Nothing

Compatibility:

Version 2.52 required.

Description:

Set vehicle as respawnable in MP games.

Delay is respawn delay, default respawnDelay from description.ext is used.

Count tells how many respawns is processed (default unlimited).


Example:

car respawnVehicle [5.0, 3]