How to do this chat system.
#1

This is my code SendClientMessage:
Код:
format(advert, sizeof(advert), "Quang cao: %s - Lien he: %s (%d)", advert, GetPlayerNameEx(reportid), PlayerInfo[reportid][pPnumber]);
			if(GetPVarInt(playerid, "AdvertVoucher") != 1)
			{
				GivePlayerCash(reportid, -150000);
			}
			iAdverTimer = gettime()+30;

			foreach(new i: Player)
			{
				if(!gNews[i] && InsideMainMenu{i} != 1 && InsideTut{i} != 1 && ActiveChatbox[i] != 0) SendClientMessage(i, TEAM_GROVE_COLOR, advert);
			}
And when players ask too much, some text will be lost. But this system below can fix it, but I don't know how to do like this.
http://forum.sa-mp.com/attachment.ph...1&d=1472109279
Reply


Messages In This Thread
How to do this chat system. - by SamBum - 25.08.2016, 07:14
Re: How to do this chat system. - by Shinja - 25.08.2016, 10:50
Re: How to do this chat system. - by SamBum - 26.08.2016, 06:32
Re: How to do this chat system. - by SickAttack - 26.08.2016, 06:35

Forum Jump:


Users browsing this thread: 2 Guest(s)