Help with chat
#10

Doesn't work ... because:

pawn Код:
SendMessageToMyWorld(color, text[])
{

    new world;
    world = GetPlayerVirtualWorld([b]playerid[/b]); // playerid isn't defined anywhere o_o
  for (new i; i < MAX_PLAYERS; i++)
  {
    if (world == GetPlayerVirtualWorld(i))
    {
            SendClientMessage(i, color, text);
    }
  }
}
Reply


Messages In This Thread
Help with chat - by ded - 21.09.2009, 19:49
Re: Help with chat - by xCoder - 22.09.2009, 08:19
Re: Help with chat - by ded - 22.09.2009, 09:00
Re: Help with chat - by Abernethy - 22.09.2009, 09:02
Re: Help with chat - by ded - 22.09.2009, 09:06
Re: Help with chat - by ded - 23.09.2009, 20:48
Re: Help with chat - by member - 23.09.2009, 21:11
Re: Help with chat - by ded - 23.09.2009, 21:41
Re: Help with chat - by saiberfun - 23.09.2009, 21:51
Re: Help with chat - by ded - 23.09.2009, 21:59

Forum Jump:


Users browsing this thread: 2 Guest(s)