17.10.2011, 22:22
Код:
if(PlayerIsBleeding[i] == 1) { GetPlayerHealth(i, PHealth); SetPlayerHealth(i, PHealth-1); QBleedT[i] += 1; SendClientMessage(i, COLOR_RED, "Bleeding..."); if(QBleedT[i] >= 3) { QBleedT[i] = 0; PlayerIsBleeding[i] = 0; SendClientMessage(i, COLOR_RED, "Bleeding Stopped"); } }
and this peice of code is found under the one second timer