20.06.2012, 18:09
i use
but it not start the timer
forward kouxue2();
and the OnPlayerUpdate too
i use more than 20 timer
but something timer work ......
Код:
diaoxue = SetTimer("kouxue2",5000,1);
forward kouxue2();
Код:
public kouxue2() { printf("a"); new Float:HP; foreach(Player,i) { GetPlayerHealth(i,HP); SetPlayerHealth(i,HP - 2); if(DEBUG == 1){ printf("HP(6) %d",i); return 1; } } return 1; }
Код:
if(fengbao != 0) { if(anquan[playerid] != 1) { GetPlayerHealth(playerid,HP); SetPlayerHealth(playerid,HP - 1); if(DEBUG == 1){ printf("HP(4) %d",playerid); } } }
but something timer work ......