(A) tag with name
#3

It depends on your script.
This is a way to make it check for the player name:
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,24);
if(strcmp(tfname,"yourname",true) ==0)
{
new pName[MAX_PLAYER_NAME], String[128];
GetPlayerName(playerid, pName, 24);
format(String, sizeof(String), "{F81414}[{FFFFFF}YOURRANK{F81414}]{FFFFFF}%s[%i]: %s", pName, playerid, text);
SendClientMessageToAll(-1, String);
return 0;
}

It should be pasted under public OnPlayerText
Reply


Messages In This Thread
(A) tag with name - by sanamalik400 - 20.09.2015, 00:56
Re: (A) tag with name - by Jastak - 20.09.2015, 01:21
Re: (A) tag with name - by thefirestate - 20.09.2015, 01:23
Re: (A) tag with name - by sanamalik400 - 20.09.2015, 01:35
Re: (A) tag with name - by sanamalik400 - 20.09.2015, 01:38
Re: (A) tag with name - by thefirestate - 20.09.2015, 01:43
Re: (A) tag with name - by sanamalik400 - 20.09.2015, 02:14
Re: (A) tag with name - by sanamalik400 - 20.09.2015, 06:17

Forum Jump:


Users browsing this thread: 1 Guest(s)