Hallo Community,
ich kriege 2 Warnings in mein em Script.
C:\Dokumente und Einstellungen\---\Desktop\Server\gamemodes\mygf.pwn(8786) : warning 217: loose indentation
C:\Dokumente und Einstellungen\---\Desktop\Server\gamemodes\mygf.pwn(8868 ) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Hier die Zeilen :
if (strcmp(cmdtext, "/yakuza", true)==0)
{
if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
{
MoveObject(yakuzator,725.692383, -1417.382813, 15.030107, 3.5);
SetTimer("yakuzator1", 9000, 0);
}
return 1;
}
if (strcmp(cmd, "/check", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD1, "Benutze: /check [ID]");
return 1;
}
//giveplayerid = strval(tmp);
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
ShowStats(playerid,giveplayerid);
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " No Such Player");
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Du bist kein Admin o0");
}
}
return 1;
}
Pragma Tabsize hab ich auch :
#pragma tabsize 0
Bitte um Hilfe
MfG outkast123