Posts: 171
Threads: 33
Joined: Sep 2015
Reputation:
0
hello samp,i want to know how to tag (A) with any admin,, and (Vip) with Vip player.. +1 for helper
Posts: 170
Threads: 7
Joined: Sep 2014
Reputation:
0
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
Posts: 171
Threads: 33
Joined: Sep 2015
Reputation:
0
I mean Attach (A) tag with player name if player Admin..
Simple a name is Sana..if Sana have admin level than attach tag and it show (A)Sana
In Main Chat
Posts: 171
Threads: 33
Joined: Sep 2015
Reputation:
0
I need this tag for all Admins not only one
Posts: 171
Threads: 33
Joined: Sep 2015
Reputation:
0
Your code looks good..i will try and post here result