mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
18 lines
337 B
Plaintext
18 lines
337 B
Plaintext
|
/*
|
||
|
* Author: Glowbal
|
||
|
* Get the cargo space left on object
|
||
|
*
|
||
|
* Arguments:
|
||
|
* 0: Object <OBJECT>
|
||
|
*
|
||
|
* Return value:
|
||
|
* Cargo space left <NUMBER>
|
||
|
*
|
||
|
* Public: No
|
||
|
*/
|
||
|
|
||
|
#include "script_component.hpp"
|
||
|
|
||
|
params ["_vehicle"];
|
||
|
_vehicle getvariable [QGVAR(space), getNumber (configFile >> "CfgVehicles" >> typeof _vehicle >> QGVAR(space))];
|