08.08.2013, 14:06
pawn Код:
public OnActiveStartedWinnerChecking()
{
if(activestart && activeplayers == 1)
{
new i = -1;
for(new x; x < MAX_PLAYERS && i == -1; x++) if(IsPlayerConnected(x) && player[x][joinACT]) i = x;
SendFormatMessageToAll(color_orange, message, "~ a"n~u'ййоa" Sawn-фo`йi`a*u' a" ~");
SendFormatMessageToAll(color_white, message, "%s has won!", getname[i]); // change it to what ever you want but keep '%s'
SendFormatMessageToAll(color_orange, message, "~ a"n~u'ййоa" Sawn-фo`йi`a*u' a" ~");
SpawnPlayer(i);
GivePlayerMoney(i, activeamout);
OnActiveStatusStop();
}
}