Beiträge von Siro97

    Fahrzeug= AddStaticVehicle(FahrzeugID, X, Y, Z, ZA, -1, -1); AddVehicleComponent(Fahrzeug, 1010); AddVehicleComponent(Fahrzeug, 1026); AddVehicleComponent(Fahrzeug, 1027); AddVehicleComponent(Fahrzeug, Teile..ID);



    und wo finde ich die teil id ?

    hallo ich habe 3 skins ins joinpad eingefügt
    new JoinPed[121][0] = {
    {280}, // LSPD 0
    {281}, // LSPD 1
    {282}, // LSPD 2
    {283}, // LSPD 3
    {284}, // LSPD 4
    {285}, // LSPD 5
    {288}, // LSPD 6
    {71}, // LSPD 7
    {166}, // LSPD 8
    {148}, // LSPD 9
    {283}, // SFPD 10
    {280}, // SFPD 11
    {281}, // SFPD 12
    {148}, // SFPD 13
    {287}, // ARMY 14
    {285}, // ARMY 15
    {148}, // ARMY 16
    {70}, // MEDIC 17
    {274}, // MEDIC 18
    {276}, // MEDIC 19
    {127}, // LCN 20
    {126}, // LCN 21
    {125}, // LCN 22
    {124}, // LCN 23
    {113}, // LCN 24 nein können sie nich
    {111}, // LCN 25
    {98}, // LCN 26
    {93}, // LCN 27
    {120}, // YAKI 28
    {121}, // YAKI 29
    {122}, // YAKI 30
    {123}, // YAKI 31
    {186}, // YAKI 32
    {228}, // YAKI 33
    {169}, // YAKI 34
    {155}, // PRÄSI 35
    {147}, // PRÄSI 36
    {127}, // HITMAN 37
    {126}, // HITMAN 38
    {186}, // HITMAN 39
    {141}, // HITMAN 40
    {93}, // HITMAN 41
    {187}, // CNN 42
    {188}, // CNN 43
    {93}, // CNN 44
    {255}, // TAXI 45
    {253}, // TAXI 46
    {76}, // TAXI 47
    {59}, // FAHRSCHULE 48
    {60}, // FAHRSCHULE 49
    {150}, // FAHRSCHULE 50
    {76}, // FAHRSCHULE 51
    {100}, // BIKER 52
    {247}, // BIKER 53
    {248}, // BIKER 54
    {254}, // BIKER 55
    {248}, // BIKER 56
    {131}, // BIKER 57
    {105}, // Grove 58
    {106}, // Grove 59
    {107}, // Grove 60
    {269}, // Grove 61
    {270}, // Outls 62
    {271}, // Grove 63
    {191}, // Grove 64
    {102}, // Bloods 65
    {195}, // Bloods 66
    {104}, // Bloods 67
    {193}, // Bloods 68
    {185}, // FaF 69
    {23}, // FaF 70
    {50}, // FaF 71
    {193}, // FaF 72
    {192}, // FaF 73
    {108}, // MaraSalvatrucha 74
    {109}, // MaraSalvatrucha 75
    {110}, // MaraSalvatrucha 76
    {226}, // MaraSalvatrucha 77
    {114}, // Crips 78
    {115}, // Crips 79
    {116}, // Crips 80
    {298}, // Crips 81
    {173}, // RIFA 82
    {174}, // RIFA 83
    {175}, // RIFA 84
    {214}, // RIFA 85
    {170}, // WCC 86
    {193}, // WCC 87
    {180}, // WCC 88
    {189}, // WCC 89
    {19}, // WCC 90
    {299}, // Wheel 91
    {28}, // Wheel 92
    {29}, // Wheel 93
    {30}, // Wheel 94
    {47}, // Wheel 95
    {277}, // FEUERWEHR 96
    {278}, // FEUERWEHR 97
    {279}, // FEUERWEHR 98
    {272}, // RM 99
    {125}, // RM 100
    {126}, // RM 101
    {255}, // OAMT 102
    {261}, // OAMT 103
    {76}, // OAMT 104
    {224}, //Triaden 105 Frau
    {118}, //Triaden 106
    {120}, //Triaden 108
    {122}, //Triaden 109
    {229}, //Triaden 110
    {263}, //Triaden 111 Frau
    {49}, //Triaden 112 Opa
    {165}, // FBI 113
    {166}, // FBI 114
    {286}, // FBI 115
    {163}, // FBI 116
    {164}, // FBI 117*
    {112}, // Triaden 118
    {188}, // Suba 119
    {21}, // Suba 120
    {211} // Suba 121
    };


    und jetzt will ich das in das ein fügen
    case 26: // Subaru
    {
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[119][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[119][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[120][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[120][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[121][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[121][0]; }


    aber es kommen diese errors :(
    C:\Users\ben\Desktop\Goold\gamemodes\Goold.pwn(46598) : error 032: array index out of bounds (variable "JoinPed")
    C:\Users\ben\Desktop\Goold\gamemodes\Goold.pwn(46598) : error 032: array index out of bounds (variable "JoinPed")


    new JoinPed[121][1] = {
    {188}, // SubaruClub 119
    {21}, // SubaruClub 120
    {211}, // SubaruClub 121
    {280}, // LSPD 0
    {281}, // LSPD 1
    {282}, // LSPD 2
    {283}, // LSPD 3
    {284}, // LSPD 4
    {285}, // LSPD 5
    {288}, // LSPD 6
    {71}, // LSPD 7
    {166}, // LSPD 8
    {148}, // LSPD 9
    {283}, // SFPD 10
    {280}, // SFPD 11
    {281}, // SFPD 12
    {148}, // SFPD 13
    {287}, // ARMY 14
    so habe ich dAS GEMACHT aber kommen immer gleiche errors


    äh ne :S

    jetzt bekomme ich diese errors
    C:\Users\ben\Desktop\Goold\gamemodes\Goold.pwn(46596) : error 032: array index out of bounds (variable "JoinPed")
    C:\Users\ben\Desktop\Goold\gamemodes\Goold.pwn(46596) : error 032: array index out of bounds (variable "JoinPed")
    C:\Users\ben\Desktop\Goold\gamemodes\Goold.pwn(46598) : error 032: array index out of bounds (variable "JoinPed")
    C:\Users\ben\Desktop\Goold\gamemodes\Goold.pwn(46598) : error 032: array index out of bounds (variable "JoinPed")



    case 26: // Subaru
    {
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[119][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[119][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[120][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[120][0]; }
    else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[121][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[121][0]; }
    }

    jetzt bekomme ich diese errors
    C:\Users\ben\Desktop\Goold\gamemodes\Goold.pwn(46596) : error 032: array index out of bounds (variable "JoinPed")
    C:\Users\ben\Desktop\Goold\gamemodes\Goold.pwn(46596) : error 032: array index out of bounds (variable "JoinPed")
    C:\Users\ben\Desktop\Goold\gamemodes\Goold.pwn(46598) : error 032: array index out of bounds (variable "JoinPed")
    C:\Users\ben\Desktop\Goold\gamemodes\Goold.pwn(46598) : error 032: array index out of bounds (variable "JoinPed")



    case 26: // Subaru
    {
    if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[211][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[211][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[21][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[21][0]; }
    else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[188][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[188][0]; }
    }