[Ajuda] Head-Shot - 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: [Ajuda] Head-Shot (
/showthread.php?tid=517257)
Head-Shot -
neymar1477 - 04.06.2014
Olб estou procurando um sistema de Head shot que aparece na tela / KILLAH HEAD SHOT PORRA / jб procurei em muitos lugares e nгo acho, alguйm poderia me ajudar ?
Re: Head-Shot -
BigRet - 04.06.2014
Man isso й so Vc pegar um FS de HS e editar ,Tem skype ?
Re: Head-Shot -
neymar1477 - 04.06.2014
Quote:
Originally Posted by BigRet
Man isso й so Vc pegar um FS de HS e editar ,Tem skype ?
|
skype: brasilsamp2012
Re: Head-Shot -
neymar1477 - 04.06.2014
Eu estava testando uns sistema de head shot... A maioria й bugado, da head shot com armas branca, soco... Alguйm sabe um bom e funcional ?
Re: Head-Shot -
WendeLKILL - 04.06.2014
Use a Funзгo BodyPart Do Samp
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
if(bodypart == BODY_PART_HEAD && Aqui Restriзгo para a Arma que ira da Head Shot) // Detecta se acertou a cabeзa do PLAYER
{
SetPlayerHealth(playerid, 0); // Seta vida 0, morre na hora!
new
Recebeu[MAX_PLAYER_NAME],
Deu[MAX_PLAYER_NAME],
CelulasJFS[100]
;
GetPlayerName(playerid, Recebeu, sizeof (Recebeu)), GetPlayerName(issuerid, Deu, sizeof (Deu));
format(CelulasJFS, sizeof(CelulasJFS), "%s Levou um HS do player %s.", Recebeu, Deu);
SendClientMessageToAll(-1, CelulasJFS);
}
return 1;
}
Codigo Retirado Daqui
https://sampforum.blast.hk/showthread.php?tid=488223 e So Procurar Amigo.