Local Chat Animation
#1

Hey

As the title says, i want that if somebody types something in local chat at a dialog animation (that the hands move/shake or what ever)

I used /l before, but now its just normal if somebody write in the chat box without any CMD, that they do the animation.

Thanks, regards.
Reply
#2

Put the Animation you want

Under OnPlayerText

Reply
#3

Quote:
Originally Posted by HydraX [hydrablast.smfnew.com
]
Put the Animation you want

Under OnPlayerText

Okay i just need the animation name of the hand movements.
Reply
#4

i want that too so +1
Reply
#5

I found it out how to do it and also the Animation ID but i need it to stop after 2-3 Seconds. Its looping all the time.

pawn Код:
ApplyAnimation(playerid,"PED","IDLE_chat ",4.1,1,1,1,1,1);
Reply
#6

Either stop it by ClearAnimations.
Reply
#7

Quote:
Originally Posted by Ben^
Either stop it by ClearAnimations.
Wont i have to put in a timer?
Reply
#8

I added a Timer, but i get an error.

pawn Код:
forward StopTalking();
pawn Код:
SetTimer("StopTalking", 7000, 0);
pawn Код:
public StopTalking()
{
  ClearAnimations(playerid);
}
Reply
#9

Quote:
Originally Posted by MarqueZ92
I added a Timer, but i get an error.

pawn Код:
forward StopTalking();
pawn Код:
SetTimer("StopTalking", 7000, 0);
pawn Код:
public StopTalking()
{
 ClearAnimations(playerid);
}
The Error

pawn Код:
C:\Users\pwnz0r\Desktop\StrikerZ SF Roleplay\gamemodes\PENSF.pwn(1773) : error 017: undefined symbol "playerid"
Reply
#10


you can
ApplyAnimation(playerid,"PED","IDLE_chat ",4.1,0,1,1,1,1);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)