[Pedido] PowerFullSniper - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Pedido] PowerFullSniper (
/showthread.php?tid=350050)
[Pedido] PowerFullSniper -
dimmy_ - 11.06.2012
Alguem tem esse FS? usei o Search, mais sу achei com link FAIL
se alguem tiver posta ae plz =D
Re: [Pedido] PowerFullSniper -
leonardo1434 - 11.06.2012
o que faz esse powerfullsniper? Ele mata os jogadores apenas com um tiro ?
Re: [Pedido] PowerFullSniper -
dimmy_ - 11.06.2012
quase isso, ele tira 60 de vida com 1 tiro
Re: [Pedido] PowerFullSniper -
EditPawn - 11.06.2012
Simples
PHP код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
if(GetPlayerWeapon(playerid) == 34)
{
amount = 60;
new Float:vida;
GetPlayerHealth(damagedid, vida);
SetPlayerHealth(damagedid, vida-amount);
}
return 1;
}