Learning Format ?
#9

pawn Код:
new pName[MAX_PLAYER_NAME], string[128];
        GetPlayerName(playerid, pName, sizeof(pName));
        format(string, sizeof(string), "%s says: %s", pName, text);
        SendClientMessage(playerid,0xFFFFFAA,string);
Will work. new text isn't needed. That's already at OnPlayerText.
Reply


Messages In This Thread
Learning Format ? - by ServerScripter - 02.10.2011, 19:14
Re: Learning Format ? - by =WoR=Varth - 02.10.2011, 19:16
Re: Learning Format ? - by ServerScripter - 02.10.2011, 19:21
Re: Learning Format ? - by Kingunit - 02.10.2011, 19:23
Re: Learning Format ? - by ServerScripter - 02.10.2011, 19:24
Re: Learning Format ? - by Jafet_Macario - 02.10.2011, 19:25
Re: Learning Format ? - by GrimR - 02.10.2011, 19:29
Re: Learning Format ? - by ServerScripter - 02.10.2011, 19:32
Re: Learning Format ? - by Kingunit - 02.10.2011, 19:39
Re: Learning Format ? - by PowerPC603 - 02.10.2011, 19:42

Forum Jump:


Users browsing this thread: 1 Guest(s)