#include <a_samp>
new name[X_MoDy];
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
if(issuerid != INVALID_PLAYER_ID && (weaponid == 34 || weaponid == 33) && bodypart == 9)
{
SetPlayerHealth(playerid, 0.0);
new stringa[80];
GetPlayerName(playerid, name, sizeof(name));
format(stringa, sizeof(stringa), "[ ! ]:[%s] He was killed by headshot ", name);
SendClientMessageToAll(0xFFFF00FF,stringa);
}
return 1;
}[COLLAPSIBLE][/COLLAPSIBLE]
I'm Saw in GamerX Not Have Head Shote system Beacuse That i'm Made Thise scripte To GamerX And Please Try It. And I'm good Scripter If GamerX want Any Donat in Scripts Please Tell me and i'm gonna make it.
Thanks.
new name[X_MoDy];
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
if(issuerid != INVALID_PLAYER_ID && (weaponid == 34 || weaponid == 33) && bodypart == 9)
{
SetPlayerHealth(playerid, 0.0);
new stringa[80];
GetPlayerName(playerid, name, sizeof(name));
format(stringa, sizeof(stringa), "[ ! ]:[%s] He was killed by headshot ", name);
SendClientMessageToAll(0xFFFF00FF,stringa);
}
return 1;
}[COLLAPSIBLE][/COLLAPSIBLE]
I'm Saw in GamerX Not Have Head Shote system Beacuse That i'm Made Thise scripte To GamerX And Please Try It. And I'm good Scripter If GamerX want Any Donat in Scripts Please Tell me and i'm gonna make it.
Thanks.
Comment