Making headshot Dis/able cmd
#1

Well, my script actually doesn't only containt a gamemode (pwn + amx)
it actually has everything defined as include (commands, callbacks, defines..etcs)

This is what i've copied in:

Defines
Код:
#define WEAPON_BODY_PART_CHEST 3
#define WEAPON_BODY_PART_CROTCH 4
#define WEAPON_BODY_PART_LEFT_ARM 5
#define WEAPON_BODY_PART_RIGHT_ARM 6
#define WEAPON_BODY_PART_LEFT_LEG 7
#define WEAPON_BODY_PART_RIGHT_LEG 8
#define WEAPON_BODY_PART_HEAD 9
Callbacks
Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount)
{
    if(issuerid != INVALID_PLAYER_ID )
    {
        SetPlayerHealth(playerid, 0.0);
    }
    return 1;
}
Am kinda new, and I need help to turn this system to a Filterscript and use a command to able and disable headshot system (ofc will be used by admins or smth)..
Reply


Messages In This Thread
Making headshot Dis/able cmd - by SyCHO - 15.12.2015, 17:45
Re: Making headshot Dis/able cmd - by SnG.Scot_MisCuDI - 15.12.2015, 18:12
Re: Making headshot Dis/able cmd - by SyCHO - 15.12.2015, 19:14
Re: Making headshot Dis/able cmd - by SyCHO - 16.12.2015, 19:36
Re: Making headshot Dis/able cmd - by SyCHO - 20.12.2015, 20:29
Re: Making headshot Dis/able cmd - by SaltySandy - 20.12.2015, 20:36

Forum Jump:


Users browsing this thread: 1 Guest(s)