Quote:
Originally Posted by Cameltoe
As far as i see it you need to change:
pawn Код:
forward StopPaintball(); public StopPaintball() { for(new i = 0; i < MAX_PLAYERS; i ++) // #1 Loop { if(InPaintball[i] == 1) { new string[256]; ResetPlayerWeapons(i); SetTimer("StartPaintball", 30000, 0); pGun[1] = 0, pGun[2] = 0, pGun[3] = 0, pGun[4] = 0, pGun[5] = 0, pGun[6] = 0; pRound = 0, PlayerKills[i] = 0, VotedMap[i] = 0, VotedGun[i] = 0, pVoted = 1; format(string, sizeof(string), "Castigatorul acestei runde de paintball este: %s - %d kills", GetName(pWinner), pWinnerScore); PaintMessage(COLOR_YELLOW, string); // This line to regular SendClientMessage as you are already looping at #1 SetTimer("StartPaintball", 20000, false); } } return 1; }
|
I do not understand. What can I do, what can replace that lop to send that message at all.