Server geht nicht mehr an 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
  • ja
    //LSPD
    #define lspdspawn 1520.0, 1541.0, 1655.0


    //Medic
    #define medicspawn 1520.0,1568.0,1510.0


    //Vagos
    #define vagosspawn 1767.8848,-1363.5009,15.7578,269.7619

    **~~Favorite~~**

  • Für den Vagosspawn


    SetPlayerPos(playerid,1767.8848,-1363.5009,15.7578,269.7619);



    Halt noch mit case davor etc.



    //edit : Dasselbe machste auch noch beim mafiaspawn



    Maddin is my Lord and Master :D
    Musel my one and only b0wm
    Bisafloah is the pokemon that pwns a lot of goddamn ponys.

  • Also soll ich das jetzt bei den hier machen?
    old
    {
    case 0:{}
    case 1:{SetPlayerPos(playerid,lspdspawn);SetPlayerColor(playerid,BLAU);}
    case 2:{SetPlayerPos(playerid,mafiaspawn);GivePlayerWeapon(playerid,24,250);}
    case 3:{SetPlayerPos(playerid,medicspawn);SetPlayerColor(playerid,ROT);}
    case 4:{SetPlayerPos(playerid,vagosspawn);GivePlayerWeapon(playerid,24,250);}

    **~~Favorite~~**

  • case 4:{SetPlayerPos(playerid,1767.8848,-1363.5009,15.7578,269.7619);GivePlayerWeapon(playerid,24,250);}






    So viel zum Vagosspawn



    Maddin is my Lord and Master :D
    Musel my one and only b0wm
    Bisafloah is the pokemon that pwns a lot of goddamn ponys.

  • dann kommen neue errors..
    C:\Users\Marcel\Desktop\Black-Planet\gamemodes\New.pwn(735) : warning 202: number of arguments does not match definition
    C:\Users\Marcel\Desktop\Black-Planet\gamemodes\New.pwn(737) : warning 202: number of arguments does not match definition
    C:\Users\Marcel\Desktop\Black-Planet\gamemodes\New.pwn(741) : error 002: only a single statement (or expression) can follow each "case"
    C:\Users\Marcel\Desktop\Black-Planet\gamemodes\New.pwn(741) : warning 215: expression has no effect
    C:\Users\Marcel\Desktop\Black-Planet\gamemodes\New.pwn(742) : warning 209: function "OnPlayerSpawn" should return a value
    C:\Users\Marcel\Desktop\Black-Planet\gamemodes\New.pwn(766) : error 010: invalid function or declaration
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    2 Errors.

    **~~Favorite~~**

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen
  • case 2:{SetPlayerPos(playerid,mafiaspawn);GivePlayerWeapon(playerid,24,250);}
    case 3:{SetPlayerPos(playerid,medicspawn);SetPlayerColor(playerid,ROT);}
    case 4:{SetPlayerPos(playerid,1767.8848,-1363.5009,15.7578,269.7619);GivePlayerWeapon(playerid,24,250);



    }
    return 1;
    }


    public OnPlayerDeath(playerid, killerid, reason)
    {
    return 1;
    }


    public OnVehicleSpawn(vehicleid)
    {
    return 1;
    }


    public OnVehicleDeath(vehicleid, killerid)
    {
    return 1;
    }


    public OnPlayerText(playerid, text[])
    {
    return 1;
    }




    return 1;

    **~~Favorite~~**

  • so?



    case 0:{}
    case 1:{SetPlayerPos(playerid,lspdspawn);SetPlayerColor(playerid,BLAU);}
    case 2:{SetPlayerPos(playerid,mafiaspawn);GivePlayerWeapon(playerid,24,250);}
    case 3:{SetPlayerPos(playerid,medicspawn);SetPlayerColor(playerid,ROT);}
    case 4:{SetPlayerPos(playerid,1767.8848,-1363.5009,15.7578,269.7619);GivePlayerWeapon(playerid,24,250);



    }
    return 1;
    }


    public OnPlayerDeath(playerid, killerid, reason)
    {
    return 1;
    }


    public OnVehicleSpawn(vehicleid)
    {
    return 1;
    }


    public OnVehicleDeath(vehicleid, killerid)
    {
    return 1;
    }


    public OnPlayerText(playerid, text[])
    {
    return 1;
    }




    return 1;

    **~~Favorite~~**

  • Okay Trozdem noch ein error
    C:\Users\Marcel\Desktop\Black-Planet\gamemodes\New.pwn(735) : warning 202: number of arguments does not match definition
    C:\Users\Marcel\Desktop\Black-Planet\gamemodes\New.pwn(737) : warning 202: number of arguments does not match definition
    C:\Users\Marcel\Desktop\Black-Planet\gamemodes\New.pwn(766) : error 010: invalid function or declaration
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.

    **~~Favorite~~**

  • Jo...unten bei OnPlayerText haste ein return 1; was garnix bringt...mach das weg^^


    //Edit : Das return 1; was in Zeile 766 ist



    Maddin is my Lord and Master :D
    Musel my one and only b0wm
    Bisafloah is the pokemon that pwns a lot of goddamn ponys.