Moin Moin,
Ich habe nen Aduty befehl gemacht und es kommen die Error´s:
C:\Users\Sinan\Desktop\SAMP SERVER2\gamemodes\Towelie.pwn(1057) : error 017: undefined symbol "ADuty"C:\Users\Sinan\Desktop\SAMP SERVER2\gamemodes\Towelie.pwn(1057) : warning 215: expression has no effectC:\Users\Sinan\Desktop\SAMP SERVER2\gamemodes\Towelie.pwn(1057) : error 001: expected token: ";", but found "]"C:\Users\Sinan\Desktop\SAMP SERVER2\gamemodes\Towelie.pwn(1057) : error 029: invalid expression, assumed zeroC:\Users\Sinan\Desktop\SAMP SERVER2\gamemodes\Towelie.pwn(1057) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Die Zeilen:
ocmd:aduty(playerid, params[])
{
new Text3D;ADuty[MAX_PLAYERS],nachricht[128]; //Dies ist die Zeile . . .
new Float:X,Float:Y,Float:Z;
if(!IstSpielerAdmin(playerid,5))return SendClientMessage(playerid,ROT,"Du bist kein Admin!");
if(IstSpielerAdmin(playerid,1))
{
if(Aound == false)
{
GetPlayerPos(playerid,X,Y,Z);
ADuty[playerid] = Create3DTextLabel("Admin im Dienst. DM Verboten!,PINK,X,Y,Z,50,0,0,0);
format(nachricht,128,%s Ist Admin-Duty",SpielerName(playerid));
SendClientMessageToAll(ORANGE,nachricht);
Attach3DTextLabelToPlayer(ADuty[playerid],playerid,0.0,0.0,0.75);
Aond[playerid] == true;
}
if(Aond == true)
{
Delete3DTextLabel(ADuty[playerid];
format8nachricht,128,"%s Spielt wieder als User",SpielerName(playerid));
SendClientMessage(ORANGE,nachricht);
Aond = fase;
}
}
return 1;
}