Beiträge von ◘_mccool_◘

    Moin,



    Hab da mal eine Frage.



    Ist es möglich die Skinauswahl nach dem tod die man mit F4 bekommt abzusetllen? Also so das man in den Klamottenladen gehen muss und sich nicht über das einen Gratisskin besorgen kann.



    Hoffe auf einen hilfreichen Beitrag.



    mfg


    mccool

    hi


    Habe ein Problem.
    Bekomme immer folgende Errors
    D:\Rockstar Games\GTA San Andreas\gamemodes\pvsk.pwn(227) : error 010: invalid function or declaration
    D:\Rockstar Games\GTA San Andreas\gamemodes\pvsk.pwn(229) : error 010: invalid function or declaration
    D:\Rockstar Games\GTA San Andreas\gamemodes\pvsk.pwn(230) : error 010: invalid function or declaration
    D:\Rockstar Games\GTA San Andreas\gamemodes\pvsk.pwn(231) : error 010: invalid function or declaration
    D:\Rockstar Games\GTA San Andreas\gamemodes\pvsk.pwn(232) : error 010: invalid function or declaration
    D:\Rockstar Games\GTA San Andreas\gamemodes\pvsk.pwn(233) : error 010: invalid function or declaration
    D:\Rockstar Games\GTA San Andreas\gamemodes\pvsk.pwn(234) : error 010: invalid function or declaration
    D:\Rockstar Games\GTA San Andreas\gamemodes\pvsk.pwn(235) : error 010: invalid function or declaration
    D:\Rockstar Games\GTA San Andreas\gamemodes\pvsk.pwn(236) : error 010: invalid function or declaration
    D:\Rockstar Games\GTA San Andreas\gamemodes\pvsk.pwn(237) : error 010: invalid function or declaration
    D:\Rockstar Games\GTA San Andreas\gamemodes\pvsk.pwn(239) : error 010: invalid function or declaration
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    Hier mein Script
    /*³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³


    Lorem Ipsum... :D


    ³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³³*/


    #include <a_samp>


    #if defined FILTERSCRIPT


    new gTeam[MAX_PLAYERS];



    #define TEAM_ZIVILISTENLS 0
    #define TEAM_ZIVILISTENSF 1
    #define TEAM_ZIVILISTENLV 2
    #define TEAM_COPSLS 3
    #define TEAM_COPSSF 4
    #define TEAM_COPSLV 5
    #define TEAM_GROVE 6 //in LS
    #define TEAM_BALLAS 7 //in LS
    #define TEAM_VARIOS 8 //in LS = Varios Los Aztecas
    #define TEAM_VAGOS 9 //in LS = Los Santos Vagos
    #define TEAM_RIFA 10 //in SF = San Fierro Rifa
    #define TEAM_TRIADS 11 //in SF
    #define TEAM_NANG 12 //in SF = Da Nang Boys
    #define TEAM_MAFIA 13 //in LV
    #define TEAM_BIKER 14 //in LV Wüste = Motorradgang
    #define TEAM_TAXI 15 //in LS
    #define TEAM_PILOT 16 //in SF
    #define TEAM_BUS 17 //in LV


    #define TEAM_ADMIN 1337


    main()
    {
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
    }


    #endif


    public OnGameModeInit()
    {
    // Don't use these lines if it's a filterscript
    SetGameModeText("Blank Script");


    AddPlayerClass(253,2775.0369,1253.6338,11.3125,0.6601,0,0,0,0,0,0); // BUS-LV


    AddPlayerClass(100,693.7033,1951.4598,5.5432,179.2852,0,0,0,0,0,0); // BIKER-LV
    AddPlayerClass(247,693.7033,1951.4598,5.5432,179.2852,0,0,0,0,0,0); // BIKER-LV
    AddPlayerClass(248,693.7033,1951.4598,5.5432,179.2852,0,0,0,0,0,0); // BIKER-LV
    AddPlayerClass(254,693.7033,1951.4598,5.5432,179.2852,0,0,0,0,0,0); // BIKER-LV


    AddPlayerClass(284,287.6382,1967.2449,17.6406,274.8347,0,0,0,0,0,0); // COPS-LV
    AddPlayerClass(285,287.6382,1967.2449,17.6406,274.8347,0,0,0,0,0,0); // COPS-LV
    AddPlayerClass(286,287.6382,1967.2449,17.6406,274.8347,0,0,0,0,0,0); // COPS-LV
    AddPlayerClass(287,287.6382,1967.2449,17.6406,274.8347,0,0,0,0,0,0); // COPS-LV


    AddPlayerClass(10,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(101,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(12,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(13,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(136,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(14,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(142,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(143,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(144,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(15,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(151,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(156,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(168,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(169,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(17,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(170,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(180,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(182,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(54,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(183,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(184,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(263,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(75,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(186,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(185,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(188,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(19,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(216,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV
    AddPlayerClass(20,2434.6672,1672.4431,10.8203,2.0871,0,0,0,0,0,0); // ZIVILISTEN-LV


    ...Weitere... leider maximal 10 000 Zeichen pro Beitrag ...






    return 1;
    }


    public OnGameModeExit()
    {
    return 1;
    }


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


    switch(classid)
    {
    case 0: gTeam[playerid] = TEAM_BUS; // BUS
    case 1..4: gTeam[playerid] = TEAM_BIKER; // BIKER
    case 5..8: gTeam[playerid] = TEAM_COPSLV; // COPS LV
    case 9..37: gTeam[playerid] = TEAM_ZIVILISTENLV; // ZIVI LV
    case 38..44: gTeam[playerid] = TEAM_MAFIA; // MAFIA
    case 45: gTeam[playerid] = TEAM_PILOT; // PILOT
    case 46..49: gTeam[playerid] = TEAM_COPSSF; // COPS SF
    case 50..77: gTeam[playerid] = TEAM_ZIVILISTENSF; // ZIVI SF
    default: gTeam[playerid] = TEAM_ZIVILISTENLS; // noch nicht festgelegter Rest da hier grade nichts funzt >:-(
    }
    return 1;
    }
    public OnPlayerConnect(playerid)
    {
    return 1;
    }


    public OnPlayerDisconnect(playerid, reason)
    {
    return 1;
    }


    public OnPlayerSpawn(playerid)
    {
    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;
    }


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if (strcmp("/mycommand", cmdtext, true, 10) == 0)
    {
    // Do something here
    return 1;
    }
    return 0;
    }


    hoffe da kann mir wer helfen oder mir das erklären vllt binn ich einfach zu doof

    new basegate1; <--- Am Anfang



    public OnGameModeInit()
    {
    basegate1 = CreateObject(980, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); //Durch deine Object ID ersetzen
    return 1;
    }


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if(strcmp(cmdtext, "/opengate", true) == 0)
    {
    new string[50];
    new movetime = MoveObject(basegate1, 0, 0, 10, 2.00); //hier movetime
    format(string, sizeof(string), "Öffnet sich oder so", movetime);
    SendClientMessage(playerid, 0xFF000000, string);
    return 1;
    }
    return 0;
    }


    mfg
    mccool