SA-MP Forums Archive
[Ajuda] Estou tentando fazer isso - 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] Estou tentando fazer isso (/showthread.php?tid=378195)



Estou tentando fazer isso - StrondaXxT - 16.09.2012

Galera eu fiz outro post mais acho que nгo entenderгo eu nгo quero aprender a fazer TextDraw nem os danos das armas isso tudo eu ja fiz eu sу quero fazer aparecer isso agora igual na imagem:



Re: Estou tentando fazer isso - paulor - 16.09.2012

Pelo o que eu entendo, isso nгo й possнvel, nгo tem algo que ao mirar retorne o ID do Player a ser mirado...


Re: Estou tentando fazer isso - StrondaXxT - 16.09.2012

Quote:
Originally Posted by paulor
Посмотреть сообщение
Pelo o que eu entendo, isso nгo й possнvel, nгo tem algo que ao mirar retorne o ID do Player a ser mirado...
Tem problema nгo mais como faзo pra aparecer o textdraw na mira ai?


Re: Estou tentando fazer isso - paulor - 16.09.2012

pawn Код:
IsPlayerAiming(PlayerID) {
    new Anim = GetPlayerAnimationIndex(PlayerID);
    if(((Anim >= 1160) && (Anim <= 1163)) || (Anim == 1167) || (Anim == 1365) || (Anim == 1643) || (Anim == 1453) || (Anim == 220)) return 1;
    return 0;
}
Creio que essa funзгo possa te ajudar, vc verifica se ele estб mirando, caso ele estiver mirando й pra retornar TRUE, dai vc mostra a TD.


Re: Estou tentando fazer isso - FeelLikeASir_ - 16.09.2012

https://sampwiki.blast.hk/wiki/GetPlayerTargetPlayer
_

Se nгo me engano tem um FS com isso que vocк quer.


Re: Estou tentando fazer isso - lucas_mdr1235 - 16.09.2012

ve se e isso aki http://forum.sa-mp.com/showthread.ph...ighlight=rifle
se for esse link o cod ta no pastebin abaixo

ou ta ki o link http://pastebin.com/hv2UaS0C


Re: Estou tentando fazer isso - Kmatsu - 16.09.2012

GetPlayerTargetPlayer
OnPlayerUpdate (ou um Timer)


Re: Estou tentando fazer isso - FeelLikeASir_ - 16.09.2012

Esse fs: https://sampforum.blast.hk/showthread.php?tid=130822

@edit jб postaram.


Re: Estou tentando fazer isso - StrondaXxT - 16.09.2012

Quote:
Originally Posted by FeelLikeASir_
Посмотреть сообщение
Isso mesmo que to querendo fazer vlw cara estarei estudando os codigos brigadгo


Re: Estou tentando fazer isso - paulor - 16.09.2012

LoL, nem sabia dessa Function..