Ich bin neu im Scripten (MAPPING) filterscripts

  • Server
  • Windows

Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

  • Ich bin neu im Scripten (MAPPING) filterscripts

    ?( ich weiß nicht wo mein fehler liegt ich habe eine base gemacht bzw. Props entfernt und was kommt (Pawno) :

    Script : // This is a comment
    // uncomment the line below if you want to write a filterscript
    //#define FILTERSCRIPT

    #include <a_samp>
    #if defined FILTERSCRIPT

    public OnFilterScriptInit()
    {
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    return 1;
    }

    public OnFilterScriptExit()
    {
    return 1;
    }

    #else

    main()
    {
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
    }

    #endif

    public OnGameModeInit()
    {
    RemoveBuildingForPlayer(playerid, 17770, 2485.9063, -1639.3281, 16.9531, 0.25);
    RemoveBuildingForPlayer(playerid, 3654, 2517.4766, -1644.6953, 15.1953, 0.25);
    RemoveBuildingForPlayer(playerid, 3592, 2498.3047, -1638.3281, 15.1797, 0.25);
    RemoveBuildingForPlayer(playerid, 1410, 2487.3984, -1688.1016, 13.2813, 0.25);
    RemoveBuildingForPlayer(playerid, 1265, 2488.8047, -1684.7891, 12.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1410, 2491.8984, -1688.1016, 13.2813, 0.25);
    RemoveBuildingForPlayer(playerid, 1410, 2498.6719, -1688.2344, 13.2813, 0.25);
    RemoveBuildingForPlayer(playerid, 1265, 2491.2344, -1653.9609, 12.9219, 0.25);
    RemoveBuildingForPlayer(playerid, 1308, 2491.8984, -1647.8984, 12.7500, 0.25);
    RemoveBuildingForPlayer(playerid, 1230, 2492.2656, -1653.9922, 12.8984, 0.25);
    RemoveBuildingForPlayer(playerid, 3589, 2498.3047, -1638.3281, 15.1797, 0.25);
    RemoveBuildingForPlayer(playerid, 1211, 2495.2656, -1653.6719, 12.9141, 0.25);
    RemoveBuildingForPlayer(playerid, 1265, 2505.6719, -1658.9063, 12.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1265, 2510.9219, -1656.1328, 12.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1211, 2505.6641, -1657.9375, 12.9219, 0.25);
    RemoveBuildingForPlayer(playerid, 1410, 2511.5000, -1654.1563, 13.4922, 0.25);
    RemoveBuildingForPlayer(playerid, 1410, 2509.0156, -1652.1719, 13.4922, 0.25);
    RemoveBuildingForPlayer(playerid, 1230, 2501.9297, -1650.5078, 12.9141, 0.25);
    RemoveBuildingForPlayer(playerid, 1468, 2505.1094, -1646.0391, 13.9141, 0.25);
    RemoveBuildingForPlayer(playerid, 1410, 2509.1719, -1648.7031, 13.4922, 0.25);
    RemoveBuildingForPlayer(playerid, 760, 2507.5859, -1646.5547, 12.5313, 0.25);
    RemoveBuildingForPlayer(playerid, 760, 2501.7500, -1645.5000, 12.2969, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 2508.8672, -1634.4922, 11.9063, 0.25);
    RemoveBuildingForPlayer(playerid, 762, 2508.4141, -1635.4375, 11.7500, 0.25);
    RemoveBuildingForPlayer(playerid, 3594, 2514.3906, -1658.6016, 13.1406, 0.25);
    RemoveBuildingForPlayer(playerid, 760, 2517.0938, -1656.0703, 13.0625, 0.25);
    RemoveBuildingForPlayer(playerid, 645, 2518.6484, -1655.5234, 12.9922, 0.25);
    RemoveBuildingForPlayer(playerid, 1468, 2520.6016, -1652.5938, 13.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1410, 2514.7344, -1654.1875, 13.7734, 0.25);
    RemoveBuildingForPlayer(playerid, 760, 2521.6953, -1653.0391, 13.2109, 0.25);
    RemoveBuildingForPlayer(playerid, 1468, 2524.4063, -1648.8516, 13.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 3649, 2517.4766, -1644.6953, 15.1953, 0.25);
    RemoveBuildingForPlayer(playerid, 669, 2530.4766, -1636.7031, 12.3047, 0.25);
    RemoveBuildingForPlayer(playerid, 762, 2446.5547, -1681.0703, 12.3828, 0.25);
    RemoveBuildingForPlayer(playerid, 1468, 2468.3516, -1680.9844, 13.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 3593, 2457.8672, -1679.6719, 12.9453, 0.25);
    RemoveBuildingForPlayer(playerid, 1468, 2465.6953, -1676.4453, 13.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 1468, 2463.8672, -1671.5156, 13.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 17879, 2484.5313, -1667.6094, 21.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 1226, 2456.3672, -1662.8828, 16.4297, 0.25);
    RemoveBuildingForPlayer(playerid, 1230, 2453.9609, -1653.6953, 12.6797, 0.25);
    RemoveBuildingForPlayer(playerid, 1230, 2475.0000, -1653.6094, 12.7891, 0.25);
    RemoveBuildingForPlayer(playerid, 1498, 2485.6797, -1644.1094, 13.2578, 0.25);
    RemoveBuildingForPlayer(playerid, 17699, 2485.9063, -1639.3281, 16.9531, 0.25);

    return 1;
    }

    public OnGameModeExit()
    {
    return 1;
    }




    Fehler :




    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(34) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(35) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(36) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(37) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(38) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(39) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(40) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(41) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(42) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(43) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(44) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(45) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(46) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(47) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(48) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(49) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(50) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(51) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(52) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(53) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(54) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(55) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(56) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(57) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(58) : error 017: undefined symbol "playerid"
    C:\Users\Anwender\Desktop\ALLE ORDNER\D____s\Grand Theft Auto San Andreas\samp037_svr_R2-1-1_win32 (2)\filterscripts\Removed_Props.pwn(59) : error 017: undefined symbol "playerid"

    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    26 Errors. :cursing: X/

    Wo liegt denn das Problem Bitte um Hilfe
    und wenn ich mir Props Hinplatziere funktioniert alles
  • Alles von OnGameModeInit zu OnPlayerConnect verschieben :)

    So:

    PAWN-Quellcode

    1. public OnPlayerConnect(playerid)
    2. {
    3. RemoveBuildingForPlayer(playerid, 17770, 2485.9063, -1639.3281, 16.9531, 0.25);
    4. RemoveBuildingForPlayer(playerid, 3654, 2517.4766, -1644.6953, 15.1953, 0.25);
    5. RemoveBuildingForPlayer(playerid, 3592, 2498.3047, -1638.3281, 15.1797, 0.25);
    6. RemoveBuildingForPlayer(playerid, 1410, 2487.3984, -1688.1016, 13.2813, 0.25);
    7. RemoveBuildingForPlayer(playerid, 1265, 2488.8047, -1684.7891, 12.8125, 0.25);
    8. RemoveBuildingForPlayer(playerid, 1410, 2491.8984, -1688.1016, 13.2813, 0.25);
    9. RemoveBuildingForPlayer(playerid, 1410, 2498.6719, -1688.2344, 13.2813, 0.25);
    10. RemoveBuildingForPlayer(playerid, 1265, 2491.2344, -1653.9609, 12.9219, 0.25);
    11. RemoveBuildingForPlayer(playerid, 1308, 2491.8984, -1647.8984, 12.7500, 0.25);
    12. RemoveBuildingForPlayer(playerid, 1230, 2492.2656, -1653.9922, 12.8984, 0.25);
    13. RemoveBuildingForPlayer(playerid, 3589, 2498.3047, -1638.3281, 15.1797, 0.25);
    14. RemoveBuildingForPlayer(playerid, 1211, 2495.2656, -1653.6719, 12.9141, 0.25);
    15. RemoveBuildingForPlayer(playerid, 1265, 2505.6719, -1658.9063, 12.8125, 0.25);
    16. RemoveBuildingForPlayer(playerid, 1265, 2510.9219, -1656.1328, 12.8125, 0.25);
    17. RemoveBuildingForPlayer(playerid, 1211, 2505.6641, -1657.9375, 12.9219, 0.25);
    18. RemoveBuildingForPlayer(playerid, 1410, 2511.5000, -1654.1563, 13.4922, 0.25);
    19. RemoveBuildingForPlayer(playerid, 1410, 2509.0156, -1652.1719, 13.4922, 0.25);
    20. RemoveBuildingForPlayer(playerid, 1230, 2501.9297, -1650.5078, 12.9141, 0.25);
    21. RemoveBuildingForPlayer(playerid, 1468, 2505.1094, -1646.0391, 13.9141, 0.25);
    22. RemoveBuildingForPlayer(playerid, 1410, 2509.1719, -1648.7031, 13.4922, 0.25);
    23. RemoveBuildingForPlayer(playerid, 760, 2507.5859, -1646.5547, 12.5313, 0.25);
    24. RemoveBuildingForPlayer(playerid, 760, 2501.7500, -1645.5000, 12.2969, 0.25);
    25. RemoveBuildingForPlayer(playerid, 620, 2508.8672, -1634.4922, 11.9063, 0.25);
    26. RemoveBuildingForPlayer(playerid, 762, 2508.4141, -1635.4375, 11.7500, 0.25);
    27. RemoveBuildingForPlayer(playerid, 3594, 2514.3906, -1658.6016, 13.1406, 0.25);
    28. RemoveBuildingForPlayer(playerid, 760, 2517.0938, -1656.0703, 13.0625, 0.25);
    29. RemoveBuildingForPlayer(playerid, 645, 2518.6484, -1655.5234, 12.9922, 0.25);
    30. RemoveBuildingForPlayer(playerid, 1468, 2520.6016, -1652.5938, 13.8125, 0.25);
    31. RemoveBuildingForPlayer(playerid, 1410, 2514.7344, -1654.1875, 13.7734, 0.25);
    32. RemoveBuildingForPlayer(playerid, 760, 2521.6953, -1653.0391, 13.2109, 0.25);
    33. RemoveBuildingForPlayer(playerid, 1468, 2524.4063, -1648.8516, 13.8125, 0.25);
    34. RemoveBuildingForPlayer(playerid, 3649, 2517.4766, -1644.6953, 15.1953, 0.25);
    35. RemoveBuildingForPlayer(playerid, 669, 2530.4766, -1636.7031, 12.3047, 0.25);
    36. RemoveBuildingForPlayer(playerid, 762, 2446.5547, -1681.0703, 12.3828, 0.25);
    37. RemoveBuildingForPlayer(playerid, 1468, 2468.3516, -1680.9844, 13.8125, 0.25);
    38. RemoveBuildingForPlayer(playerid, 3593, 2457.8672, -1679.6719, 12.9453, 0.25);
    39. RemoveBuildingForPlayer(playerid, 1468, 2465.6953, -1676.4453, 13.8125, 0.25);
    40. RemoveBuildingForPlayer(playerid, 1468, 2463.8672, -1671.5156, 13.8125, 0.25);
    41. RemoveBuildingForPlayer(playerid, 17879, 2484.5313, -1667.6094, 21.4375, 0.25);
    42. RemoveBuildingForPlayer(playerid, 1226, 2456.3672, -1662.8828, 16.4297, 0.25);
    43. RemoveBuildingForPlayer(playerid, 1230, 2453.9609, -1653.6953, 12.6797, 0.25);
    44. RemoveBuildingForPlayer(playerid, 1230, 2475.0000, -1653.6094, 12.7891, 0.25);
    45. RemoveBuildingForPlayer(playerid, 1498, 2485.6797, -1644.1094, 13.2578, 0.25);
    46. RemoveBuildingForPlayer(playerid, 17699, 2485.9063, -1639.3281, 16.9531, 0.25);
    47. return 1;
    48. }
    Alles anzeigen

    Mit freundlichen Grüßen
    M760Li 8)