Kill if AFK(ESC Menu)
#5

PHP код:
#define FILTERSCRIPT
#include <a_samp>
new bool:PlayerPaused
  
public 
OnPlayerDeath(playeridkilleridreason
    { 
    
PlayerPaused false
    return 
1;
    } 
public 
OnPlayerKeyStateChange(playeridnewkeysoldkeys

    if (
PRESSED(KEY_ESC)) 
    { 
        
PlayerPaused true
        if(
PlayerPaused)
        {
        
SetPlayerHealth(playerid0);             
    }
    } 
    return 
1

Reply


Messages In This Thread
Kill if AFK(ESC Menu) - by Funce - 10.12.2017, 12:56
Re: Kill if AFK(ESC Menu) - by Dignity - 10.12.2017, 13:06
Re: Kill if AFK(ESC Menu) - by Funce - 10.12.2017, 13:09
Re: Kill if AFK(ESC Menu) - by Lucases - 10.12.2017, 13:13
Re: Kill if AFK(ESC Menu) - by rfr - 10.12.2017, 13:15
Re: Kill if AFK(ESC Menu) - by Lucases - 10.12.2017, 13:21
Re: Kill if AFK(ESC Menu) - by NealPeteros - 10.12.2017, 13:22
Re: Kill if AFK(ESC Menu) - by rfr - 10.12.2017, 13:23
Re: Kill if AFK(ESC Menu) - by Funce - 10.12.2017, 13:29
Re: Kill if AFK(ESC Menu) - by NealPeteros - 10.12.2017, 13:31

Forum Jump:


Users browsing this thread: 1 Guest(s)