adjusted syntax errors

This commit is contained in:
Bear
2025-01-25 03:48:44 -03:00
parent 033a673e57
commit 8617ec99be
3 changed files with 14 additions and 14 deletions

View File

@@ -106,8 +106,8 @@ Vests = [
"braf_ephod_vest"
];
_randomVests = selectRandom Vests
if (((_randomVests) != "") || (!isNull(_randomVests))) then
_randomVests = selectRandom Vests;
if (_randomVests != "") then
{
_unit addVest _randomVests;
}; // IF Statement criado para parar com erros no log

View File

@@ -140,20 +140,20 @@ facewears = [
"CUP_G_WristWatch",
"G_EyeProtectors_F"
];
_randomSuit = selectRandom suits
if (((_randomSuit) != "") || (!isNull(_randomSuit))) then
_randomSuit = selectRandom suits;
if (_randomSuit != "") then
{
_unit forceAddUniform _randomSuit;
}; // IF Statement criado por que sim
_randomHeadgear = selectRandom headgears
if (((_randomHeadgear) != "") || (!isNull(_randomHeadgear))) then
_randomHeadgear = selectRandom headgears;
if (_randomHeadgear != "") then
{
_unit addHeadgear _randomHeadgear;
}; // IF Statement criado para parar com erros no log
_randomFacewears = selectRandom facewears
if (((_randomFacewears) != "") || (!isNull(_randomFacewears))) then
_randomFacewears = selectRandom facewears;
if (_randomFacewears != "") then
{
_unit addGoggles _randomFacewears;
}; // IF Statement criado para parar com erros no log

View File

@@ -105,20 +105,20 @@ facewears = [
"CUP_G_WristWatch",
"G_EyeProtectors_F"
];
_randomSuit = selectRandom suits
if (((_randomSuit) != "") || (!isNull(_randomSuit))) then
_randomSuit = selectRandom suits;
if (_randomSuit != "") then
{
_unit forceAddUniform _randomSuit;
}; // IF Statement criado por que sim
_randomHeadgear = selectRandom headgears
if (((_randomHeadgear) != "") || (!isNull(_randomHeadgear))) then
_randomHeadgear = selectRandom headgears;
if (_randomHeadgear != "") then
{
_unit addHeadgear _randomHeadgear;
}; // IF Statement criado para parar com erros no log
_randomFacewears = selectRandom facewears
if (((_randomFacewears) != "") || (!isNull(_randomFacewears))) then
_randomFacewears = selectRandom facewears;
if (_randomFacewears != "") then
{
_unit addGoggles _randomFacewears;
}; // IF Statement criado para parar com erros no log