This works to give the player a random primary weapon from that list, but the problem is that they have no ammo. Is there a way to tell the server to give the player the ammo needed for that weapon? I could just make it so all the weapons that are in the list use the same ammo but that would be boring and would be a bit restrictive. I also don't want specific random loadouts, where if you get primary weapon "A", then you also get secondary weapon "B". I want it to be truely random. I've also created arrays like that for secondary weapons and food and drinks.
Question
BetterDeadThanZed
I'm trying to randomize the player loadouts when they spawn new or die and respawn. In the init.sqf I have added this:
Below that I have this:
This works to give the player a random primary weapon from that list, but the problem is that they have no ammo. Is there a way to tell the server to give the player the ammo needed for that weapon? I could just make it so all the weapons that are in the list use the same ammo but that would be boring and would be a bit restrictive. I also don't want specific random loadouts, where if you get primary weapon "A", then you also get secondary weapon "B". I want it to be truely random. I've also created arrays like that for secondary weapons and food and drinks.
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now