07.08.2013, 23:47
Код:
public OnActiveStartedWinnerChecking()
{
if(activestart && activeplayers == 1)
{
SendFormatMessageToAll(color_orange, message, "~ SAWN ~");
for(new i; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i) && player[i][joinACT])
{
SendFormatMessageToAll(color_white, message, "!%s has won", getname[i]);
SpawnPlayer(i);
GivePlayerMoney(i, activeamout);
}
SendFormatMessageToAll(color_orange, message, "~ SAWN ~");
OnActiveStatusStop();
}
}
Sometimes it's make crash, and sometime it write, "! has won" (doesn't write name)
PLEASE HELP! i think there's problem with the
Код:
for(..)


