chat animation
#1

how to enable the auto chat animation when player type something icly (not /b) just simple txt
Reply
#2

You should use a code in OnPlayerText(playerid)

https://sampwiki.blast.hk/wiki/ApplyAnimation

https://sampwiki.blast.hk/wiki/OnPlayerText

https://sampwiki.blast.hk/wiki/Function:SetTimer
Reply
#3

PHP код:
public OnPlayerText(playeridtext[])
{
     
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,0,0,0,1,1);
     return 
0

Reply
#4

Quote:
Originally Posted by Fungi
Посмотреть сообщение
PHP код:
public OnPlayerText(playeridtext[])
{
     
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,0,0,0,1,1);
     return 
0

thanks
Reply
#5

Quote:
Originally Posted by Fungi
Посмотреть сообщение
PHP код:
public OnPlayerText(playeridtext[])
{
     
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,0,0,0,1,1);
     return 
0

they told me unreachable line in (return 0 because theres a lot of lines after onplayertext..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)