Admin Tag Script

01/05/2013 13:29 Key-World#1
Ich habe nun bereits mehere Admin Tag Scripts probiert, (Auf meinem Tactics Server) d.h das Tactics Script, jedoch steht im Chat alles zweimal also

[Admin]Name: Test
name: Test

Wenn das Tactics script ausgeschaltet ist läuft alles normal..
01/05/2013 14:08 Yasunai#2
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.
01/05/2013 14:10 Key-World#3
Ja ist mir zu kompliziert :D:D
01/05/2013 14:50 Yasunai#4
Ok am besten addest du mich in Skype :3 wenn du das hast.
01/17/2013 21:11 Key-World#5
Problem besteht weiterhin!