Hey ich habe gerade Navisystem reingemacht und selber editiert aber es kommen 5 erorrs why kommen die ?`
#include <a_samp>
#define DIALOG_NAVI 1011
#define WEISS 0xF0F0F0FF
#define ROT 0xFF0000FF
public OnFilterScriptInit() {
return print("n--------------------------------------"),print("Navi System 0.0.4 wurde geladen"),print("--------------------------------------n");
}
public OnPlayerCommandText(playerid, cmdtext[]) {
if(!strcmp(cmdtext, "/gps", true)) return ShowPlayerDialog(playerid,DIALOG_NAVI,DIALOG_STYLE_LIST,"Navigation","Los Santos\nLos Santos Police Department\nKleidergeschäft\nArbeitsamt Los Santos\nOrdnungsamt\nWerbung Los Santos\nGangautohaus\nBurger Shot North\n24/7 Laden\nAutohaus LS 1\nAutohaus LS 2\nBank Los Santos\nHandyladen\nStrandbox\nLos Santos Hafen\nDustin\n------San Fierro------\nFahrschule\nAutohaus San Fierro\nBank San Fierro\nWerbung San Fierro\nMatspunkt San Fierro\nTruckerdepot\nDrogenfarm\nWaren Bayside\nWaren San Fierro\n------Las Venturas------\nPrison\nMatspunkt Las Venturas\nKurierdepot","Einschalten","Ausschalten");
return 0;
}
public OnPlayerEnterCheckpoint(playerid) {
return SendClientMessage(playerid,WEISS,"Du hast dein Ziel erreicht"),DisablePlayerCheckpoint(playerid);
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {
switch(dialogid) {
case DIALOG_NAVI: {
if(!response) return SendClientMessage(playerid,ROT,"Du das Navi ausgeschaltet."),DisablePlayerCheckpoint(playerid);
switch(listitem) {
case 0: SetPlayerCheckpoint(playerid,1062.3490,-1793.3224,13.6648,5.0),SendClientMessage(playerid, WEISS, "Ziel: Los Santos");
case 1: SetPlayerCheckpoint(playerid,1542.6882,-1675.3882,13.5550,5.0),SendClientMessage(playerid,WEISS, "Ziel: Los Santos Police Deprtment");
case 2: SetPlayerCheckpoint(playerid,1458.4689,-1140.0231,24.0714,5.0),SendClientMessage(playerid,WEISS, "Ziel: Kleidergeschäf");
case 3: SetPlayerCheckpoint(playerid,595.4757,-1250.1545,18.2764,3.0),SendClientMessage(playerid,WEISS, "Ziel: Arbeitsamt Los Santos");
case 4: SetPlayerCheckpoint(playerid,931.8835,-1220.7346,16.8985,5.0),SendClientMessage(playerid,WEISS, "Ziel: Ordnungsamt");
case 5: SetPlayerCheckpoint(playerid,1631.9034,-1172.0419,24.0781,2.0),SendClientMessage(playerid,WEISS, "Ziel: Werbung Los Santos");
case 6: SetPlayerCheckpoint(playerid,1317.4209,-1184.0486,23.5917,5.0),SendClientMessage(playerid,WEISS, "Ziel: Gangautohaus");
case 7: SetPlayerCheckpoint(playerid,1219.0779,-923.0855,43.0938,5.0),SendClientMessage(playerid,WEISS, "Ziel: Burger Shot North");
case 8: SetPlayerCheckpoint(playerid,1315.5707,-911.0126,38.1040,5.0),SendClientMessage(playerid,WEISS, "Ziel: 24/7 Laden");
case 9: SetPlayerCheckpoint(playerid,761.3654,-1343.8973,13.2242,5.0),SendClientMessage(playerid,WEISS, "Ziel: Autohaus Los Santos 1");
case 10: SetPlayerCheckpoint(playerid,1764.6591,-1700.1941,13.4542,5.0),SendClientMessage(playerid,WEISS, "Ziel: Autohaus Los Santos 2");
case 11: SetPlayerCheckpoint(playerid,1462.8068,-1025.5228,23.8281,5.0),SendClientMessage(playerid,WEISS, "Ziel: Bank Los Santos");
case 12: SetPlayerCheckpoint(playerid,1373.9929,-1089.3927,25.1954,5.0),SendClientMessage(playerid,WEISS, "Ziel: Handyladen");
case 13: SetPlayerCheckpoint(playerid,837.9414,-1856.5160,8.1069,5.0),SendClientMessage(playerid,WEISS, "Ziel: Strandbox");
case 14: SetPlayerCheckpoint(playerid,2759.5198,-2452.9226,14.5626,5.0),SendClientMessage(playerid,WEISS, "Ziel: Los Santos Hafen");
case 15: SetPlayerCheckpoint(playerid,2446.4221,-1900.4139,13.5469,1.5),SendClientMessage(playerid, WEISS, "Ziel: Dustin");
case 16: SetPlayerCheckpoint(playerid,-1974.3596,179.2529,27.6875,5.0),SendClientMessage(playerid, WEISS, "Ziel: San Fierro");
case 17: SetPlayerCheckpoint(playerid,-1539.8025,485.0966,7.1797,2.0),SendClientMessage(playerid, WEISS, "Ziel: Fahrschule");
case 18: SetPlayerCheckpoint(playerid,-1638.5231,1202.4535,7.2201,5.0),SendClientMessage(playerid, WEISS, "Ziel: Autohaus San Fierro");
case 19: SetPlayerCheckpoint(playerid,-1749.1150,864.1675,24.8828,2.0),SendClientMessage(playerid, WEISS, "Ziel: Bank San Fierro");
case 20: SetPlayerCheckpoint(playerid,-2242.5676,128.7393,35.3203,2.0),SendClientMessage(playerid, WEISS, "Ziel: Werbung San Fierro");
case 21: SetPlayerCheckpoint(playerid,-1113.3816,-1620.8601,76.3739,5.0),SendClientMessage(playerid, WEISS, "Ziel: Matspunkt San Fierro");
case 22: SetPlayerCheckpoint(playerid,62,-252,2.6,5.0),SendClientMessage(playerid, WEISS, "Ziel: Truckerdepot");
case 23: SetPlayerCheckpoint(playerid,-53.2073,-35.7630,4.1292,5.0),SendClientMessage(playerid, WEISS, "Ziel: Drogenfarm");
case 24: SetPlayerCheckpoint(playerid,-2457.8867,2293.7578,4.9844,5.0),SendClientMessage(playerid, WEISS, "Ziel: Waren Bayside");
case 25: SetPlayerCheckpoint(playerid,-1726.2760,-121.7190,3.5489,5.0),SendClientMessage(playerid, WEISS, "Ziel:Waren San Fierro ");
case 26: SetPlayerCheckpoint(playerid,1211.1188,-1749.2139,13.5940,5.0),SendClientMessage(playerid, WEISS, "Ziel: Prison");
case 27: SetPlayerCheckpoint(playerid,2471.0447,1905.2593,9.8587,5.0),SendClientMessage(playerid, WEISS, "Ziel: Matspunkt Las Venturas");
case 28: SetPlayerCheckpoint(playerid,-78.5665,-1121.8373,1.0781,5.0),SendClientMessage(playerid, WEISS, "Ziel: Kurierdepot");
}
}
}
return 0;
}
C:\Users\Adminstrator\Vadim\reallife\filterscripts\NaviSystem.pwn(10) : error 075: input line too long (after substitutions)
C:\Users\Adminstrator\Vadim\reallife\filterscripts\NaviSystem.pwn(11) : error 037: invalid string (possibly non-terminated string)
C:\Users\Adminstrator\Vadim\reallife\filterscripts\NaviSystem.pwn(11) : error 017: undefined symbol "Los"
C:\Users\Adminstrator\Vadim\reallife\filterscripts\NaviSystem.pwn(11) : error 017: undefined symbol "Santos"
C:\Users\Adminstrator\Vadim\reallife\filterscripts\NaviSystem.pwn(11) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.