messages
#10

Quote:
Originally Posted by brett7
pawn Код:
public OnPlayerText(playerid, text[])
{
  new string[256];
  new playername[MAX_PLAYER_NAME];
  GetPlayerName(playerid, playername, sizeof(playername));
  format(string, sizeof(string), "%s (ID:%d): %s",playername,playerid,text);
  SendPlayerMessageToAll(playerid,string);
  return 0;
}
this works i think
Did you look at his code, He had
pawn Код:
SendPlayerMessageToAll(playerid, string);
which is wrong, Also you only need
pawn Код:
string[128];
not
pawn Код:
string[256];
Use my code not this
Reply


Messages In This Thread
messages - by sk1llz - 07.02.2009, 18:17
Re: messages - by Marcel - 07.02.2009, 18:22
Re: messages - by sk1llz - 07.02.2009, 18:38
Re: messages - by ICECOLDKILLAK8 - 07.02.2009, 18:39
Re: messages - by sk1llz - 07.02.2009, 18:42
Re: messages - by ICECOLDKILLAK8 - 07.02.2009, 18:44
Re: messages - by sk1llz - 07.02.2009, 18:47
Re: messages - by ICECOLDKILLAK8 - 07.02.2009, 18:50
Re: messages - by brett7 - 07.02.2009, 18:50
Re: messages - by ICECOLDKILLAK8 - 07.02.2009, 18:52
Re: messages - by pspleo - 07.02.2009, 18:52
Re: messages - by ICECOLDKILLAK8 - 07.02.2009, 18:54
Re: messages - by brett7 - 07.02.2009, 18:55
Re: messages - by pspleo - 07.02.2009, 18:57
Re: messages - by Nimphious - 07.02.2009, 18:58
Re: messages - by pspleo - 07.02.2009, 19:00
Re: messages - by Nimphious - 07.02.2009, 19:03
Re: messages - by sk1llz - 07.02.2009, 19:06
Re: messages - by brett7 - 07.02.2009, 19:08
Re: messages - by ICECOLDKILLAK8 - 07.02.2009, 19:10
Re: messages - by sk1llz - 07.02.2009, 19:10
Re: messages - by ICECOLDKILLAK8 - 07.02.2009, 19:12
Re: messages - by sk1llz - 07.02.2009, 19:13
Re: messages - by ICECOLDKILLAK8 - 07.02.2009, 19:15
Re: messages - by sk1llz - 07.02.2009, 19:17
Re: messages - by pspleo - 07.02.2009, 19:22
Re: messages - by ICECOLDKILLAK8 - 07.02.2009, 19:24

Forum Jump:


Users browsing this thread: 3 Guest(s)