Lowering health after using /rape command
#6

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
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)