[Ajuda] Animaзгo quando aperta Tecla - 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] Animaзгo quando aperta Tecla (
/showthread.php?tid=563918)
Animaзгo quando aperta Tecla -
DiaDelTerror - 18.02.2015
Fala ai galera, tudo bem? Eu tenho uma dъvida... Pesquisei no ****** e nгo achei nada a respeito :/ Й o seguinte, Gostaria de saber como faz uma animaзгo funcionar apуs apertar uma tecla, Exemplo. Quando apertar ''J'' fazer a animaзгo de ''Basket'' Isso й possнvel? Se sim, Alguйm me ajuda ai? valeu.
Re: Animaзгo quando aperta Tecla -
Gii - 18.02.2015
https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
+
https://sampwiki.blast.hk/wiki/ApplyAnimation
O SA-MP nгo dб suporte a todas as teclas.
Beijos!
Re: Animaзгo quando aperta Tecla -
DiaDelTerror - 18.02.2015
Obrigado(A) ,
Re: Animaзгo quando aperta Tecla -
Imaginare - 18.02.2015
Forma que o Castiel ensinou,
Mais aqui vai um exemplo.
Quote:
public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
{
if(newkeys & SUA TECLA)
{
ApplyAnimation(playerid, "PED", "SUA ANIMAЗГO", 4.1, 1, 1, 1, 1, 1, 1);
}
return 1;
}
|
Re: Animaзгo quando aperta Tecla -
Marquito - 18.02.2015
Isso tambem pode lhe ajudar
https://sampwiki.blast.hk/wiki/Keys