Need Help - With Chat Animation! -
Karl115 - 19.06.2010
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.
Re: Need Help - With Chat Animation! -
DowNlOaD_ - 19.06.2010
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);
Re: Need Help - With Chat Animation! -
DJDhan - 19.06.2010
And put it under OnPlayerText(playerid,text[]) callback.
Re: Need Help - With Chat Animation! -
DowNlOaD_ - 19.06.2010
//public OnPlayerText
pawn Код:
if(text == 'talk')
{
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,1,1,1,1,1);
}
Re: Need Help - With Chat Animation! -
Karl115 - 19.06.2010
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
Re: Need Help - With Chat Animation! -
Karl115 - 19.06.2010
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
Re: Need Help - With Chat Animation! -
DowNlOaD_ - 19.06.2010
sorry, i gave you wrong code
find:
change it with:
pawn Код:
if(!strcmp("talk", text, true, 4))
Re: Need Help - With Chat Animation! -
Karl115 - 19.06.2010
Quote:
Originally Posted by DowNlOaD_
sorry, i gave you wrong code
find:
change it with:
pawn Код:
if(!strcmp("talk", text, true, 4))
|
Grazzi, Thanks Bro..
Re: Need Help - With Chat Animation! -
Karl115 - 19.06.2010
Quote:
Originally Posted by Karl115
Quote:
Originally Posted by DowNlOaD_
sorry, i gave you wrong code
find:
change it with:
pawn Код:
if(!strcmp("talk", text, true, 4))
|
Grazzi, Thanks Bro..
|
Compiled :
But didn't work ingame ;//
Re: Need Help - With Chat Animation! -
DowNlOaD_ - 19.06.2010
give me the full code of your onplayertext callback if you can