PHP Code:
public ev_NewRound()
{
for(new i = 1 ; i <= g_maxplayers ; i++)
{
if(is_user_connected(i))
{
if (iKills[i] == random_num(0, 4))
{
PlayerMedals[i] += 1
static name[32] ; get_user_name(i, name, charsmax(name));
client_printcolor(0, "/y[/gZombie War/y] /gSurvivor /ctr%s /ygot /ctr%d /ya /gmedal for a /ctrhonor.", name, iKills[i])
}
iKills[i] = 0
}
}
}
I not get medal what is bad ?