View Single Post
strahh
Junior Member
Join Date: Mar 2022
Old 03-10-2022 , 14:15   Re: save extra items weapon in next round
Reply With Quote #3

Quote:
Originally Posted by zXCaptainXz View Post
If you change false to true, then everyone will have the M4, instead you should just remove the whole "false" line. Try this please:

Code:
public zp_user_humanized_post(id)
{
g_iDmg[id] = 0
}

public event_round_start()
{
for (new i = 1; i <= g_iMaxPlayers; i++)
{
g_bIsFrozen = false
g_iDmg = 0

if(is_user_alive(i))
{
Remove_Rendering(i)
}
}
}
indicates an error on these lines

(154 -- 155) : error 033: array must be indexed (variable "g_bIsFrozen")
(155 -- 157) : error 033: array must be indexed (variable "g_iDmg")

Last edited by strahh; 03-10-2022 at 14:17.
strahh is offline