Hello everyone, there is an extra aitem frost m4a1, the problem is that at the beginning of a new round, only the model remains, the gun itself becomes default, please help to make sure that the purchased weapon always remains, even if another player picks it up in another round
It is also interesting to find out which function or string is responsible for ensuring that the main weapon is the same and when buying extra items weapon, the current weapon is thrown out if it main
I tried to remove Remove Entity(id) and changed true/false, but I understand too little about this
Quote:
public zp_user_humanized_post(id)
{
g_bHasFrostM4A1[id] = false
g_iDmg[id] = 0
RemoveEntity(id)
}
public event_round_start()
{
for (new i = 1; i <= g_iMaxPlayers; i++)
{
g_bHasFrostM4A1 = false
g_bIsFrozen = false
g_iDmg = 0
if(is_user_alive(i))
{
Remove_Rendering(i)
}
}
}
|