10.09.2015, 15:57
PHP код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ) {
if(hittype == 1) {
if(weaponid == 34) {
SetPlayerHealth(hitid, 0);
}
}
return 1;
}