View Single Post
comp_noob
Senior Member
Join Date: Nov 2010
Old 11-30-2010 , 10:08   Re: [Alien Swarm] Finding current equipped weapon name
Reply With Quote #19

1st error:
PHP Code:
L 11/30/2010 23:06:57: [SMNative "EntIndexToEntRef" reportedInvalid entity index -1
L 11
/30/2010 23:06:57: [SMDisplaying call stack trace for plugin "swarmtools.smx":
L 11/30/2010 23:06:57: [SM]   [0]  Line 72swarmtools.sp::GetMarineResources()
L 11/30/2010 23:06:57: [SM]   [1]  Line 45swarmtools.sp::OnMapStart() 
and after this error, all the other natives return the wrong value of -1...
and i've found out that m_iClip1 returns the correct current ammo in the active weapon... maybe it can be of some help..

Last edited by comp_noob; 11-30-2010 at 10:25.
comp_noob is offline