Update docs for multi user vehicle kill
parent
646a7b3030
commit
7c67567002
|
@ -71,6 +71,7 @@
|
||||||
#LogVehicle (Log)
|
#LogVehicle (Log)
|
||||||
## Properties
|
## Properties
|
||||||
+ shooter: `HardiReady` (string, required) - name of player who shot the vehicle
|
+ shooter: `HardiReady` (string, required) - name of player who shot the vehicle
|
||||||
|
+ additionalShooter: [`[GNC]Paolo`, `Dominik`] (array[string], required) - additional crew members of shooter vehicle
|
||||||
+ target: `T-100` (string, required) - name of the vehicle
|
+ target: `T-100` (string, required) - name of the vehicle
|
||||||
+ fraction: `BLUFOR` (enum, required) - fraction of the shooter
|
+ fraction: `BLUFOR` (enum, required) - fraction of the shooter
|
||||||
+ Members
|
+ Members
|
||||||
|
|
|
@ -341,8 +341,6 @@ const getPlayerAndFractionFromString = (inputString) => {
|
||||||
undefined;
|
undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(name);
|
|
||||||
|
|
||||||
// do not return player for 'Error: No unit'
|
// do not return player for 'Error: No unit'
|
||||||
if (name && name !== 'Error: No unit') {
|
if (name && name !== 'Error: No unit') {
|
||||||
return {name: name, fraction: fraction};
|
return {name: name, fraction: fraction};
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue