Hallo leute,
habe versucht was zum scripten aber habe errors und warnings hier die zeilen:
Error/warning Zeilen:
C:\Users\Ilkay\Desktop\GTA\Los Angeles Reallife v1.1\gamemodes\LosAngelesReallife.pwn(25797) : warning 217: loose indentation
C:\Users\Ilkay\Desktop\GTA\Los Angeles Reallife v1.1\gamemodes\LosAngelesReallife.pwn(25801) : error 017: undefined symbol "i" [code]
und hier die zeilen:
error zeile:
[code=sql] if(PlayerInfo[i][pMember] == 3||PlayerInfo[i][pLeader] == 3)
Alles anzeigen
hier die warnings zeilen:
1.
und hier das ganze
if(strcmp(cmd, "/armysf", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[i][pMember] == 3||PlayerInfo[i][pLeader] == 3)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, -1346.4011,463.6084,7.0243);
SetPlayerFacingAngle(playerid, 270.8254);
LinkVehicleToInterior(tmpcar,0);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, -1346.4011,463.6084,7.0243);
SetPlayerFacingAngle(playerid, 270.8254);
}
SendClientMessage(playerid, COLOR_GRAD1, " Du hast dich Teleportiert zur Army base in SF geportet ");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Du bist kein Army Mitglied !");
}
}
return 1;
}
danke im vorraus
Mfg
hüseyin