14.12.2009, 17:26
thnx, but i mean something like this.
Also, how to check if players draw and it can say the match has drawn.
}[/pawn]
so it can be called at the end of gm.
pawn Код:
forward gmend(playerid);
public gmend(playerid)
{
new pname[MAX_PLAYER_NAME];
new string[128];
GetPlayerName(playerid,pname,sizeof(pname);
format(string,sizeof(string),"%s wins with %d points!",pname,score);
SendClientMessageToAll(COLOR_ORANGE,string);
}
}[/pawn]
so it can be called at the end of gm.

