Hi Bacardi and thanks for quest!!!
Sorry, i omitted lot of info
Server is SRCDS running on a Windows x64.
The code is the next:
PHP Code:
public Action:CS_OnCSWeaponDrop(iClient, iWeaponIndex)
{
decl String:szClassName[32];
GetEdictClassname(iWeaponIndex, szClassName, sizeof(szClassName));
if(StrEqual(szClassName, "weapon_c4", false))
{
g_iC4Ent = iWeaponIndex;
}
}
Sorry if not show formatted (i check PHP code, i hope this correct).
If you add the code on any plugin, server will crash on maps like $2000$ or any where map with weapon on floor at map start.
PS: This fragment of code is from "Dropped Bomb Defuse" plugin. The author is "SavSin"