14.11.2014, 13:42
Hey, where can i get every gta weapon orginal damage?
Also
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
new Float:HP;
GetPlayerHealth(playerid, HP);
if(weaponid == 31) SetPlayerHealth(playerid, HP-25);
return 1;
}
will this script increase the original m4 damage by 25 hp(for example damage was 15, and with this script it became 40) or replace m4 damage(for example it was 15, and with this script it became 25)?
Sorry for bad english, hope you understand what im trying to say ;/
Also
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
new Float:HP;
GetPlayerHealth(playerid, HP);
if(weaponid == 31) SetPlayerHealth(playerid, HP-25);
return 1;
}
will this script increase the original m4 damage by 25 hp(for example damage was 15, and with this script it became 40) or replace m4 damage(for example it was 15, and with this script it became 25)?
Sorry for bad english, hope you understand what im trying to say ;/