Quick question
#3

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] < 9format(aname,sizeof(aname),"%s %s(%i)",GetStaffClassName(playerid), ReturnPlayerName(playerid), playerid);
    else 
aname "Admin";
    
format(stringsizeof string"[SERVER] %s(%i) has been banned by %s, reason: %s"ReturnPlayerName(targetid), targetidanameReason); 
    
SendClientMessageToAll(0x7E08EDFF/*COLOR_SERVER*/string); 
PHP код:
    format(stringsizeof(string), "Admin Position: %s || Admin Name: %s"GetStaffClassName(playerid),aname); 
    
SendClientMessage(targetid, -1string); 
Thanks Rep+
Reply


Messages In This Thread
Quick question - by 1fret - 12.02.2018, 21:10
Re: Quick question - by Mugala - 12.02.2018, 21:18
Re: Quick question - by 1fret - 12.02.2018, 22:45

Forum Jump:


Users browsing this thread: 1 Guest(s)