Skins Problem

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
  • Guten Tag,


    ich habe ein Problem mit meinen Skins.
    Fehler Code :

    Code
    C:\Users\Patrick\Desktop\GER\GER\GER\gamemodes\LoE.pwn(3300) : error 018: initialization data exceeds declared sizeC:\Users\Patrick\Desktop\GER\GER\GER\gamemodes\LoE.pwn(3307) : error 001: expected token: "}", but found "{"C:\Users\Patrick\Desktop\GER\GER\GER\gamemodes\LoE.pwn(3308) : error 010: invalid function or declarationC:\Users\Patrick\Desktop\GER\GER\GER\gamemodes\LoE.pwn(55664) : warning 219: local variable "check" shadows a variable at a preceding levelC:\Users\Patrick\Desktop\GER\GER\GER\gamemodes\LoE.pwn(65568) : warning 219: local variable "check" shadows a variable at a preceding levelC:\Users\Patrick\Desktop\GER\GER\GER\gamemodes\LoE.pwn(71516) : warning 203: symbol is never used: "M_OnPlayerCommandText"Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase3 Errors.


    Spoiler anzeigen
    new JoinPed[131][1] = {
    {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}, // AR14
    {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
    {111}, // LCN 25
    {98}, // LCN 26
    {93}, // LCN 27
    {169}, // YAKI 28
    {204}, // YAKI 29
    {123}, // YAKI 30
    {122}, // YAKI 31
    {208}, // YAKI 32
    {186}, // YAKI 33
    {120}, // 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
    {3}, //Hitman 113//Ab hier Die Hitman Skins als letztes eingefügt
    {7}, //Hitman 114
    {19}, //Hitman 115
    {21}, //Hitman 116
    {22}, //Hitman 117
    {23}, //Hitman 118
    {25}, //Hitman 119
    {97}, //Hitman 120
    {154}, //Hitman 121
    {217}, //Hitman 122
    {12}, //Hitman 123
    {55}, //Hitman 124
    {56}, //Hitman 125
    {90}, //Hitman 126
    {91}, //Hitman 127
    {93}, //Hitman 128
    {190}, //Hitman 129
    {193}, //Hitman 130
    {226}, //Hitman 131
    {187}, // CNN 42
    {188}, // CNN 43
    {93}, // CNN 44
    {240}, // TAXI 45
    {189}, // TAXI 46
    {11}, // 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
    {102}, // Ballas 58
    {103}, // Ballas 59
    {104}, // Ballas 60
    {114}, // Ballas 61
    {293}, // Ballas 62
    {102}, // Ballas 63
    {293}, // Ballas 64
    {105}, // Groove Street 65
    {106}, // Groove Street 66
    {107}, // Groove Street 67
    {151}, // Groove Street 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
    {40}, // Groove Street 78
    {97}, // Groove Street 79
    {80}, // Groove Street 80
    {22}, // Groove Street 81
    {173}, // Vatos Locos 82
    {174}, // Vatos Locos 83
    {175}, // Vatos Locos 84
    {214}, // Vatos Locos 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}, //Hacker 105 Frau
    {59}, //Hacker 106
    {65}, //Hacker 108
    {73}, //Hacker 109
    {119}, //Hacker 110
    {122}, //Hacker 111
    {170}, //Hacker 112//Fehler LAUT PAWN
    /*{165}, // FBI 113
    {166}, // FBI 114
    {286}, // FBI 115
    {163}, // FBI 116
    {164}, // FBI 117*/
    //-
    {112} //Hacker 11//Fehler laut pawn
    };//Fehler laut Pawn
    Und das habe ich als letztes gemacht
    if(strcmp(cmd, "/hkleidung", true) == 0)
    {
    if(IsPlayerInFrac(playerid, 8))
    {
    if(IsPlayerInRangeOfPoint(playerid, 5.0, -2160.2542,646.0577,1057.5861))
    {
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_WHITE, "Benutzung: /hkleidung [Skin Nummer]");
    SendClientMessage(playerid, COLOR_GRAD1, "*Es gibt 18 Skins (Nummer 1-18");
    return 1;
    }
    new skin = strval(tmp);
    if(skin == 1)
    {
    SetPlayerSkin(playerid, 113);
    return 1;
    }
    if(skin == 2)
    {
    SetPlayerSkin(playerid, 114);
    return 1;
    }
    if(skin == 3)
    {
    SetPlayerSkin(playerid, 115);
    return 1;
    }
    if(skin == 4)
    {
    SetPlayerSkin(playerid, 116);
    return 1;
    }
    if(skin == 5)
    {
    SetPlayerSkin(playerid, 117);
    return 1;
    }
    if(skin == 6)
    {
    SetPlayerSkin(playerid, 118);
    return 1;
    }
    if(skin == 7)
    {
    SetPlayerSkin(playerid, 119);
    return 1;
    }
    if(skin == 8)
    {
    SetPlayerSkin(playerid, 120);
    return 1;
    }
    if(skin == 9)
    {
    SetPlayerSkin(playerid, 121);
    return 1;
    }
    if(skin == 10)
    {
    SetPlayerSkin(playerid, 122);
    return 1;
    }
    if(skin == 11)
    {
    SetPlayerSkin(playerid, 123);
    return 1;
    }
    if(skin == 12)
    {
    SetPlayerSkin(playerid, 124);
    return 1;
    }
    if(skin == 13)
    {
    SetPlayerSkin(playerid, 125);
    return 1;
    }
    if(skin == 14)
    {
    SetPlayerSkin(playerid, 126);
    return 1;
    }
    if(skin == 15)
    {
    SetPlayerSkin(playerid, 127);
    return 1;
    }
    if(skin == 16)
    {
    SetPlayerSkin(playerid, 128);
    return 1;
    }
    if(skin == 17)
    {
    SetPlayerSkin(playerid, 129);
    return 1;
    }
    if(skin == 18)
    {
    SetPlayerSkin(playerid, 130);
    return 1;
    }
    if(skin == 6)
    {
    SetPlayerSkin(playerid, 131);
    return 1;
    }
    if(skin <= 0 || skin > 18)
    {
    SendClientMessage(playerid, COLOR_GRAD1, "Skin nicht vorhanden!");
    return 1;
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD1, "Du bist nicht am Bestellen-Punkt!");
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD1, "Du bist kein Hitman!");
    }
    return 1;
    }