15.12.2015, 17:45
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
Callbacks
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)..
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
Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount) { if(issuerid != INVALID_PLAYER_ID ) { SetPlayerHealth(playerid, 0.0); } return 1; }