Az adminos-cuccos
:
public OnPlayerText(playerid, text[])
{
new textv2[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof (name));
if(IsPlayerAdmin(playerid)) format(textv2, sizeof (textv2), \"{00b7ff}[Admin]{ffffff} %s [%d]: %s\", playerid, name, text); //a 00b7ff-et írt át egy másik színkódra
else if(!IsPlayerAdmin(playerid)) format(textv2, sizeof (textv2), \"{ffffff}%s [%d]: %s\", playerid, name, text);
SendPlayerMessageToAll(playerid, textv2);
return 0; // ignore the default text and send the custom one
}