I guess that you deleted the player entity so the wntry in your players[] array of your last post got invalid. But you trie to use this pointer somewhere in your code. I would write null into the array when the player was deleted and everywhere you use a pointer out of the players[] array check if it is no null pointer.
ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)! get free version
Sorry, there was no error message, only a windows crash message( can't execute main.exe). I found the solution puting a variable death - not death and return in the death player function. Thanks .