15.05.2015, 09:38
A rather badly written script. Array with gun models with an arbitrary size even though you need at most 47 models, variables that are never used, OnPlayerUpdate range of point checking that kills performance, ... Why not pickups?
But to answer your original question: GetPlayerWeaponData in OnPlayerDeath. There is an example with a loop on the wiki.
But to answer your original question: GetPlayerWeaponData in OnPlayerDeath. There is an example with a loop on the wiki.