Vn_ms_module_fnc_vehicleRespawn_add
Jump to navigation
Jump to search
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
Description
Adds vehicle to VN Vehicle respawn system.
Syntax
- Syntax
- [_vehicle,_respawnDelay,_abandonDistance,_adandonTime,_respawnImmobilized,_notification,_initCode,_name] call vn_ms_module_fnc_vehicleRespawn_add;
- Parameters
- _vehicle: Object - (Optional, default
objNull
) Vehicle to respawn - _respawnDelay: Number - (Optional, default
30
) Respawn delay in seconds - _abandonDistance: Number - (Optional, default
1000
) Abandon distance - _adandonTime: Number - (Optional, default
0
) Abandon time in seconds (0 = disabled) - _respawnImmobilized: Boolean - (Optional, default
true
) Respawn when vehicle unable to move - _notification: Boolean - (Optional, default
true
) Notifiy player about respawn - _initCode: Code - (Optional, default
{}
) Code to be executed upon respawn (args: <old>, <new>) - _name: String - (Optional, default
""
) Name used in respawn notification - Return value
- Boolean - Vehicle was added to respawn system