[Help] Questin
#1

Hey i need some help.

i want this to work but i dont understand how when you press "T" the chat will come up and when you are talking i want this one to come up
OnePlayAnim(playerid,"PED","IDLE_CHAT",4.0,0,0,0,0 ,0);
how cna i do that ?
Reply
#2

i dont think thats possible from what i remember.

if it is tho, itd be under OnPlayerKeystateChange. I think thats what that callback is called.
Reply
#3

its possible:
Код:
public OnPlayerText(playerid, text[])
{
OnePlayAnim(playerid,"PED","IDLE_CHAT",4.0,0,0,0,0,0);
return true;
}
Reply
#4

Quote:
Originally Posted by DeathlyForce
its possible:
Код:
public OnPlayerText(playerid, text[])
{
OnePlayAnim(playerid,"PED","IDLE_CHAT",4.0,0,0,0,0,0);
return true;
}
that's a good idea
Reply
#5

he wants it to be as soon as the player hits t, this only does it when the player hits enter.
Reply
#6

i understand it wrong what he wrote, but i dont know why he wants it when he is writing after "T" a anim one time when the nobody see anything what he writes anf after he is done with writing depends on how much he wrote it will be finished?

it would make more sense when he wrote it that then the anim
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)