little help " not showing <Join> only showing <t/o> <part>"
#1

hey guys i need your little help
i created connection message
Код:
new cLines[5][64];
new Text:cnctText = Text:-1;

SendConnectionMessage(playerid, join)
{
	new string[336];
	GetPlayerName(playerid, string, MAX_PLAYER_NAME);
	for (new c = 0; c < sizeof(cLines)-1; c++)
	{
		cLines[c] = cLines[c+1];
	}
	if (join == 1) format(cLines[sizeof(cLines)-1], 64, "~g~~h~<~w~join~g~~h~> ~w~%s~n~", string);
	else if (join == 2) format(cLines[sizeof(cLines)-1], 64, "~r~~h~<~w~t/o~r~~h~> ~w~%s~n~", string);
	else format(cLines[sizeof(cLines)-1], 64, "~r~~h~<~w~part~r~~h~> ~w~%s~n~", string);
	format(string, sizeof(string), "%s%s%s%s%s", cLines[0], cLines[1], cLines[2], cLines[3], cLines[4]);
	if (cnctText == Text:-1) {
		cnctText = TextDrawCreate(622.0, 389.0, string);
		TextDrawLetterSize(cnctText, 0.35, 1.0);
		TextDrawSetShadow(cnctText, 1);
		TextDrawAlignment(cnctText, 3);
	}
	else TextDrawSetString(cnctText, string);
}
but its not showing me <join> royal Empire
its only showing this
<part> royal Empire
<t/o>royal Empire
Reply
#2

help please
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)