16.03.2013, 21:41
This is my code which i cannot seem to get working. It's basically supposed to display the players rank before the players name when they type. (Example: Private John: hello)
This is what i have at the moment.
This is what i have at the moment.
pawn Код:
public OnPlayerText(playerid, text[])
{
SetPlayerChatBubble(playerid, text, C_WHITE, 100.0, 10000);
}
new text[128];
new string[128];
format(string, sizeof(string), "** %s %s [%d]: %s", ClassName(playerid), Name(playerid), playerid, text);
foreach(Player, i)
}
return 1;
}