14.05.2011, 02:56
PHP код:
public OnPlayerShootPlayer(shooter,target,Float:damage)
{
new Float:jVida;
GetPlayerHealth(target, jVida);
if(GetPlayerWeapon(shooter) == /*id da arma*/)
{
SetPlayerHealth(target, jVida-/*quantidade para perder de life*/);
}
return 1;
}