Need Help - With Chat Animation!
#1

Can any one please give me a good script of Chat anim to Put in my server please.

Thanks a lot for the help mates.
Reply
#2

Quote:
Originally Posted by Karl115
Can any one please give me a good script of Chat anim to Put in my server please.

Thanks a lot for the help mates.
what do you mean? script with animation commands?

edit: or animation that you look like you're talking?

if yes try this:
pawn Код:
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,1,1,1,1,1);
Reply
#3

And put it under OnPlayerText(playerid,text[]) callback.
Reply
#4

//public OnPlayerText
pawn Код:
if(text == 'talk')
{
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,1,1,1,1,1);
}
Reply
#5

Quote:
Originally Posted by DowNlOaD_
Quote:
Originally Posted by Karl115
Can any one please give me a good script of Chat anim to Put in my server please.

Thanks a lot for the help mates.
what do you mean? script with animation commands?

edit: or animation that you look like you're talking?

if yes try this:
pawn Код:
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,1,1,1,1,1);
Yah that when you talk the player starts kinda talking
Reply
#6

Quote:
Originally Posted by DowNlOaD_
//public OnPlayerText
pawn Код:
if(text == 'talk')
{
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,1,1,1,1,1);
}

C:\DOCUME~1\Owner\Desktop\GALAXY~1\larpK.pwn(63039 ) : error 027: invalid character constant
C:\DOCUME~1\Owner\Desktop\GALAXY~1\larpK.pwn(63039 ) : error 017: undefined symbol "alk"
C:\DOCUME~1\Owner\Desktop\GALAXY~1\larpK.pwn(63039 -- 63040) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Owner\Desktop\GALAXY~1\larpK.pwn(63039 -- 63040) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

srry for duble posts didn't mean to
Reply
#7

sorry, i gave you wrong code

find:
pawn Код:
if(text == 'talk')
change it with:
pawn Код:
if(!strcmp("talk", text, true, 4))
Reply
#8

Quote:
Originally Posted by DowNlOaD_
sorry, i gave you wrong code

find:
pawn Код:
if(text == 'talk')
change it with:
pawn Код:
if(!strcmp("talk", text, true, 4))
Grazzi, Thanks Bro..
Reply
#9

Quote:
Originally Posted by Karl115
Quote:
Originally Posted by DowNlOaD_
sorry, i gave you wrong code

find:
pawn Код:
if(text == 'talk')
change it with:
pawn Код:
if(!strcmp("talk", text, true, 4))
Grazzi, Thanks Bro..
Compiled :

But didn't work ingame ;//
Reply
#10

give me the full code of your onplayertext callback if you can
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)