Chat problem.
#1

When I type, strangely nothing appears. What's the problem?
Reply
#2

mybe yours onplayertext is returning 0 chack that out.
Reply
#3

//deleted
Reply
#4

Quote:
Originally Posted by DeathFire
Посмотреть сообщение
When I type, strangely nothing appears. What's the problem?
Shall we guess your OnPlayerText?
Reply
#5

It always has been working, only today it got like this :/

EDIT: Strangely, this is what I have.

Код:
public OnPlayerText(playerid, text[])
{
Reply
#6

please help! It's urgent!
Reply
#7

It should be like this if u dont have proxdetector for rp chat!
Код:
public OnPlayerText(playerid, text[])
{
    new pText[144];
    format(pText, sizeof (pText), "(%d) %s", playerid, text);
    SendPlayerMessageToAll(playerid, pText);
    return 0; // ignore the default text and send the custom one
}
Reply
#8

Quote:
Originally Posted by baba1234
Посмотреть сообщение
It should be like this if u dont have proxdetector for rp chat!
Код:
public OnPlayerText(playerid, text[])
{
    new pText[144];
    format(pText, sizeof (pText), "(%d) %s", playerid, text);
    SendPlayerMessageToAll(playerid, pText);
    return 0; // ignore the default text and send the custom one
}
I'll try. Thanks
Reply
#9

PHP код:
// This callback uses the chat-box
public OnPlayerText(playeridtext[])
{
    new 
GlobalChat[128], NomoDoFilho[MAX_PLAYER_NAME];
    
GetPlayerName(playeridnamesizeof (name));
    
format(GlobalChatsizeof (GlobalChat), "%s {00FFFF}(ID:%d):{FFFFFF} %s"NomoDoFilhoplayeridtext); 
    
SendClientMessageToAll(GetPlayerColor(playerid),GlobalChat);
    return 
0;

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)