Thank you for your help and explanation guys, hopefully it will work this time ^^ Also learned something new, so thanks for that aswell!
I use HexVips plugin, where I added a couple of lines that give grenades and vest+helm to players, and it's slightly delayed (I think I set it to 0.5 sec after player spawn):
Code:
public Action tDelayLife(Handle timer, any iUserId)
{
int client = GetClientOfUserId(iUserId);
if (!IsValidClient(client, false, false))
return Plugin_Continue;
SetEntProp(client, Prop_Send, "m_ArmorValue", cv_fVipSpawnArmour.IntValue);
SetEntProp(client, Prop_Send, "m_bHasHelmet", 1);
GivePlayerItem(client, "weapon_hegrenade");
GivePlayerItem(client, "weapon_flashbang");
GivePlayerItem(client, "weapon_smokegrenade");
GivePlayerItem(client, "weapon_molotov");
GivePlayerItem(client, "weapon_tagrenade");
GivePlayerItem(client, "weapon_healthshot");
int iSpawnHealth = GetClientHealth(client);
SetEntityHealth(client, iSpawnHealth + cv_iVipSpawnHP.IntValue);
return Plugin_Continue;
}
So when players spawn they will have their grenades removed, and after a slight delay they will get them back, hopefully ^^