Posts: 617
Threads: 129
Joined: Feb 2014
Quote:
Originally Posted by Mugala
yeah it's possible, to dont change the script u can simply add a variable which detects admin name.
for example:
PHP код:
new string[256],aname[64];
if(playerData[playerid][pd_AdminRank] < 9) format(aname,sizeof(aname),"%s %s(%i)",GetStaffClassName(playerid), ReturnPlayerName(playerid), playerid);
else aname = "Admin";
format(string, sizeof string, "[SERVER] %s(%i) has been banned by %s, reason: %s", ReturnPlayerName(targetid), targetid, aname, Reason);
SendClientMessageToAll(0x7E08EDFF/*COLOR_SERVER*/, string);
PHP код:
format(string, sizeof(string), "Admin Position: %s || Admin Name: %s", GetStaffClassName(playerid),aname);
SendClientMessage(targetid, -1, string);
|
Thanks Rep+