Mask Stranger [ID] Help me.
#1

How can I do in that when player just talk says : Stranger[HisID] .........

Heres the code :

Код:
	else if(PlayerInfo[playerid][pMask] == 1)
	{
		format(string, sizeof(string), "Stranger says: %s", text);
		ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
	}
Reply
#2

Anybody ?
Reply
#3

Replace
pawn Код:
format(string, sizeof(string), "Stranger says: %s", text);
with
pawn Код:
format(string, sizeof(string), "Stranger[%d]: %s", playerid, text);
Reply
#4

pawn Код:
format(string, sizeof(string), "Stranger[%d] says: %s", playerid, text);
do you mean the player ID?
Reply
#5

Yeah lol ty.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)