hi, need help, i create new grenade (gas) change in tear gas script to my grenade, create gas mask (with hud) now need change script to disable if i have gas mask, i try with varible
init:
have_protivogaz = false;
execvm my gas mask loop script
execvm tear gas script
my gas mask loop script:
if have mask
have_protivogaz = true;
if don't have mask
have_protivogaz = false;
tear gas script:
i don't think how i can write, i need
if (have_protivogaz) then {
//empty
} else {
//script tear gas
};
but, not work... i think need loop to...
init:
have_protivogaz = false;
execvm my gas mask loop script
execvm tear gas script
my gas mask loop script:
if have mask
have_protivogaz = true;
if don't have mask
have_protivogaz = false;
tear gas script:
i don't think how i can write, i need
if (have_protivogaz) then {
//empty
} else {
//script tear gas
};
but, not work... i think need loop to...