Beiträge von x3Marsx3

    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;

    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.

    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);}

    Okay jetzt habe ich nur noch&Und der server geht immer noch nicht
    C:\Users\Marcel\Desktop\Black-Planet\gamemodes\New.pwn(729) : warning 202: number of arguments does not match definition
    C:\Users\Marcel\Desktop\Black-Planet\gamemodes\New.pwn(731) : warning 202: number of arguments does not match definition
    C:\Users\Marcel\Desktop\Black-Planet\gamemodes\New.pwn(774) : error 010: invalid function or declaration
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

    Hey Leute ich habe versucht an meinem Script zu Arbeiten, und dann nach dem Compilen kam 1Error&Der Server startet nicht mehr,ich hoffe ihr hönnt mir helfen.
    C:\Users\Marcel\Desktop\Black-Planet\gamemodes\New.pwn(78) : warning 217: loose indentation
    C:\Users\Marcel\Desktop\Black-Planet\gamemodes\New.pwn(480) : warning 217: loose indentation
    C:\Users\Marcel\Desktop\Black-Planet\gamemodes\New.pwn(492) : warning 217: loose indentation
    C:\Users\Marcel\Desktop\Black-Planet\gamemodes\New.pwn(662) : warning 217: loose indentation
    C:\Users\Marcel\Desktop\Black-Planet\gamemodes\New.pwn(730) : warning 202: number of arguments does not match definition
    C:\Users\Marcel\Desktop\Black-Planet\gamemodes\New.pwn(732) : warning 202: number of arguments does not match definition
    C:\Users\Marcel\Desktop\Black-Planet\gamemodes\New.pwn(775) : error 010: invalid function or declaration
    C:\Users\Marcel\Desktop\Black-Planet\gamemodes\New.pwn(894) : warning 217: loose indentation
    C:\Users\Marcel\Desktop\Black-Planet\gamemodes\New.pwn(912) : warning 217: loose indentation
    C:\Users\Marcel\Desktop\Black-Planet\gamemodes\New.pwn(961) : warning 217: loose indentation
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.

    Hey wie gesagt bei CreatObject kommen immer 2Errors..


    {
    CreateObject(3749, 1281.9703369141, -2056.2414550781, 63.681854248047, 0, 0, 270);
    CreateObject(980, 1393.4271240234, -2065.91796875, -49.893424987793, 0, 0, 267.99499511719);
    CreateObject(987, 1283.9571533203, -2046.3658447266, 57.981101989746, 0, 0, 94);
    CreateObject(987, 1284.5303955078, -2076.2731933594, 56.589786529541, 0, 0, 93.9990234375);
    CreateObject(987, 1273.2559814453, -2077.9499511719, 57.172588348389, 0, 0, 10);
    CreateObject(987, 1250.1159667969, -2077.8640136719, 57.970268249512, 0, 0, 148);
    CreateObject(987, 1262.3056640625, -2079.8063964844, 56.990600585938, 0, 0, 7.99755859375);
    CreateObject(987, 1250.3186035156, -2078.044921875, 57.938827514648, 0, 0, 353.99597167969);
    CreateObject(987, 1239.9503173828, -2071.32421875, 58.999965667725, 0, 0, 89.992431640625);
    CreateObject(987, 1240.7275390625, -2048.7082519531, 58.980400085449, 0, 0, 268);
    CreateObject(987, 1240.5084228516, -2036.5466308594, 58.968166351318, 0, 0, 269.99499511719);
    CreateObject(987, 1240.6112060547, -2025.64453125, 58.973899841309, 0, 0, 270);
    CreateObject(987, 1241.0284423828, -2013.5616455078, 58.993030548096, 0, 0, 270);
    CreateObject(987, 1240.4499511719, -2002.8679199219, 59.01379776001, 0, 0, 274);
    CreateObject(987, 1241.154296875, -2003.2980957031, 59.038234710693, 0, 0, 0);
    CreateObject(987, 1253.0397949219, -2004.1241455078, 58.822059631348, 0, 0, 2);
    CreateObject(987, 1264.7487792969, -2003.1552734375, 58.417995452881, 0, 0, 358);
    CreateObject(987, 1271.1455078125, -2003.26171875, 58.214485168457, 0, 0, 358);
    CreateObject(987, 1283.5275878906, -2034.6135253906, 57.953216552734, 0, 0, 90);
    CreateObject(987, 1284.1116943359, -2022.3477783203, 57.866790771484, 0, 0, 90);
    CreateObject(987, 1283.7789306641, -2003.5487060547, 57.800201416016, 0, 0, 272);
    CreateObject(3928, 1273.6031494141, -2017.4984130859, 58.03116607666, 0, 0, 0);
    CreateObject(3928, 1273.578125, -2029.7683105469, 58.023704528809, 0, 0, 0);
    return 1;
    }


    Hier Error:
    C:\Users\Marcel\Desktop\Server\gamemodes\versuch.pwn(46) : error 055: start of function body without function header
    C:\Users\Marcel\Desktop\Server\gamemodes\versuch.pwn(70) : error 010: invalid function or declaration
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    2 Errors.


    dann kommt dieser Error


    C:\Users\Marcel\Desktop\Server\gamemodes\versuch.pwn(102) : warning 217: loose indentation
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Warning.