I'm having an issue with my server crashing whenever I use GivePlayerItem in a plugin.
This is what crashes it:
public void GiveStartingWeapons()
for(int i = 1; i <= MaxClients; i++)
SetEntProp(i, Prop_Send, "m_ArmorValue", 100, 1);
If I comment out the last two lines of that function it sets armor value as expected and works just fine. I've tried using a different plugin that uses GivePlayerItem and that also crashes so I'm wondering if the offset for GiveNamedItem has changed? I have the latest SM and I haven't seen anyone else having issues with this so I'm really confused.
Here's an Accelerator crash dump if it helps: https://crash.limetech.org/zxz4autwj7wq