How to make /td cmd need help!
#2

PHP Code:
    if(hp <= hpp)
    {
        
KillTimerPlayer[playerid][DrugTimer] );
        
        
Player[playerid][OnDose] =0;
        
format(msgsizeof(msg), "* Your health has set to %f "hpp);
        
SendClientMessage(playerid, -1msg);
        
        
//return 1;// Remove this line or disable it!
    
}else{
        
SendClientMessage(playerid, -1"Falied to stop timer. and enter if statment");
    }
    
    
SetPlayerHealth(playerid, (hpp 5.00) );
    
    return 
1;

Maybe with disabling return that I said your code will be fixed.
Reply


Messages In This Thread
How to make /td cmd need help! - by waheed - 17.06.2019, 04:35
Re: How to make /td cmd need help! - by SiNaGaMeR - 17.06.2019, 07:28

Forum Jump:


Users browsing this thread: 1 Guest(s)