Ich glaube...
If(PlayerInfo[playerid][pAdmin] >= 1)
{
...
[Admin]%d: %s
}
else
{
...
%d: %s
}
Das müsste so in die Richtung gehen.. Schau mal im
pAdmin ist GF Standard für das Admin Level..
Ich quotiere mal aus dem Wiki, da ich im Moment nur am Handy bin:
Quote:
public OnPlayerText(playerid, text[])
{
new textv2[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof (name));
format(textv2, sizeof (textv2), "%d >> %s: %s", playerid, name, text);
SendPlayerMessageToAll(playerid, textv2);
return 0; // ignore the default text and send the custom one
}
|
Das kannst du ja wie bei mir oben gezeigt anpassen.
Wenn das zu kompliziert ist, Schick mir eine PN.
Edit: Also guck auf jeden Fall auf Public OnPlayerText.