Help with this timer
#6

Quote:
Originally Posted by Logitech90
Посмотреть сообщение
Emh...i've a unique code for Health and Armour spawn,unique timer,i don't need to separate in 2 timers,2 publics and 2 forwards.I just need to run the timer ONLY when the player HP or Armour is more than 99.
you want to make your timer start when player health/armour is much thaan 99 try to use a new timer that checks that

something like

PHP код:
forward HealthArmourverification(playerid)
SetTimer("HealthArmourverification"5000true);
public 
HealthArmourverification(playerid)
{
    new 
Float:checkarmour;
    if(
GetPlayerArmour(playerid,checkarmour))
    {
        if (
checkarmour 99)
        {
        
//your anticheat timer
        
}
        return 
1;
    }
    else if(
GetPlayerHealth(playerid,checkarmour))
    {
        new 
Float:checkhealth;
        if (
checkhealth 99)
        {
        
//your anticheat timer
        
}
        return 
1;
    }
    return 
1;

something like that you say ?
Reply


Messages In This Thread
Help with this timer - by Face9000 - 30.12.2011, 10:30
AW: Help with this timer - by jack3 - 30.12.2011, 11:08
Re: Help with this timer - by Face9000 - 30.12.2011, 11:10
Re: Help with this timer - by Al3xutZzZzZu - 30.12.2011, 11:11
Re: Help with this timer - by Face9000 - 30.12.2011, 12:29
Re: Help with this timer - by Al3xutZzZzZu - 30.12.2011, 19:53

Forum Jump:


Users browsing this thread: 1 Guest(s)