Why it show server name?
How to fix it?
PHP Code:
public RoundEnd()
{
new name[34]
new worstplayer, worstscore
for(new i; i > sizeof(Kills); i++)
{
if(Kills[i] < worstscore)
{
if(get_user_team(i) == 1 || get_user_team(i) == 2){
worstplayer = i
worstscore = Kills[i]
}
return PLUGIN_CONTINUE
}
}
get_user_name(worstplayer, name, 33)
client_print(0, print_chat, "The worst player is: %s ^nKills: %i", name, worstscore)
return PLUGIN_CONTINUE
}