God mode during a certain mode
#2

Yes, it's possible. When you set a player to brutally wounded, for example, do:
PHP код:
PlayerData[playerid][pExecuteTime] = 1;
public 
YOUR_TIMER_HERE
{
    foreach(new 
Player){
     if(
PlayerData[i][pExecuteTime]){
            
PlayerData[i][pExecuteTime]++;
            if(
PlayerData[i][pExecuteTime] == 5){
                
PlayerData[i][pExecuteTime] = 0;
            }
        }
    }

Add to:
PHP код:
   if(Character[playerid][BrutalM] == && !PlayerData[playerid][pExecuteTime]) 
Reply


Messages In This Thread
Timer during a mode - by aoky - 13.06.2017, 23:52
Re: God mode during a certain mode - by Kane - 14.06.2017, 00:38
Re: God mode during a certain mode - by aoky - 14.06.2017, 01:45
Re: God mode during a certain mode - by Dice_ - 14.06.2017, 02:28

Forum Jump:


Users browsing this thread: 1 Guest(s)