Hey Leute,
ich kriege andauernd Errors wenn ich meine neue LCN Base einsetzen will
Hier einmal der Pawn Code
//LCN BASE
CreateObject(987, 907.295044, -1649.219604, 12.546875, 0.0000, 0.0000, 90.0000);
CreateObject(987, 907.288330, -1661.221069, 12.546874, 0.0000, 0.0000, 90.0000);
CreateObject(3749, 905.412659, -1670.738159, 18.405289, 0.0000, 0.0000, 270.0000);
CreateObject(987, 907.280029, -1692.106079, 12.554657, 0.0000, 0.0000, 90.0000);
CreateObject(987, 907.298401, -1704.082764, 12.542119, 0.0000, 0.0000, 90.0000);
CreateObject(987, 907.292786, -1716.075439, 12.541613, 0.0000, 0.0000, 90.0000);
CreateObject(987, 907.301331, -1728.069580, 12.546875, 0.0000, 0.0000, 90.0000);
CreateObject(987, 907.259766, -1740.063110, 12.546875, 0.0000, 0.0000, 90.0000);
CreateObject(987, 907.245239, -1752.073486, 12.546875, 0.0000, 0.0000, 90.0000);
CreateObject(987, 907.242859, -1761.102539, 12.546875, 0.0000, 0.0000, 90.0000);
CreateObject(987, 895.311707, -1760.696411, 12.546875, 0.0000, 0.0000, 358.2811);
CreateObject(3749, 885.661072, -1759.066406, 18.405289, 0.0000, 0.0000, 357.4217);
CreateObject(987, 864.226563, -1759.494141, 12.546875, 0.0000, 0.0000, 358.2811);
CreateObject(987, 852.298950, -1759.144897, 12.546875, 0.0000, 0.0000, 358.2811);
CreateObject(8613, 857.322693, -1654.927734, 16.322800, 0.0000, 0.0000, 90.0000);
CreateObject(8613, 833.693665, -1667.950195, 23.604349, 0.0000, 0.0000, 180.0000);
lcn_gate = CreateObject(980, 885.632935, -1760.344849, 15.320267, 0.0000, 0.0000, 177.4217);//Tor 1 oben
lcn_gate2 = CreateObject(980, 907.444458, -1670.698242, 15.320267, 0.0000, 0.0000, 269.9999);//Tor 2 oben
//LCN BASE ENDE
if (strcmp(cmdtext, "/opengate", true)==0)
{
if(PlayerInfo[playerid][pLeader]==5|| PlayerInfo[playerid][pMember] ==5)
{
if(PlayerToPoint(25.0,playerid,885.6271,-1760.4032,13.5469,181.1592))
{
MoveObject (lcn_gate,885.638428, -1760.368408, 9.620319, 4);
SetTimer("Close", 5000, 0);
SendClientMessage(playerid, 0x00FF00FF, "Erfolgreich geöffnet");
SendClientMessage(playerid, 0x800000FF, "Gate wird Automatisch in 5 Sekunden geschloßen");
}
return 1;
}
//
else {
SendClientMessage(playerid, 0xAA3333AA, "Du darfst das Gate nicht Öffnen!");
}
return 1;
}
Und einmal die Errors:
C:\Users\Marcel\Desktop\GTA\SAMp\Godfather deutsche version\gf.pwn(6674) : warning 217: loose indentation
C:\Users\Marcel\Desktop\GTA\SAMp\Godfather deutsche version\gf.pwn(6677) : error 017: undefined symbol "cmdtext"
C:\Users\Marcel\Desktop\GTA\SAMp\Godfather deutsche version\gf.pwn(6679) : error 017: undefined symbol "playerid"
C:\Users\Marcel\Desktop\GTA\SAMp\Godfather deutsche version\gf.pwn(6681) : error 017: undefined symbol "playerid"
C:\Users\Marcel\Desktop\GTA\SAMp\Godfather deutsche version\gf.pwn(6685) : error 017: undefined symbol "playerid"
C:\Users\Marcel\Desktop\GTA\SAMp\Godfather deutsche version\gf.pwn(6686) : error 017: undefined symbol "playerid"
C:\Users\Marcel\Desktop\GTA\SAMp\Godfather deutsche version\gf.pwn(6688) : warning 217: loose indentation
C:\Users\Marcel\Desktop\GTA\SAMp\Godfather deutsche version\gf.pwn(6691) : warning 217: loose indentation
C:\Users\Marcel\Desktop\GTA\SAMp\Godfather deutsche version\gf.pwn(6692) : error 017: undefined symbol "playerid"
C:\Users\Marcel\Desktop\GTA\SAMp\Godfather deutsche version\gf.pwn(6694) : warning 217: loose indentation
C:\Users\Marcel\Desktop\GTA\SAMp\Godfather deutsche version\gf.pwn(6698) : warning 217: loose indentation
C:\Users\Marcel\Desktop\GTA\SAMp\Godfather deutsche version\gf.pwn(26361) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
C:\Users\Marcel\Desktop\GTA\SAMp\Godfather deutsche version\gf.pwn(6675) : warning 204: symbol is assigned a value that is never used: "lcn_gate2"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
Danke für Hilfe