02.09.2009, 23:47
I Put This Under OnPlayerText
I got the other sendername stuff, But when im in-game and when I type lol, nothing happens? Am I missing something?
Код:
if (strcmp("lol", text, true, 10) == 0)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s Laughs", sendername);
ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
}

