OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Maximus-Sniper on 15 Aug 2004, 02:19:27
-
Hei
Can someone please please help me with to add a new ammo into a fired eventhandles??
Here is how it looks now :
class EventHandlers
{
fired = "if ((_this select 4) == ""AMMOM82AP"") then {_this call loadFile ""\BAB\FX\m82fx.sqf""};";
};
But i like to add AMMOM82AT into same line or somthing, can someone help me??
-Bearny-
-
Well, not quite sure what you're getting at, but:
class EventHandlers
{
fired = "if ((_this select 4) == ""AMMOM82AP"" || (_this select 4) == ""AMMOM82AT"") then {_this call loadFile ""\BAB\FX\m82fx.sqf""};";
};
(btw, || means 'or' )
-
Thx man! Now i iam going to try :)
-
Don't work :(
It's FXsmoke to my M82A1 Sniper riffle, Its work on that AMMOM82AP but not AMMOM82AT
-
That's odd...
That example should work... Of course, no 100% guarantees :P
Seeing your script might help though...