Why 0.4 doesn't has weapons pick up, It's very annoying when you kill someone and there's any weapon pick up.
This is by design. It's up to individual servers to implement weapon pickups.
Yeah, I wanted to script this but no idea :-[
I'd rather players hunt and kill for more ammo instead of spawning with 99999999999 ammo for every gun
Quote from: Gulk on Apr 13, 2015, 03:07 PMYeah, I wanted to script this but no idea :-[
I'd rather players hunt and kill for more ammo instead of spawning with 99999999999 ammo for every gun
Well Yes . There should be a reason to kill others . :)
During Kill , You can try utilizing
GetWeaponAtSlot( int weaponSlot ) to get the weapon at that slot &
GetAmmoAtSlot( int weaponSlot ) to get the amount of ammunation at that slot of a particular player object . Although , I aint sure that whether these entities will get called at the instant when someone is killed . In case it's called then start creating pickups associated with each weapon with some separation of course .
Write a function to customize the weapons of that player who picks this weapon pickup . Remove the pickup if noone picked it . I'm feeling the need of something like
AutoDestroyTimer for a pickup entity .
Click me. (http://forum.vc-mp.org/?topic=479.msg3186#msg3186)