Thanks for the reply.
New problem though, when i launch the game with your script on my dedicated server, all the units spawn with their standard weapons (both pistol and rifle) the rest of the equipment works fine.
The weapons are present, i can find them in my ammocrates, just not on the unit.