I guess i could have been more descriptive, all it does is when you do +weap it takes you current wepon and vies you the m40, w1200, or the gun you had at the start. as for the forever loop it is there so when you do +weap it works, and the endon is there cause i threaded it in onplayerspawned and i don't want many copy's of the same thread running at once.
The script keeps giving me the error "exceeded maximum number of child0 scripts"
the mod itself loads but then once i spawn it freezes and gives that error.
Im pretty sure the error is in all the m40, w1200 and defultgun threads cause i copy pasted them.
Couldn't figure out how to use the code box thing so http://pastebin.com/HmfcXrG6
help would be helpful.