Beiträge von Big_Mo

    Bei meinem Server verrutschen die Objekte und ich weiß nicht wie ich es beheben kann. Ich bitte um schnelle Hilfe
    Hier mein GM:



    CreateObject(971,1543.590820, -1627.114380, 15.927742,-1.503892, 0.000000, 0.000000);
    CreateObject(987,1543.132935, -1610.637329, 12.546875,-1.544999, 0.000000, 0.000000);
    CreateObject(987,1543.911865, -1631.728516, 12.546875,-1.514999, 0.000000, 0.000000);
    CreateObject(975,1588.970703, -1637.816284, 14.085644,0.000000, 0.000000, 0.000000);
    CreateObject(1495,1582.625488, -1637.873535, 12.414242,0.000000, 0.000000, 0.000000);
    CreateObject(1495,1577.372681, -1635.838379, 12.549850,-1.574999, 0.000000, 0.000000);
    CreateObject(971,2482.314453, -1688.700073, 16.058275,0.000000, 0.000000, 0.000000);
    CreateObject(969,2462.887939, -1660.535034, 12.471565,-1.529999, 0.000000, 0.000000);
    CreateObject(969,2462.810059, -1660.243896, 12.471565,1.589999, 0.000000, 0.000000);
    CreateObject(970,2462.574463, -1649.411011, 13.020288,1.562698, 0.000000, 0.000000);
    CreateObject(2047,2462.546387, -1659.434204, 15.213783,-1.604999, 0.000000, 0.000000);
    CreateObject(971,2480.713135, -1721.596680, 16.043503,0.000000, 0.000000, 0.000000);
    CreateObject(976,2813.703125, -1849.722046, 9.999995,1.499999, 0.000000, 0.000000);
    CreateObject(976,2813.948242, -1850.005615, 10.154679,-1.604999, 0.000000, 0.000000);
    CreateObject(991,2661.287354, -1667.269775, 11.126407,0.000000, 0.000000, 0.000000);
    CreateObject(991,2656.262451, -1667.252197, 11.105350,0.000000, 0.000000, 0.000000);
    CreateObject(991,2653.004395, -1670.474609, 11.092195,1.559999, 0.015000, 0.000000);
    CreateObject(991,2652.959717, -1675.199219, 11.096180,1.559999, 0.000000, 0.000000);
    CreateObject(991,2666.043701, -1848.251465, 11.250291,2.190000, 0.000000, 0.000000);
    CreateObject(991,2670.175781, -1853.343506, 11.291143,-0.824999, 0.000000, 0.000000);
    CreateObject(991,2674.674561, -1858.258911, 11.316293,2.325001, 0.000000, 0.000000);
    CreateObject(991,2679.302490, -1863.033936, 11.283975,2.355001, 0.000000, 0.000000);
    CreateObject(991,2684.246338, -1866.689819, 11.277066,2.655003, 0.000000, 0.000000);
    CreateObject(991,2690.047852, -1869.756958, 11.269928,-0.480000, 0.000000, 0.000000);
    CreateObject(991,2696.044434, -1872.349731, 11.275911,-0.330000, 0.000000, 0.000000);
    CreateObject(991,2701.906738, -1875.264038, 11.269928,-0.600000, 0.000000, 0.000000);
    CreateObject(991,2707.708008, -1877.992065, 11.269928,-0.270000, 0.000000, 0.000000);
    CreateObject(991,2710.423340, -1878.686646, 11.269928,-0.255000, 0.000000, 0.000000);
    return 1;
    }


    public OnGameModeExit()
    {
    return 1;
    }


    und ein paar bilder:






    lol wo sind denn die bilder hin???

    also ich habe meine fraktionen jetzt so gemacht:


    static gTeam[MAX_PLAYERS];


    dann habe ich das hier gemacht:


    //Fraktionsfarben
    #define NAMECOLOR_COP 0x0000FFFF
    #define NAMECOLOR_FBI 0x00007DFF
    #define NAMECOLOR_ARMY 0x00FF00FF
    #define NAMECOLOR_SECURITY 0x00FFFFFF
    #define NAMECOLOR_HITMAN 0x000000FF
    #define NAMECOLOR_BALLAS 0xFF00FFFF
    #define NAMECOLOR_GROOVE 0x009200FF
    #define NAMECOLOR_SAVG 0xFFFF00FF
    #define NAMECOLOR_LCN 0x00000071
    #define NAMECOLOR_LOS_SANTOS_VAGOS 0xFFDF41FF
    #define NAMECOLOR_FAST_AND_FURIOUS 0xFF0000FF
    #define NAMECOLOR_DRIFT_CLUB 0x6D0000FF
    #define NAMECOLOR_ATZEN 0x6DE79AFF
    #define NAMECOLOR_ADAC 0xFFE79AFF
    #define NAMECOLOR_YAKUZA 0xFFE7FFFF
    #define NAMECOLOR_MEDIC 0xFF0061FF
    #define NAMECOLOR_FAHRSCHULE 0xFFFFFFFF


    und dann noch das hier:


    public OnPlayerRequestClass(playerid, classid)
    {
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);

    if(classid == 0)
    {
    gTeam[playerid] = TEAM_COPS;
    }

    if(classid == 1)
    {
    gTeam[playerid] = TEAM_FBI;
    }

    if(classid == 2)
    {
    gTeam[playerid] = TEAM_ARMY;
    }

    if(classid == 3)
    {
    gTeam[playerid] = TEAM_SECURITY;
    }

    if(classid == 4)
    {
    gTeam[playerid] = TEAM_HITMAN;
    }

    if(classid == 5)
    {
    gTeam[playerid] = TEAM_BALLAS;
    }

    if(classid == 6)
    {
    gTeam[playerid] = TEAM_GROOVE;
    }

    if(classid == 7)
    {
    gTeam[playerid] = TEAM_SAVG;
    }

    if(classid == 8)
    {
    gTeam[playerid] = TEAM_LCN;
    }

    if(classid == 9)
    {
    gTeam[playerid] = TEAM_LOS_SANTOS_VAGOS;
    }

    if(classid == 10)
    {
    gTeam[playerid] = TEAM_FAST_AND_FURIOUS;
    }

    if(classid == 11)
    {
    gTeam[playerid] = TEAM_DRIFT_CLUB;
    }


    if(classid == 12)
    {
    gTeam[playerid] = TEAM_ATZEN;
    }

    if(classid == 13)
    {
    gTeam[playerid] = TEAM_ADAC;
    }


    if(classid == 14)
    {
    gTeam[playerid] = TEAM_YAKUZA;
    }

    if(classid == 15)
    {
    gTeam[playerid] = TEAM_MEDIC;
    }

    if(classid == 16)
    {
    gTeam[playerid] = TEAM_FAHRSCHULE;
    }
    return 1;
    }


    und zu guter letzt habe ich den Fraktionen Farben zu geordnet:


    public SetPlayerToTeamColor(playerid)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pMember] == 0 || PlayerInfo[playerid][pLeader] == 0)
    {
    SetPlayerColor(playerid, NAMECOLOR_COP);
    }
    else if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
    {
    SetPlayerColor(playerid, NAMECOLOR_FBI);
    }
    else if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
    {
    SetPlayerColor(playerid, NAMECOLOR_ARMY);
    }
    else if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    SetPlayerColor(playerid, NAMECOLOR_SECURITY);
    }
    else if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
    {
    SetPlayerColor(playerid, NAMECOLOR_HITMAN);
    }
    else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
    {
    SetPlayerColor(playerid, NAMECOLOR_BALLAS);
    }
    else if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
    {
    SetPlayerColor(playerid, NAMECOLOR_GROOVE);
    }
    else if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)
    {
    SetPlayerColor(playerid, NAMECOLOR_SAVG);
    }
    else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
    {
    SetPlayerColor(playerid, NAMECOLOR_LCN);
    }
    else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
    {
    SetPlayerColor(playerid, NAMECOLOR_LOS_SANTOS_VAGOS);
    }
    else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
    {
    SetPlayerColor(playerid, NAMECOLOR_FAST_AND_FURIOUS);
    }
    else if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
    {
    SetPlayerColor(playerid, NAMECOLOR_DRIFT_CLUB);
    }
    else if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)
    {
    SetPlayerColor(playerid, NAMECOLOR_ATZEN);
    }
    else if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
    {
    SetPlayerColor(playerid, NAMECOLOR_ADAC);
    }
    else if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
    {
    SetPlayerColor(playerid, NAMECOLOR_YAKUZA);
    }
    else if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
    {
    SetPlayerColor(playerid, NAMECOLOR_MEDIC);
    }
    else if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
    {
    SetPlayerColor(playerid, NAMECOLOR_FAHRSCHULE);
    }
    }
    }


    aber ich weiß jetzt nicht wie man den spawnpunkt macht und die skins und die waffen.
    da bräuchte ich nochma hilfe und zwar dringend weil die zeit mir davon läuft.

    C:\Downloads\filterscripts\Tacho.pwn(90) : error 028: invalid subscript (not an array or too many subscripts): "i"
    C:\Downloads\filterscripts\Tacho.pwn(91) : error 001: expected token: "}", but found "if"
    C:\Downloads\filterscripts\Tacho.pwn(91 -- 92) : error 029: invalid expression, assumed zero
    C:\Downloads\filterscripts\Tacho.pwn(92) : warning 217: loose indentation
    C:\Downloads\filterscripts\Tacho.pwn(93) : error 017: undefined symbol "i"
    C:\Downloads\filterscripts\Tacho.pwn(88) : warning 203: symbol is never used: "health"
    C:\Downloads\filterscripts\Tacho.pwn(87) : warning 204: symbol is assigned a value that is never used: "string"
    C:\Downloads\filterscripts\Tacho.pwn(87) : warning 203: symbol is never used: "value"
    C:\Downloads\filterscripts\Tacho.pwn(87) : warning 203: symbol is never used: "distance"
    C:\Downloads\filterscripts\Tacho.pwn(86) : warning 203: symbol is never used: "z"
    C:\Downloads\filterscripts\Tacho.pwn(86) : warning 203: symbol is never used: "y"
    C:\Downloads\filterscripts\Tacho.pwn(86) : warning 203: symbol is never used: "x"
    C:\Downloads\filterscripts\Tacho.pwn(86 -- 97) : error 010: invalid function or declaration
    C:\Downloads\filterscripts\Tacho.pwn(86 -- 99) : error 010: invalid function or declaration
    C:\Downloads\filterscripts\Tacho.pwn(86 -- 99) : fatal error 107: too many error messages on one line


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


    also wenn dann müsste der schon errorfrei sein. habe alles so kopiert wie es da stand