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" "braf_ephod_vest"
]; ];
_randomVests = selectRandom Vests _randomVests = selectRandom Vests;
if (((_randomVests) != "") || (!isNull(_randomVests))) then if (_randomVests != "") then
{ {
_unit addVest _randomVests; _unit addVest _randomVests;
}; // IF Statement criado para parar com erros no log }; // IF Statement criado para parar com erros no log

View File

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

View File

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