No message in /wt
#4

Код:
public RadioBroadCast(playerid, color, string[])
{
	new MiscString[256], Float: aaaPositions[3];
	new String[256],
	foreach(Player, i)
	{
		if(PlayerInfo[i][pRadioFreq] == PlayerInfo[playerid][pRadioFreq] && PlayerInfo[i][pRadio] >= 1 && gRadio[i] != 0)
		{
			GetPlayerPos(i, aaaPositions[0], aaaPositions[1], aaaPositions[2]);
			format(MiscString, sizeof(MiscString), "[WT:%d] {75AE5D}%s : %s", PlayerInfo[playerid][pRadioFreq], GetPlayerNameEx(playerid), string);
			SendClientMessageEx(i, COLOR_YELLOW, MiscString);
			format(MiscString, sizeof(MiscString), "[<WT>]\n* %s *", string);
			SetPlayerChatBubble(i, MiscString, 0x75AE5D00, 5.0, 5000);
		}
		if(AdminReadPm[i] == true)
        {
  	        format(MiscString, sizeof(MiscString), "[WT:%d] {75AE5D}%s : %s", PlayerInfo[playerid][pRadioFreq], GetPlayerNameEx(playerid), String);
			SendClientMessage(i, COLOR_YELLOW, MiscString);
        }
	}
}
You've used String instead of string, Here is the RadioBroadcast public, replace it with your one
Reply


Messages In This Thread
No message in /wt - by Dirda - 31.03.2018, 12:17
Re: No message in /wt - by MadeMan - 31.03.2018, 12:21
Re: No message in /wt - by Dirda - 01.04.2018, 04:52
Re: No message in /wt - by FuNkYTheGreat - 01.04.2018, 05:39
Re: No message in /wt - by Kane - 01.04.2018, 05:42
Re: No message in /wt - by Mugala - 01.04.2018, 13:10
Re: No message in /wt - by FuNkYTheGreat - 01.04.2018, 13:27
Re: No message in /wt - by Dirda - 02.04.2018, 10:51
Re: No message in /wt - by FuNkYTheGreat - 02.04.2018, 11:58

Forum Jump:


Users browsing this thread: 1 Guest(s)