Hallo zusamme.
Ihr fragt euch bestimmt, wieso Problem mit "Loose Intentation".
Also das liegt daran. Egal wie ich Diese Code´s Einrücke, kommt immer Loose Intentation.
Hier mal die fehler:
C:\Users\Dome\Desktop\WoS 3.0.3\gamemodes\Fraktion-System.pwn(365) : warning 217: loose indentation
C:\Users\Dome\Desktop\WoS 3.0.3\gamemodes\Fraktion-System.pwn(370) : warning 217: loose indentation
C:\Users\Dome\Desktop\WoS 3.0.3\gamemodes\Fraktion-System.pwn(372) : warning 217: loose indentation
C:\Users\Dome\Desktop\WoS 3.0.3\gamemodes\Fraktion-System.pwn(379) : warning 217: loose indentation
C:\Users\Dome\Desktop\WoS 3.0.3\gamemodes\Fraktion-System.pwn(384) : warning 217: loose indentation
C:\Users\Dome\Desktop\WoS 3.0.3\gamemodes\Fraktion-System.pwn(393) : warning 217: loose indentation
C:\Users\Dome\Desktop\WoS 3.0.3\gamemodes\Fraktion-System.pwn(398) : warning 217: loose indentation
C:\Users\Dome\Desktop\WoS 3.0.3\gamemodes\Fraktion-System.pwn(421) : warning 217: loose indentation
C:\Users\Dome\Desktop\WoS 3.0.3\gamemodes\Fraktion-System.pwn(433) : warning 217: loose indentation
C:\Users\Dome\Desktop\WoS 3.0.3\gamemodes\Fraktion-System.pwn(435) : warning 217: loose indentation
C:\Users\Dome\Desktop\WoS 3.0.3\gamemodes\Fraktion-System.pwn(448) : warning 217: loose indentation
C:\Users\Dome\Desktop\WoS 3.0.3\gamemodes\Fraktion-System.pwn(464) : warning 217: loose indentation
C:\Users\Dome\Desktop\WoS 3.0.3\gamemodes\Fraktion-System.pwn(480) : warning 217: loose indentation
C:\Users\Dome\Desktop\WoS 3.0.3\gamemodes\Fraktion-System.pwn(490) : warning 217: loose indentation
Und hier die Befehle:
if (!strcmp("/lift2", cmdtext) && IsPlayerAdmin(playerid))
{
if(CVNMVOS[0] == 0)
{
MoveObject(CVNMVO[0],-3197.752197, 1678.939453, 9.919664,2.0);
CVNMVOS[0] = 1;
}
else
{
MoveObject(CVNMVO[0],-3197.853516, 1678.964355, 16.954475,2.0);
CVNMVOS[0] = 0;
}
return 1;
}
if (!strcmp("/lift1", cmdtext) && IsPlayerAdmin(playerid))
{
if(CVNMVOS[1] == 0)
{
MoveObject(CVNMVO[1], -3155.637695, 1693.972534, 9.674082,2.0);
CVNMVOS[1] = 1;
}
else
{
MoveObject(CVNMVO[1],-3155.618408, 1693.998413, 16.676508,2.0);
CVNMVOS[1] = 0;
}
return 1;
}
if (!strcmp("/lift3", cmdtext) && IsPlayerAdmin(playerid))
{
if(CVNMVOS[2] == 0)
{
MoveObject(CVNMVO[2], -3218.825195, 1679.231323, 9.744932,2.0);
CVNMVOS[2] = 1;
}
else
{
MoveObject(CVNMVO[2], -3218.786865, 1679.168335, 16.945608,2.0);
CVNMVOS[2] = 0;
}
return 1;
}
if (!strcmp("/lift5", cmdtext) && IsPlayerAdmin(playerid))
{
if(CVNMVOS[3] == 0)
{
MoveObject(CVNMVO[3],-3333.114,1645.366,0.999,1.0);
CVNMVOS[3] = 1;
}
else if(CVNMVOS[3] == 1)
{
MoveObject(CVNMVO[3],-3333.173,1645.540,7.096,2.0);
CVNMVOS[3] = 2;
}
else if(CVNMVOS[3] == 2)
{
MoveObject(CVNMVO[3],-3333.125,1645.380,16.671,2.0);
CVNMVOS[3] = 0;
}
return 1;
}
if (!strcmp("/lift4", cmdtext) && IsPlayerAdmin(playerid))
{
if(CVNMVOS[4] == 0)
{
MoveObject(CVNMVO[4],-3197.898,1649.260,9.948,2.0);
CVNMVOS[4] = 1;
}
else
{
MoveObject(CVNMVO[4],-3197.916,1649.275,16.571,1.0);
CVNMVOS[4] = 0;
}
return 1;
}
if (!strcmp("/water", cmdtext) && IsPlayerAdmin(playerid))
{
if(CVNMVOS[5] == 0)
{
MoveObject(CVNMVO[5],-3212.249023, 1682.859619, -0.290313,2.0);
CVNMVOS[5] = 1;
}
else
{
MoveObject(CVNMVO[5],-3212.266846, 1687.842285, -0.306238,2.0);
CVNMVOS[5] = 0;
}
}
if (!strcmp("/h1", cmdtext) && IsPlayerAdmin(playerid))
{
if(CVNMVOS[6] == 0)
{
MoveObject(CVNMVO[6],-3093.959,1656.212,16.660,1.0);
MoveObject(CVNMVO[7],-3075.519,1656.212,16.610,1.0);
CVNMVOS[6] = 1;
SetTimer("HeliUp",4000,0);
}
else
{
MoveObject(CVNMVO[8],-3093.965,1645.604,2.642,2.0);
MoveObject(CVNMVO[9],-3075.503,1645.608,2.651,2.0);
CVNMVOS[6] = 1;
SetTimer("HeliDown",4000,0);
}
return 1;
}
if (!strcmp("/h2", cmdtext) && IsPlayerAdmin(playerid))
{
if(CVNMVOS[7] == 0)
{
MoveObject(CVNMVO[11],-3391.222,1652.880,16.901,2.0);
CVNMVOS[7] = 1;
SetTimer("Heli2Up",10000,0);
}
else
{
MoveObject(CVNMVO[10],-3412.142,1653.161,9.256,2.0);
CVNMVOS[7] = 0;
SetTimer("Heli2Down",7000,0);
}
return 1;
}
if (!strcmp("/maphelp", cmdtext) && IsPlayerAdmin(playerid))
{
SendClientMessage(playerid,0x33AA33AA,"=============[ Help ]==============");
SendClientMessage(playerid,0xFFFFFFAA,"/lift1 /lift2 /lift3 /lift4 /lift5");
SendClientMessage(playerid,0xFFFFFFAA,"/h1 /h2 /water");
SendClientMessage(playerid,0x33AA33AA,"=============================");
return 1;
}
return 0;
}
Habe, es aus dem Pastebin link, von InternetInk aka Bejamin koppiert.
Hoffe mir , kann Trotzdem jemand Weiterhelfen
Mit Freundlichen Grüßen
Dome331