SetPlayerChatBubble <- How?
#5

I'd get error that symbol aready defined: OnPlayerText. So, i change

pawn Код:
public OnPlayerText(playerid, text[])
{
    new giver[MAX_PLAYER_NAME];
    new sendername[MAX_PLAYER_NAME];
    new giveplayer[MAX_PLAYER_NAME];
    new tmp[256];
    new string[256];
    new giveplayerid;
  new str[160];

  GetPlayerName(playerid, str, MAX_PLAYER_NAME);

  for (new i = 0; i < MAX_PLAYER_NAME; i++)
  if (str[i] == '_')
  str[i] = ' ';
  if(PlayerInfo[playerid][pMuted] == 1)
    {
        SendClientMessage(playerid, TEAM_CYAN_COLOR, "You cannot speak, you have been silenced");
        return 0;
to:

pawn Код:
public OnPlayerText(playerid,text[])
{
SetPlayerChatBubble(playerid,text,0xFFFFFFFF,25,5000);
}
if(PlayerInfo[playerid][pMuted] == 1)
    {
        SendClientMessage(playerid, TEAM_CYAN_COLOR, "You cannot speak, you have been silenced");
        return 0;
?
Reply


Messages In This Thread
SetPlayerChatBubble <- How? - by Crezy-Boy - 20.03.2010, 11:37
Re: SetPlayerChatBubble <- How? - by Think - 20.03.2010, 11:38
Re: SetPlayerChatBubble <- How? - by Crezy-Boy - 20.03.2010, 11:41
Re: SetPlayerChatBubble <- How? - by XGh0stz - 20.03.2010, 11:42
Re: SetPlayerChatBubble <- How? - by Crezy-Boy - 20.03.2010, 11:46
Re: SetPlayerChatBubble <- How? - by XGh0stz - 20.03.2010, 12:02

Forum Jump:


Users browsing this thread: 1 Guest(s)