Quote:
Originally Posted by dominik523
pawn Код:
new RapeTime[MAX_PLAYERS]; new RapeTimer[MAX_PLAYERS]; RapeTimer[playerid] = SetTimerEx("LowerHealth", 1000, true, "d", playerid); forward public LowerHealth(playerid); public LowerHealth(playerid) { if(RapeTime[playerid] >= 30) { KilltTimer(RapeTimer[playerid]); return 1; } SetPlayerHealth(playerid, GetPlayerHealth(playerid) - 1); // put your value here RapeTime[playerid] ++; return 1; }
|
how do i implement this into my command, in /rape