#1

Hello Friends , I am little bit trapped in chat .. whatever i write it appears two times in the chat (i.e twice chatting) and in my game mode "OnplayerText" has return 0 but when i replace it with 1 i get tripple chatting ..(i.e three times same message)
Thanks,
Regards,
Ryan_Petersons
Reply
#2

Look in your others FilterScript and check if OnPlayerText returns false
Reply
#3

Show code
Reply
#4

pawn Код:
public OnPlayerText(playerid,text[])
{
return 0;
}
thats of gamemode
Reply
#5

pawn Код:
public OnPlayerText(playerid, text[])
{
    return 1;
}
Should work.
Reply
#6

Quote:
Originally Posted by .Wicked
Посмотреть сообщение
pawn Код:
public OnPlayerText(playerid, text[])
{
    return 1;
}
Should work.
Didn't you read?
Quote:

but when i replace it with 1 i get tripple chatting ..(i.e three times same message)

btw check your other fs's for the OnPlayerText callback
Reply
#7

There is no return 0; in all filterscripts
the return 0; is only in the gamemode at OnPlayerText
Reply
#8

Make sure the other filter scripts return 1 as well as your game mode.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)