Posts: 72
Threads: 23
Joined: Aug 2012
Reputation:
0
07.10.2012, 14:23
(
Последний раз редактировалось TheThug; 07.10.2012 в 14:59.
)
Se ejecuta la animacion que es ..
ApplyAnimation(playerid,"PED","IDLE_chat",4.1,7,5, 1,1,1);
Pero cuando se termina de escribir no para la animacion..
Posts: 4,930
Threads: 467
Joined: Dec 2010
08.10.2012, 09:22
(
Последний раз редактировалось OTACON; 08.10.2012 в 09:56.
)
pawn Код:
public OnPlayerText(playerid, text[])
{
ApplyAnimation(playerid,"PED","IDLE_chat",4.1,1,1,1,1,1);
SetTimerEx("finanim", strlen(text)*200, false, "i", playerid);
return 1;
}
forward finanim(playerid);
public finanim(playerid)
{
ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0,0,0,0,0,0);
return 1;
}
Posts: 1,675
Threads: 34
Joined: Feb 2010
Reputation:
0
TheThug, probб no poniйndola al principio si no donde se envнa el texto al resto de jugadores.
bybytus, es mбs mejor usar el parбmetro time de la funciуn.
Posts: 4,930
Threads: 467
Joined: Dec 2010
Quote:
Originally Posted by [J]ulian
TheThug, probб no poniйndola al principio si no donde se envнa el texto al resto de jugadores.
bybytus, es mбs mejor usar el parбmetro time de la funciуn.
|
si es verdad
pawn Код:
ApplyAnimation(playerid,"PED","IDLE_chat",4.1,1,1,1,strlen(text)*200,1);
Posts: 1,675
Threads: 34
Joined: Feb 2010
Reputation:
0
Deja todo el callback donde lo estбs poniendo.
Posts: 4,930
Threads: 467
Joined: Dec 2010