FBI recording bug
#1

Код:
if(ProxDetectorS(4.0, playerid, iTargetID))
		{
			new	szMessage[28 + MAX_PLAYER_NAME];
			PlayerInfo[iTargetID][pBugged] = 1;
			format(szMessage,sizeof(szMessage)," You have placed a bug on %s. ",PlayerRPName(iTargetID));
			SendClientMessage(playerid, COLOR_LIGHTBLUE, szMessage);
this is from the CMD
it plants the FBI bug on a person to hear his chat but instead of making the bug sends the player chat to the whole FBI
I want to make it send the chat that being watched by FBI to the agent who planted the bug himself

Код:
if(PlayerInfo[playerid][pBugged] == 1)
			{
	        	format(string, sizeof(string), "(bug) %s says: %s", sendername, text);
	        	SendClientMessage(playerid, COLOR_LIGHTGREEN, string);

    		}
Reply


Messages In This Thread
FBI recording bug - by D3vin - 06.05.2016, 18:54
Re: FBI recording bug - by Dayrion - 06.05.2016, 22:16
Re: FBI recording bug - by J0sh... - 06.05.2016, 22:43
Re: FBI recording bug - by D3vin - 06.05.2016, 23:11

Forum Jump:


Users browsing this thread: 1 Guest(s)