Beiträge von HappyHami

    Warte? :D Sun Set City, ist KAKE!


    Ich habs ausprobiert, Millionen FEHLER! Das meiste auf Russisch und die jobs funzen nicht!


    Du willst das machen obwohl du gerade erst mit SAMP anfängst?


    Komisch :huh:

    Kann mir jmd. sagen was der Fehler ist?


    Ich will eig. nur ein /stopanim (unfreeze) befehl


    public OnPlayerSpawn(playerid)
    {
    TogglePlayerControllable(playerid,false); // Spieler freezen
    SetTimerEx("Unfreeze",3000,0,"d",playerid); // den unfreeze public in 3 sekunden aufrufen
    }


    forward Unfreeze(p);
    public Unfreeze(p)
    {
    TogglePlayerControllable(playerid,true);
    return 1;
    }


    der error


    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(296) : error 017: undefined symbol "playerid"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.


    Ty schonmal :love:

    Ich will NPC machen,dafür aber erst animationen,kann mir einer sagen was mein fehler ist?


    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(240) : error 017: undefined symbol "LoopingAnim"
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(245) : error 017: undefined symbol "LoopingAnim"
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(250) : error 017: undefined symbol "OnePlayAnim"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    3 Errors.


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if(strcmp("/animlist", cmdtext, true, 10) == 0)
    {
    SendClientMessage(playerid,0x7AA4A6FF,"Verfügbare Animationen:");
    SendClientMessage(playerid,0x7AA4A6FF,"/handsup /drunk /robman /deal");


    }
    if(strcmp("/handsup", cmdtext, true, 10) == 0)
    {
    SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
    return 1;
    }
    if(strcmp("/drunk", cmdtext, true, 10) == 0)
    {
    LoopingAnim(playerid,"PED","WALK_DRUNK",4.0,1,1,1,1,0);
    return 1;
    }
    if (strcmp("/robman", cmdtext, true, 10) == 0)
    {
    LoopingAnim(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0);
    return 1;
    }
    if (strcmp("/deal", cmdtext, true, 10) == 0)
    {
    OnePlayAnim(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0);
    return 1;
    }

    Danke schonmal ;)

    Hallo BrotFische :huh: ,


    Ich habe eine Frage an die Leute,
    die AHNUNG vom SCRIPTEN haben!



    Also kann man eine Animation durchgehend ausführen,wenn man in ein jeweiliges Team joint?


    Nehmen wir als Beispiel die "DRUNK" Animation, kann er in der Animation sich durchgehen bewegen?
    Und in der Animation,auch eine Waffe benutzen?


    Danke für jede ANTWORT! :love:

    Also wollte Scores machen,das ist ALLES was ich dazu habe



    Kannst mir vllt.einer sagen was daran falsch ist?




    C:\Users\Hami\Desktop\Happy Deathmatch\Happy
    Deathmatch\pawno\include\MD5.inc(92) : warning 219: local variable "str"
    shadows a variable at a preceding level


    C:\Users\Hami\Desktop\Happy Deathmatch\Happy
    Deathmatch\gamemodes\HappyDeathmatch.pwn(45) : error 021: symbol already
    defined: "format"


    C:\Users\Hami\Desktop\Happy Deathmatch\Happy
    Deathmatch\gamemodes\HappyDeathmatch.pwn(58) : error 021: symbol already
    defined: "str"


    C:\Users\Hami\Desktop\Happy Deathmatch\Happy
    Deathmatch\gamemodes\HappyDeathmatch.pwn(597) : warning 203: symbol is
    never used: "str"


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






    2 Errors.




    //Score Anzeige


    new str[64];


    format(str, sizeof(str), "Kills: %s", GetPlayerKills(playerid));


    killsText = TextDrawCreate(571.00,104.00, str);


    TextDrawUseBox(killsText, 0);


    TextDrawFont(killsText, 3);


    TextDrawSetShadow(killsText,0);


    TextDrawSetOutline(killsText,2);


    TextDrawBackgroundColor(killsText,0x000000FF);


    TextDrawColor(killsText,0xFFFFFFFF);


    TextDrawAlignment(killsText,3);


    TextDrawLetterSize(killsText,0.5,1.5);


    TextDrawShowForPlayer(playerid,killsText);




    //Score


    new str[64];


    format(str, sizeof(str), "Kills: %s", GetPlayerKills(playerid));


    TextDrawSetString(killsText, str);


    Jetzt hab ich des? ^^


    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(77) : warning 215: expression has no effect
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(78) : warning 215: expression has no effect
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(79) : warning 215: expression has no effect
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(80) : warning 215: expression has no effect
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(81) : warning 215: expression has no effect
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(82) : warning 215: expression has no effect
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(83) : warning 215: expression has no effect
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(84) : warning 215: expression has no effect
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(85) : warning 215: expression has no effect
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(86) : warning 215: expression has no effect
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(87) : warning 215: expression has no effect
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(88) : warning 215: expression has no effect
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(89) : warning 215: expression has no effect
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(90) : warning 215: expression has no effect
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(91) : warning 215: expression has no effect
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(92) : warning 215: expression has no effect
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(93) : warning 215: expression has no effect
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(94) : warning 215: expression has no effect
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(95) : warning 215: expression has no effect
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(100) : error 021: symbol already defined: "AddPlayerClass"
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(105) : error 010: invalid function or declaration
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(137) : error 021: symbol already defined: "Create3DTextLabel"
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(139) : error 021: symbol already defined: "CreatePickup"
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(142) : error 021: symbol already defined: "Create3DTextLabel"
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(144) : error 021: symbol already defined: "CreatePickup"
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(145) : error 010: invalid function or declaration
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(147) : error 054: unmatched closing brace ("}")
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(159) : warning 213: tag mismatch
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(168) : warning 213: tag mismatch
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(617) : warning 203: symbol is never used: "MafiaCar"


    8 Errors.


    //TeamCars
    enum TeamCars
    {
    Mafia,
    Cops
    }


    new Cars[TeamCars];



    //Team Cars
    new CopsCar[19];
    new MafiaCar[15];


    //Cop Cars
    CopsCar[ 0] == AddStaticVehicle(427,1603.7855,-1608.5659,13.6376,178.4725,0,1); // PolizeiEnforcer 1
    CopsCar[ 1] == AddStaticVehicle(427,1598.0254,-1607.8481,13.5733,178.9632,0,1); // PolizeiEnforcer 2
    CopsCar[ 2] == AddStaticVehicle(427,1592.5045,-1608.0096,13.5189,178.5793,0,1); // PolizeiEnforcer 3
    CopsCar[ 3] == AddStaticVehicle(427,1586.7395,-1608.0833,13.5148,178.7516,0,1); // PolizeiEnforcer 4
    CopsCar[ 4] == AddStaticVehicle(427,1581.9268,-1607.7037,13.5147,178.0450,0,1); // PolizeiEnforcer 5
    CopsCar[ 5] == AddStaticVehicle(596,1575.8486,-1607.3921,13.1043,178.9452,0,1); // PolizeiAuto 1
    CopsCar[ 6] == AddStaticVehicle(596,1570.5522,-1607.2411,13.1044,178.5272,0,1); // PolizeiAuto 2
    CopsCar[ 7] == AddStaticVehicle(596,1566.3879,-1606.9556,13.1040,178.8037,0,1); // PolizeiAuto 3
    CopsCar[ 8] == AddStaticVehicle(596,1562.0411,-1606.6685,13.1042,178.7900,0,1); // PolizeiAuto 4
    CopsCar[ 9] == AddStaticVehicle(596,1557.9473,-1606.6644,13.1019,178.2569,0,1); // PolizeiAuto 5
    CopsCar[10] == AddStaticVehicle(599,1545.7119,-1615.0981,13.5723,270.4102,0,1); // PolizeiJeep 1
    CopsCar[11] == AddStaticVehicle(599,1545.8092,-1610.0946,13.5710,270.2557,0,1); // PolizeiJeep 2
    CopsCar[12] == AddStaticVehicle(599,1545.7599,-1605.0392,13.5726,270.9627,0,1); // PolizeiJeep 3
    CopsCar[13] == AddStaticVehicle(523,1605.1315,-1630.6987,13.0918,90.4368,0,0); // PolizeiMotorrad 1
    CopsCar[14] == AddStaticVehicle(523,1604.9148,-1628.4031,13.0887,90.0730,0,0); // PolizeiMotorrad 2
    CopsCar[15] == AddStaticVehicle(523,1604.7166,-1626.3622,13.0874,90.7656,0,0); // PolizeiMotorrad 3
    CopsCar[16] == AddStaticVehicle(523,1604.7373,-1624.4265,13.0855,90.9977,0,0); // PolizeiMotorrad 4
    CopsCar[17] == AddStaticVehicle(523,1604.8424,-1622.4253,13.0876,90.9957,0,0); // PolizeiMotorrad 5
    CopsCar[18] == AddStaticVehicle(523,1604.5532,-1620.2802,13.0805,90.1311,0,0); // PolizeiMotorrad 6
    return 1;
    }


    //Mafia Cars
    MafiaCar[ 0] == AddStaticVehicle(402,1087.4744,-1250.8728,15.6589,359.2153,0,0); // MafiaAuto 1
    MafiaCar[ 1] == AddStaticVehicle(402,1091.2317,-1250.0966,15.6588,359.3017,0,0); // MafiaAuto 2
    MafiaCar[ 2] == AddStaticVehicle(402,1096.3784,-1250.7358,15.6571,359.0631,0,0); // MafiaAuto 3
    MafiaCar[ 3] == AddStaticVehicle(402,1100.5239,-1250.1610,15.6538,359.5387,0,0); // MafiaAuto 4
    MafiaCar[ 4] == AddStaticVehicle(402,1104.7896,-1250.6335,15.6520,359.7735,0,0); // MafiaAuto 5
    MafiaCar[ 5] == AddStaticVehicle(451,1109.8159,-1227.3224,15.5279,181.1787,0,0); // MafiaTurismo 1
    MafiaCar[ 6] == AddStaticVehicle(451,1105.2802,-1227.4161,15.5339,181.0406,0,0); // MafiaTurismo 2
    MafiaCar[ 7] == AddStaticVehicle(451,1100.8446,-1227.3027,15.5273,181.1379,0,0); // MafiaTurismo 3
    MafiaCar[ 8] == AddStaticVehicle(451,1096.6696,-1227.0038,15.5264,181.1659,0,0); // MafiaTurismo 4
    MafiaCar[ 9] == AddStaticVehicle(451,1092.6292,-1227.0093,15.5264,181.0436,0,0); // MafiaTurismo 5
    MafiaCar[10] == AddStaticVehicle(461,1095.1047,-1219.9535,17.3808,351.3861,0,0); // MafiaMotorrad 1
    MafiaCar[11] == AddStaticVehicle(461,1097.2728,-1219.6458,17.3733,351.0743,0,0); // MafiaMotorrad 2
    MafiaCar[12] == AddStaticVehicle(461,1101.5051,-1219.4642,17.3878,351.5267,0,0); // MafiaMotorrad 4
    MafiaCar[13] == AddStaticVehicle(461,1099.3617,-1219.5437,17.3750,351.1716,0,0); // MafiaMotorrad 3
    MafiaCar[14] == AddStaticVehicle(461,1103.5846,-1219.5968,17.3777,351.3860,0,0); // MafiaMotorrad 5




    public OnPlayerStateChange(playerid, newstate, oldstate)
    {
    if(newstate == 1)
    {
    new CarCheck = GetPlayerVehicleID(playerid);
    if(CarCheck == Cars[Mafia] )
    {
    if(gTeam[playerid] != 1)
    {
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid, 0xFF0000FF, "Du bist nicht bei der Mafia!");
    return 1;
    }
    }
    if(CarCheck == Cars[Cops] )
    {
    if(gTeam[playerid] != 0)
    {
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid, 0xFF0000FF, "Du bist nicht bei den Cops!");
    return 1;
    }
    }
    return 1;
    }
    return 1;
    }


    ?( ?( ?( ?( ?(

    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(73) : warning 213: tag mismatch
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(74) : warning 213: tag mismatch
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(75) : warning 213: tag mismatch
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(76) : warning 213: tag mismatch
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(77) : warning 213: tag mismatch
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(78) : warning 213: tag mismatch
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(79) : warning 213: tag mismatch
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(80) : warning 213: tag mismatch
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(81) : warning 213: tag mismatch
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(82) : warning 213: tag mismatch
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(83) : warning 213: tag mismatch
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(84) : warning 213: tag mismatch
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(85) : warning 213: tag mismatch
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(86) : warning 213: tag mismatch
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(87) : warning 213: tag mismatch
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(88) : warning 213: tag mismatch
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(89) : warning 213: tag mismatch
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(94) : error 021: symbol already defined: "AddPlayerClass"
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(98) : error 010: invalid function or declaration
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(130) : error 021: symbol already defined: "Create3DTextLabel"
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(132) : error 021: symbol already defined: "CreatePickup"
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(135) : error 021: symbol already defined: "Create3DTextLabel"
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(137) : error 021: symbol already defined: "CreatePickup"
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(138) : error 010: invalid function or declaration
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(140) : error 054: unmatched closing brace ("}")
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(152) : error 017: undefined symbol "GroveStreet"
    C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(161) : warning 213: tag mismatch
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    9 Errors.



    //Polizei Auswahl
    AddPlayerClass(265,1579.4519,-1634.8011,13.5622,356.1275,24,500,31,1000,29,1000);
    AddPlayerClass(266,1579.4519,-1634.8011,13.5622,356.1275,24,500,31,1000,29,1000);
    AddPlayerClass(267,1579.4519,-1634.8011,13.5622,356.1275,24,500,31,1000,29,1000);

    Cars[Cops] = AddStaticVehicle(427,1603.7855,-1608.5659,13.6376,178.4725,0,1); // PolizeiEnforcer 1
    Cars[Cops] = AddStaticVehicle(427,1598.0254,-1607.8481,13.5733,178.9632,0,1); // PolizeiEnforcer 2
    Cars[Cops] = AddStaticVehicle(427,1592.5045,-1608.0096,13.5189,178.5793,0,1); // PolizeiEnforcer 3
    Cars[Cops] = AddStaticVehicle(427,1586.7395,-1608.0833,13.5148,178.7516,0,1); // PolizeiEnforcer 4
    Cars[Cops] = AddStaticVehicle(427,1581.9268,-1607.7037,13.5147,178.0450,0,1); // PolizeiEnforcer 5
    Cars[Cops] = AddStaticVehicle(596,1575.8486,-1607.3921,13.1043,178.9452,0,1); // PolizeiAuto 1
    Cars[Cops] = AddStaticVehicle(596,1570.5522,-1607.2411,13.1044,178.5272,0,1); // PolizeiAuto 2
    Cars[Cops] = AddStaticVehicle(596,1566.3879,-1606.9556,13.1040,178.8037,0,1); // PolizeiAuto 3
    Cars[Cops] = AddStaticVehicle(596,1562.0411,-1606.6685,13.1042,178.7900,0,1); // PolizeiAuto 4
    Cars[Cops] = AddStaticVehicle(596,1557.9473,-1606.6644,13.1019,178.2569,0,1); // PolizeiAuto 5
    Cars[Cops] = AddStaticVehicle(599,1545.7119,-1615.0981,13.5723,270.4102,0,1); // PolizeiJeep 1
    Cars[Cops] = AddStaticVehicle(599,1545.8092,-1610.0946,13.5710,270.2557,0,1); // PolizeiJeep 2
    Cars[Cops] = AddStaticVehicle(599,1545.7599,-1605.0392,13.5726,270.9627,0,1); // PolizeiJeep 3
    Cars[Cops] = AddStaticVehicle(523,1605.1315,-1630.6987,13.0918,90.4368,0,0); // PolizeiMotorrad 1
    Cars[Cops] = AddStaticVehicle(523,1604.9148,-1628.4031,13.0887,90.0730,0,0); // PolizeiMotorrad 2
    Cars[Cops] = AddStaticVehicle(523,1604.7166,-1626.3622,13.0874,90.7656,0,0); // PolizeiMotorrad 3
    Cars[Cops] = AddStaticVehicle(523,1604.7373,-1624.4265,13.0855,90.9977,0,0); // PolizeiMotorrad 4
    Cars[Cops] = AddStaticVehicle(523,1604.8424,-1622.4253,13.0876,90.9957,0,0); // PolizeiMotorrad 5
    Cars[Cops] = AddStaticVehicle(523,1604.5532,-1620.2802,13.0805,90.1311,0,0); // PolizeiMotorrad 6
    return 1;
    }


    //Mafia Auswahl
    AddPlayerClass(111,1083.7567,-1226.7904,15.8203,247.2682,24,500,30,1000,29,1000);
    AddPlayerClass(124,1083.7567,-1226.7904,15.8203,247.2682,24,500,30,1000,29,1000);
    AddPlayerClass(120,1083.7567,-1226.7904,15.8203,247.2682,24,500,30,1000,29,1000);

    Cars[Cops] = AddStaticVehicle(402,1087.4744,-1250.8728,15.6589,359.2153,0,0); // MafiaAuto 1
    Cars[Cops] = AddStaticVehicle(402,1091.2317,-1250.0966,15.6588,359.3017,0,0); // MafiaAuto 2
    Cars[Cops] = AddStaticVehicle(402,1096.3784,-1250.7358,15.6571,359.0631,0,0); // MafiaAuto 3
    Cars[Cops] = AddStaticVehicle(402,1100.5239,-1250.1610,15.6538,359.5387,0,0); // MafiaAuto 4
    Cars[Cops] = AddStaticVehicle(402,1104.7896,-1250.6335,15.6520,359.7735,0,0); // MafiaAuto 5
    Cars[Cops] = AddStaticVehicle(451,1109.8159,-1227.3224,15.5279,181.1787,0,0); // MafiaTurismo 1
    Cars[Cops] = AddStaticVehicle(451,1105.2802,-1227.4161,15.5339,181.0406,0,0); // MafiaTurismo 2
    Cars[Cops] = AddStaticVehicle(451,1100.8446,-1227.3027,15.5273,181.1379,0,0); // MafiaTurismo 3
    Cars[Cops] = AddStaticVehicle(451,1096.6696,-1227.0038,15.5264,181.1659,0,0); // MafiaTurismo 4
    Cars[Cops] = AddStaticVehicle(451,1092.6292,-1227.0093,15.5264,181.0436,0,0); // MafiaTurismo 5
    Cars[Cops] = AddStaticVehicle(461,1095.1047,-1219.9535,17.3808,351.3861,0,0); // MafiaMotorrad 1
    Cars[Cops] = AddStaticVehicle(461,1097.2728,-1219.6458,17.3733,351.0743,0,0); // MafiaMotorrad 2
    Cars[Cops] = AddStaticVehicle(461,1101.5051,-1219.4642,17.3878,351.5267,0,0); // MafiaMotorrad 4
    Cars[Cops] = AddStaticVehicle(461,1099.3617,-1219.5437,17.3750,351.1716,0,0); // MafiaMotorrad 3
    Cars[Cops] = AddStaticVehicle(461,1103.5846,-1219.5968,17.3777,351.3860,0,0); // MafiaMotorrad 5


    Hey Hoo Brotfische :huh: ,


    Hat jmd. lust mit mir nen kleinen DM Server zu leiten,erstellen & bearbeiten ,etc. ?(
    Ich hab schon angefangen... :)


    Vorraussetzungen:


    Du bist 15-17
    Du kannst scripten (Nicht perfekt aber...)
    Dir is gerade LW und du hast BOCK :D

    Bei Interesse:
    Skype: FunnyHami
    oder
    Private Naricht

    Hey erstmal :)


    wie kann ich hier machen,das die user die sachen erst kaufen können wenn die das nötige geld haben :P ?


    //Mafia Shop
    if(dialogid == KaufenDialog )
    {
    if(response == 0)
    {
    return 1;
    }
    if(response == 1)
    {
    if(listitem == 0)
    {
    SendClientMessage(playerid,0x7AA4A6FF,"Du hast dir eine Schutzweste gekauft!");
    SetPlayerArmour(playerid,100);
    GivePlayerMoney(playerid,-500);
    return 1;


    }
    if(listitem == 1)
    {
    SendClientMessage(playerid,0x7AA4A6FF,"Du hast dir Rauchgranaten gekauft!");
    GivePlayerWeapon(playerid,17,2000);
    GivePlayerMoney(playerid,-1000);
    return 1;
    }
    if(listitem == 2)
    {
    SendClientMessage(playerid,0x7AA4A6FF,"Du hast dir eine M4 gekauft!");
    GivePlayerWeapon(playerid,31,2000);
    GivePlayerMoney(playerid,-1500);
    return 1;
    }
    if(listitem == 3)
    {
    SendClientMessage(playerid,0x7AA4A6FF,"Du hast dir eine SMG gekauft!");
    GivePlayerWeapon(playerid,29,2000);
    GivePlayerMoney(playerid,-1200);
    return 1;
    }
    if(listitem == 4)
    {
    SendClientMessage(playerid,0x7AA4A6FF,"Du hast dir eine Deagle gekauft!");
    GivePlayerWeapon(playerid,24,2000);
    GivePlayerMoney(playerid,-1000);
    return 1;
    }
    if(listitem == 5)
    {
    SendClientMessage(playerid,0x7AA4A6FF,"Du hast dir eine Schrotflinte gekauft!");
    GivePlayerWeapon(playerid,25,2000);
    GivePlayerMoney(playerid,-1000);
    return 1;
    }
    if(listitem ==6 )
    {
    SendClientMessage(playerid,0x7AA4A6FF,"Du hast dir eine Sniper gekauft!");
    GivePlayerWeapon(playerid,34,2000);
    GivePlayerMoney(playerid,-1500);
    return 1;
    }
    }
    }
    return 1;
    }