message problem
#3

It's because you use admin variable as callback [pLevel], you should use vip variable, for example: [pDonateRank]

Код:
if(text[0] == DONATORCHATKEY && pInfo[playerid][pDonateRank] >= 1)
	{
		format(Jstring,sizeof(Jstring),"{FFEA00}|VIP Chat| %s: %s",GetName(playerid),text[1]);
		foreach(Player, i) if(pInfo[i][Donator] >= 1) SendClientMessage(i,Admchat,Jstring);
		WriteToLog(Jstring,"VIPChatLog");
	    return 0;
	}
Reply


Messages In This Thread
message problem - by Mijata - 02.07.2017, 00:35
Re: message problem - by Beryllium - 02.07.2017, 00:51
Re: message problem - by NewFreeroamStunt - 02.07.2017, 01:43
Re: message problem - by MrAjusshi - 02.07.2017, 02:30
Re: message problem - by Beryllium - 02.07.2017, 03:28
Re: message problem - by MrAjusshi - 02.07.2017, 04:15
Re: message problem - by Beryllium - 02.07.2017, 05:52

Forum Jump:


Users browsing this thread: 1 Guest(s)