Was habe ich falsch gemacht? [Error]

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
  • Hallo Fisher!



    Vielleicht könnt ihr mir helfen was habe ich falsch gemacht?


    public OnPlayerPickUpPickup(playerid, pickupid)
    {
    //Adminbase2
    {
    new string[50];
    if(pickupid == adminbase2)
    {
    format(string,sizeof(string),"%s joined Antenna 3! (/antenna 3)",SName[playerid]);
    SendClientMessageToAll(orange,string);
    SetPlayerPos(playerid,2651.1316,524.2668,581.7887);
    }
    return 1;
    }
    //Adminbase1
    {
    new string[50];
    if(pickupid == adminbase1)
    {
    format(string,sizeof(string),"%s joined Antenna 7! (/antenna 7)",SName[playerid]);
    SendClientMessageToAll(orange,string);
    SetPlayerPos(playerid,2651.1316,524.2668,581.7887);
    }
    return 1;
    }










    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1767) : warning 225: unreachable code
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1767) : warning 217: loose indentation
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1777) : warning 225: unreachable code
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1777) : warning 217: loose indentation
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1777) : error 029: invalid expression, assumed zero
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1777) : error 004: function "OnVehicleMod" is not implemented
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1782) : warning 225: unreachable code
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1782) : error 029: invalid expression, assumed zero
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1782) : error 004: function "OnVehiclePaintjob" is not implemented
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1787) : warning 225: unreachable code
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1787) : error 029: invalid expression, assumed zero
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1787) : error 004: function "OnVehicleRespray" is not implemented
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1792) : warning 225: unreachable code
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1792) : error 029: invalid expression, assumed zero
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1792) : error 004: function "OnPlayerSelectedMenuRow" is not implemented
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1797) : warning 225: unreachable code
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1797) : error 029: invalid expression, assumed zero
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1797) : error 004: function "OnPlayerExitedMenu" is not implemented
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1802) : warning 225: unreachable code
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1802) : error 029: invalid expression, assumed zero
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1802) : error 004: function "OnPlayerInteriorChange" is not implemented
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1807) : warning 225: unreachable code
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1807) : error 029: invalid expression, assumed zero
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1807) : error 004: function "OnPlayerKeyStateChange" is not implemented
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1809) : error 017: undefined symbol "newkeys"
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1817) : warning 225: unreachable code
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1817) : error 029: invalid expression, assumed zero
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1817) : error 004: function "OnRconLoginAttempt" is not implemented
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1822) : warning 225: unreachable code
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1822) : error 029: invalid expression, assumed zero
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1822) : error 004: function "OnPlayerUpdate" is not implemented
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1827) : warning 225: unreachable code
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1827) : error 029: invalid expression, assumed zero
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1827) : error 004: function "OnPlayerStreamIn" is not implemented
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1832) : warning 225: unreachable code
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1832) : error 029: invalid expression, assumed zero
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1832) : error 004: function "OnPlayerStreamOut" is not implemented
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1837) : warning 225: unreachable code
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1837) : error 029: invalid expression, assumed zero
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1837) : error 004: function "OnVehicleStreamIn" is not implemented
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1842) : warning 225: unreachable code
    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1842) : error 029: invalid expression, assumed zero


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



    26 Errors.






    Danke! ?(

    SA:MP SERVER |35% |

  • //Adminbase2{ new string[50]; if(pickupid == adminbase2) { format(string,sizeof(string),"%s joined Antenna 7! (/antenna 7)",SName[playerid]); SendClientMessageToAll(orange,string); SetPlayerPos(playerid,2651.1316,524.2668,581.7887); } return 1; }//Adminbase1 new string[50]; if(pickupid == adminbase1) { format(string,sizeof(string),"%s joined Antenna 7! (/antenna 7)",SName[playerid]); SendClientMessageToAll(orange,string); SetPlayerPos(playerid,2651.1316,524.2668,581.7887); } return 1; }

    SA:MP SERVER |35% |

    2 Mal editiert, zuletzt von NeoXX16 ()

  • /*




    public OnPlayerPickUpPickup(playerid, pickupid)
    {
    //Adminbase2
    {
    new string[50];
    if(pickupid == adminbase2)
    {
    format(string,sizeof(string),"%s joined Antenna 7! (/antenna 7)",SName[playerid]);
    SendClientMessageToAll(orange,string);
    SetPlayerPos(playerid,2651.1316,524.2668,581.7887);
    }
    return 1;
    }
    //Adminbase1
    {
    new string[50];
    if(pickupid == adminbase1)
    {
    format(string,sizeof(string),"%s joined Antenna 7! (/antenna 7)",SName[playerid]);
    SendClientMessageToAll(orange,string);
    SetPlayerPos(playerid,2651.1316,524.2668,581.7887);
    }
    return 1;
    }
    }



    E:\BASE PACK OVERRITE\Server\gamemodes\base.pwn(1767) : warning 225: unreachable code


    */




    //EDIT
    Wie machst du es bei deinem PWN code das alles so Untereinander ist?

    SA:MP SERVER |35% |

    Einmal editiert, zuletzt von NeoXX16 ()