13.12.2009, 01:19
Hello,
I don't got a problem but I need some explanation of something:
I've made something that if you talk a animation appears.
Also made a timer for it and forwarded it:
What I want to do next is that my animation stops when you only type for ex: "Hi."
So when you type "Hi." it should appear for like 1 second. And if you type more it should appear for longer.
Do you guys have any idea to make this?
I've allready used the search button but couldn't find anything like what I want. I only finded how to make the animation appear. Like I allready got.
I hope someone of you can help me, thanks anyways.
I don't got a problem but I need some explanation of something:
I've made something that if you talk a animation appears.
Code:
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,0,0,0,1,1);
Also made a timer for it and forwarded it:
Code:
SetTimerEx("StopTalk", 1000, 0, "i", playerid);
So when you type "Hi." it should appear for like 1 second. And if you type more it should appear for longer.
Do you guys have any idea to make this?
I've allready used the search button but couldn't find anything like what I want. I only finded how to make the animation appear. Like I allready got.
I hope someone of you can help me, thanks anyways.