Search the Community
Showing results for tags 'stupid'.
Found 1 result
Okay due to some things i forgot to check yesterday i've now made some final changes. NOTE: it's made based of RHS, it will replace the weapons that FIA are using, advise to not use it in a manner that affects the player. *Moved the shuffle statement of all the arrays to be before the arrays are doubled *it now grabs the items the unit is carrying before they're wiped and re-adds them at the end of the script *it now adds ammo for the GP25's and M203's *if the weapon to be given is in the LMG list the unit will now get a kitbag for the ammo *if the unit gets a RPG-7 with or without a PGO it will receive a RPG pack https://pastebin.com/MikjXBqc So i am trying to make a script that will replace the weapons of the opfia that spawns in a mission, it identifies them by what weapon they have and checks if they have the rpg32 and replaces it as well. The problem i am having is that i can't seem to make it run, the script itself should work even if it's not a class A example of a code, so if anyone would be so kind to take a look over it and tell me how to trigger it that'd be swell!