08.03.2012, 17:42
Hey guys,
I use Shrewd chat system but when i talk, my text appears in double !
How to fix it?
Thanks
I use Shrewd chat system but when i talk, my text appears in double !
How to fix it?
Код:
public OnPlayerText(playerid, text[]) { switch(ChatState{playerid}) { case 0: { CostumFormat(SCSString,"%s: %s",GetPlayerNameEx(playerid),text); SCGeneral(playerid,SCSString,5,7,10,13,15,SWhite,SChat1,SChat2,SChat3,SChat4); } case 1: { CostumFormat(SCSString,"[Chuchotement]%s: %s",GetPlayerNameEx(playerid),text); SCGeneral(playerid,text,2,4,6,8,10,COLOR_GREY,SChat1,SChat2,SChat3,SChat4); } case 2: { CostumFormat(SCSString,"[Crie]%s: %s",GetPlayerNameEx(playerid),text); SCGeneral(playerid,text,15,20,25,30,35,SWhite,SChat1,SChat2,SChat3,SChat4); } } SCAnim(playerid,text,at); return 1; }