12.07.2017, 13:40
Bom..eu coloquei uma tag no meu chat,porem ele bugou,sу mostra a tag e o ID fica assim: "[Admin][ID] "e eu gostaria que aparece o nick exemplo: "%s [Admin] [ID]: %s".
print:

Alguem pode me ajudar?
comando:
print:

Alguem pode me ajudar?
comando:
PHP код:
new string[128];
switch(CallRemoteFunction("GetPlayerAdminLevel","i",playerid))
{
case 0: format(string,sizeof(string),"[%d]: %s",playerid,text);
case 1..5: format(string,sizeof(string),"{00BFFF}[Admin]{FFFFFF}[%d]: %s",playerid,text);
}
SendClientMessageToAll(GetPlayerColor(playerid),string);
return 0;
}