1st error:
PHP Code:
L 11/30/2010 - 23:06:57: [SM] Native "EntIndexToEntRef" reported: Invalid entity index -1
L 11/30/2010 - 23:06:57: [SM] Displaying call stack trace for plugin "swarmtools.smx":
L 11/30/2010 - 23:06:57: [SM] [0] Line 72, swarmtools.sp::GetMarineResources()
L 11/30/2010 - 23:06:57: [SM] [1] Line 45, swarmtools.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..