Help me with weapon drop [+Rep]
#2

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.
Reply


Messages In This Thread
Help me with weapon drop [+Rep] - by kesarthakur - 15.05.2015, 08:52
Re: Help me with weapon drop [+Rep] - by Vince - 15.05.2015, 09:38

Forum Jump:


Users browsing this thread: 1 Guest(s)