[AJUDA] Descongelando. -
fonyke - 26.01.2012
Код HTML:
if(PlayerToPoint(1.0,playerid,248.38578796387, 71.777328491211, 1003.289855957))
{
SetPlayerPos(playerid,248.43, 71.61, 1003.64);
ApplyAnimation(playerid,"CASINO","Slot_Plyr",4.1,0,1,1,1,1);
OnPlayerCommandText(playerid,"/pi");
return 1;
}
como fasso pra depois que ele executar o anim nao ficar parado ("travado") ja coloquei TogglePlayerControllable(playerid, 1); mais so que nao descongela tentei colocar ClearAnimations(playerid); mais so que ele ainda fica congelado o que fasso para quando ele acabar de fazer o anim ele andar normalmente.
Re: [AJUDA] Descongelando. -
Hardware - 26.01.2012
O que tem no comando /pi ?
Re: [AJUDA] Descongelando. -
fonyke - 26.01.2012
Quote:
Originally Posted by Hardware
O que tem no comando /pi ?
|
abre um portao
mais isso nao tem muito haver pq se vc der qualquer /anim ele congelar queria saber como fasso para nao ficar congelado
Re: [AJUDA] Descongelando. -
Enderman - 26.01.2012
troque
pawn Код:
ApplyAnimation(playerid,"CASINO","Slot_Plyr",4.1,0,1,1,1,1);
por
pawn Код:
ApplyAnimation(playerid,"CASINO","Slot_Plyr",4.1,0,1,1,1,0);
Isso acontece pois o ultimo parametro do ApplyAnimation sugere se vocк quer que o jogador fique congelado apуs a conclusгo do Anim ou nгo, 0 ele nгo ficara congelado, 1 ele ficarб
https://sampwiki.blast.hk/wiki/ApplyAnimation
Re: [AJUDA] Descongelando. -
humildadeforever - 26.01.2012
pesquisa no ****** tradutor "applyanimation wiki samp" e ve como se usa, tem um parametro que tem como fazer ele voltar ao normal, talvez tem q trocar esse 0 por1
Re: [AJUDA] Descongelando. -
fonyke - 26.01.2012
Quote:
Originally Posted by Enderman
troque
pawn Код:
ApplyAnimation(playerid,"CASINO","Slot_Plyr",4.1,0,1,1,1,1);
por
pawn Код:
ApplyAnimation(playerid,"CASINO","Slot_Plyr",4.1,0,1,1,1,0);
Isso acontece pois o ultimo parametro do ApplyAnimation sugere se vocк quer que o jogador fique congelado apуs a conclusгo do Anim ou nгo, 0 ele nгo ficara congelado, 1 ele ficarб
https://sampwiki.blast.hk/wiki/ApplyAnimation
|
agora ele fica congelado e nao sai mais do lugar nem se pular ele sai.
Re: [AJUDA] Descongelando. -
Enderman - 26.01.2012
Troque o penultimo para 0