SamP editor Codes

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Moin,


    Habe ne kleine frage wo muss ich die Codes für den Remove rein packen?


    also diese hier...



    RemoveBuildingForPlayer(playerid, 4063, 1578.4688, -1676.4219, 13.0703, 0.25);
    RemoveBuildingForPlayer(playerid, 4064, 1571.6016, -1675.7500, 35.6797, 0.25);
    RemoveBuildingForPlayer(playerid, 4228, 1568.2891, -1677.7813, 10.8203, 0.25);
    RemoveBuildingForPlayer(playerid, 1266, 1538.5234, -1609.8047, 19.8438, 0.25);
    RemoveBuildingForPlayer(playerid, 1266, 1565.4141, -1722.3125, 25.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 4229, 1597.9063, -1699.7500, 30.2109, 0.25);
    RemoveBuildingForPlayer(playerid, 4230, 1597.9063, -1699.7500, 30.2109, 0.25);
    RemoveBuildingForPlayer(playerid, 1260, 1565.4141, -1722.3125, 25.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.4453, -1713.3047, 14.4297, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1541.4531, -1709.6406, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.2969, -1702.6016, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1693.3906, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1689.9844, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1687.1016, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1545.5234, -1678.8438, 14.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 1536, 1555.9297, -1677.1250, 15.1797, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1677.7266, 16.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 4032, 1568.2891, -1677.7813, 10.8203, 0.25);
    RemoveBuildingForPlayer(playerid, 4232, 1568.2891, -1677.7813, 10.8203, 0.25);
    RemoveBuildingForPlayer(playerid, 1536, 1555.8906, -1674.1094, 15.1797, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1673.4609, 16.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1545.5625, -1672.2188, 14.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1664.6250, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1658.3438, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1661.0313, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 3975, 1578.4688, -1676.4219, 13.0703, 0.25);
    RemoveBuildingForPlayer(playerid, 3976, 1571.6016, -1675.7500, 35.6797, 0.25);
    RemoveBuildingForPlayer(playerid, 4192, 1591.6953, -1674.8516, 20.4922, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.4766, -1648.4531, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1541.4531, -1642.0313, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.7422, -1638.9141, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 1260, 1538.5234, -1609.8047, 19.8438, 0.25);

  • Moin,


    Habe es drinen Bekomme dieses Error nach dem ich RemoveBuildingForPlayer definiert habe


    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3783) : error 010: invalid function or declaration



    RemoveBuildingForPlayer(playerid, 4063, 1578.4688, -1676.4219, 13.0703, 0.25);
    RemoveBuildingForPlayer(playerid, 4064, 1571.6016, -1675.7500, 35.6797, 0.25);
    RemoveBuildingForPlayer(playerid, 4228, 1568.2891, -1677.7813, 10.8203, 0.25);
    RemoveBuildingForPlayer(playerid, 1266, 1538.5234, -1609.8047, 19.8438, 0.25);
    RemoveBuildingForPlayer(playerid, 1266, 1565.4141, -1722.3125, 25.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 4229, 1597.9063, -1699.7500, 30.2109, 0.25);
    RemoveBuildingForPlayer(playerid, 4230, 1597.9063, -1699.7500, 30.2109, 0.25);
    RemoveBuildingForPlayer(playerid, 1260, 1565.4141, -1722.3125, 25.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.4453, -1713.3047, 14.4297, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1541.4531, -1709.6406, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.2969, -1702.6016, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1693.3906, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1689.9844, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1687.1016, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1545.5234, -1678.8438, 14.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 1536, 1555.9297, -1677.1250, 15.1797, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1677.7266, 16.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 4032, 1568.2891, -1677.7813, 10.8203, 0.25);
    RemoveBuildingForPlayer(playerid, 4232, 1568.2891, -1677.7813, 10.8203, 0.25);
    RemoveBuildingForPlayer(playerid, 1536, 1555.8906, -1674.1094, 15.1797, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1673.4609, 16.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1545.5625, -1672.2188, 14.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1664.6250, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1658.3438, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1661.0313, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 3975, 1578.4688, -1676.4219, 13.0703, 0.25);
    RemoveBuildingForPlayer(playerid, 3976, 1571.6016, -1675.7500, 35.6797, 0.25);
    RemoveBuildingForPlayer(playerid, 4192, 1591.6953, -1674.8516, 20.4922, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.4766, -1648.4531, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1541.4531, -1642.0313, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.7422, -1638.9141, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 1260, 1538.5234, -1609.8047, 19.8438, 0.25);


    Das sind die Zeilen

  • wie hast du es definiert?
    das brauch man nicht definieren

  • Function OnPlayerConnect(playerid)
    {
    RemoveBuildingForPlayer(playerid, 4063, 1578.4688, -1676.4219, 13.0703, 0.25);
    RemoveBuildingForPlayer(playerid, 4064, 1571.6016, -1675.7500, 35.6797, 0.25);
    RemoveBuildingForPlayer(playerid, 4228, 1568.2891, -1677.7813, 10.8203, 0.25);
    RemoveBuildingForPlayer(playerid, 1266, 1538.5234, -1609.8047, 19.8438, 0.25);
    RemoveBuildingForPlayer(playerid, 1266, 1565.4141, -1722.3125, 25.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 4229, 1597.9063, -1699.7500, 30.2109, 0.25);
    RemoveBuildingForPlayer(playerid, 4230, 1597.9063, -1699.7500, 30.2109, 0.25);
    RemoveBuildingForPlayer(playerid, 1260, 1565.4141, -1722.3125, 25.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.4453, -1713.3047, 14.4297, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1541.4531, -1709.6406, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.2969, -1702.6016, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1693.3906, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1689.9844, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1687.1016, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1545.5234, -1678.8438, 14.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 1536, 1555.9297, -1677.1250, 15.1797, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1677.7266, 16.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 4032, 1568.2891, -1677.7813, 10.8203, 0.25);
    RemoveBuildingForPlayer(playerid, 4232, 1568.2891, -1677.7813, 10.8203, 0.25);
    RemoveBuildingForPlayer(playerid, 1536, 1555.8906, -1674.1094, 15.1797, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1673.4609, 16.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 646, 1545.5625, -1672.2188, 14.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1664.6250, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1658.3438, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1661.0313, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 3975, 1578.4688, -1676.4219, 13.0703, 0.25);
    RemoveBuildingForPlayer(playerid, 3976, 1571.6016, -1675.7500, 35.6797, 0.25);
    RemoveBuildingForPlayer(playerid, 4192, 1591.6953, -1674.8516, 20.4922, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.4766, -1648.4531, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 620, 1541.4531, -1642.0313, 13.0469, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1541.7422, -1638.9141, 14.4375, 0.25);
    RemoveBuildingForPlayer(playerid, 1260, 1538.5234, -1609.8047, 19.8438, 0.25);


    dort habe ich es jetzt stehen jetzt bekomme ich 32 Warnings



    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3469) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3470) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3471) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3472) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3473) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3474) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3475) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3476) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3477) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3478) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3479) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3480) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3481) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3482) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3483) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3484) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3485) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3486) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3487) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3488) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3489) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3490) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3491) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3492) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3493) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3494) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3495) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3496) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3497) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3498) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3499) : warning 215: expression has no effect
    C:\Users\Asus-001\Desktop\World of San Andreas 4.0\gamemodes\WorldofSanAndreas.pwn(3500) : warning 215: expression has no effect
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    Header size: 13556 bytes
    Code size: 2447168 bytes
    Data size: 6395844 bytes
    Stack/heap size: 32768 bytes; estimated max. usage: unknown, due to recursion
    Total requirements: 8889336 bytes


    32 Warnings.

  • schonmal die samp includes erneuert?
    oder hast du es iwo wieder definiert?