Beiträge von [nRP] Sony

    Suche ein Script



    Ich suche ein gutes Script , ein Selfmade oder ein GF Edit ist auch gerne Willkommen.
    Wir bieten 50 - 60 € , je nachdem .


    • Ticket System mit Dialogen (Support TIcket System)
    • ADAC System
    • Handysystem ( Dialog )
    • Ammu-, Materialien-, Tank-, Bomben-, Mietautohaus- BIZ System geben
    • Generell Mietautohäuser
    • Gutes Zoll System
    • Verschieden Uhren (dies auch als Biz oder so)
    • Admin Befehle( Administrator System )
    • 5 Autohäuser
    • Man kann 5 Fahrzeuge kaufen : Helikopter, Flugzeug, Auto, Motorrad, Boot
    • Mindestens 18 Fraktionen
    • Swat System mit Decknamen
    • Anständige Ports , auto Ports um in Interiors zu kommen
    • Es sollte die normalen Nebenjobs enthalten wie Detektiv, Drogendealer, Waffendealer etc.
    • Autos sollten bei Ausloggen gespeichert werden und beim Einloggen dort wieder Spawnen
    • Spieler sollen da Spawnen wo sie sich Ausgeloggt haben
    • Gangwar System (TDM oder Einnahme System)
    • Cop System
    • Bankrauben
    • AFK System, Auto AFK nach 15 Minuten
    • Tankstellen sollte man Rauben
    • Gutes Speedometer (KMH , Gefahrene Kilometer, Health, Tank)
    • Payday System, die Kosten sollten Stimmen
    • Haus System, es sollte vom Script aus Häuser geben , diese mit Textdraw Anzeigen


    Den Rest editiere Scripte ich dazu. Angebote per PN , vor dem Kauf fordere ich einen Test Server um das Script zu testen. Oder selbst die AMX


    Wir bieten 50 - 60 €, per Banküberweisung.

    Bei foldendem Code bekomme ich diesen Warning , hab vieles versucht doch nichts hat den Warning verscheucht , kann mir einer helfen ??

    for(new x = 0; x < AUTOHAUSER;x++)
    {
    if(PlayerToPoint(1.5, playerid, DtcSonstiges[x][0][0],DtcSonstiges[x][0][1],DtcSonstiges[x][0][2]) && !Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]] || pickupid == Dtc_Info[x] && !Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]])
    {
    TogglePlayerControllable(playerid, 0);
    SetPlayerVirtualWorld(playerid,55+playerid);
    new string2[246];
    dtc_AutohausCar[playerid] = 0;
    dtc_AutohausCat[playerid] = x;
    new c1 = random(120);
    new c2 = random(120);
    new car;
    new preis;
    for(new ah = 0; ah < sizeof(dtcKaufliste);ah++)
    {
    if(car == 0 && dtcKaufliste[ah][dtc_Autohaus] == x)
    {
    car = dtcKaufliste[ah][dtc_CarModel];
    preis = dtcKaufliste[ah][dtc_CarModel];
    }
    }
    SetPlayerCameraPos(playerid, DtcSonstiges[x][2][0],DtcSonstiges[x][2][1],DtcSonstiges[x][2][2]);
    SetPlayerCameraLookAt(playerid, DtcSonstiges[x][1][0],DtcSonstiges[x][1][1],DtcSonstiges[x][1][2]);
    dtc_AutohausSCar[playerid] = CreateVehicle(car, DtcSonstiges[x][1][0],DtcSonstiges[x][1][1],DtcSonstiges[x][1][2],DtcSonstiges[x][1][3],c1,c2,-1);
    SetPlayerPos(playerid, DtcSonstiges[x][3][0],DtcSonstiges[x][3][1],DtcSonstiges[x][3][2]);
    SetVehicleVirtualWorld(dtc_AutohausSCar[playerid],55+playerid);
    format(string2,sizeof(string2),"~r~---------- AUTOHAUS ----------~n~~g~Fahrzeug: ~w~%s~n~~g~Preis: ~w~%d~n~~b~Auswaehlen:~n~~w~ <Num 4<~b~&~w~>Num 6> ~n~~b~Kaufen:~w~ Enter ~n~~b~Abbrechen:~w~ Tab",CarName[car-400],preis);
    if(!CarKauf[playerid])
    {
    CarKauf[playerid] = TextDrawCreate(200,310,string2);
    TextDrawAlignment(CarKauf[playerid],1);
    TextDrawUseBox(CarKauf[playerid],1);
    TextDrawBoxColor(CarKauf[playerid],0x000000FF);
    TextDrawSetOutline(CarKauf[playerid],1);
    TextDrawBackgroundColor(CarKauf[playerid],COLOR_BLACK);
    TextDrawSetOutline(CarKauf[playerid],1);
    TextDrawFont(CarKauf[playerid], 2);
    //TextDrawSetProportional(CarKauf[playerid], 2);
    TextDrawTextSize(CarKauf[playerid],450,410);
    TextDrawShowForPlayer(playerid,CarKauf[playerid]);
    }
    else
    {
    TextDrawHideForPlayer(playerid,CarKauf[playerid]);
    TextDrawSetString(CarKauf[playerid],string2);
    TextDrawShowForPlayer(playerid,CarKauf[playerid]);
    }
    }



    Fehler:


    warning 219: local variable "x" shadows a variable at a preceding level

    Jetzt habe ich 2 Errors und unzählige Warnings -.-


    F:\Veronica Beach Reallife\Veronica Beach Reallife\pawno\include\Junkbuster.inc(159) : warning 219: local variable "y" shadows a variable at a preceding level
    F:\Veronica Beach Reallife\Veronica Beach Reallife\pawno\include\Junkbuster.inc(159) : warning 219: local variable "z" shadows a variable at a preceding level
    F:\Veronica Beach Reallife\Veronica Beach Reallife\pawno\include\Junkbuster.inc(165) : warning 219: local variable "x" shadows a variable at a preceding level
    F:\Veronica Beach Reallife\Veronica Beach Reallife\pawno\include\Junkbuster.inc(165) : warning 219: local variable "y" shadows a variable at a preceding level
    F:\Veronica Beach Reallife\Veronica Beach Reallife\pawno\include\Junkbuster.inc(165) : warning 219: local variable "z" shadows a variable at a preceding level
    F:\Veronica Beach Reallife\Veronica Beach Reallife\pawno\include\Junkbuster.inc(168) : warning 219: local variable "x" shadows a variable at a preceding level
    F:\Veronica Beach Reallife\Veronica Beach Reallife\pawno\include\Junkbuster.inc(168) : warning 219: local variable "y" shadows a variable at a preceding level
    F:\Veronica Beach Reallife\Veronica Beach Reallife\pawno\include\Junkbuster.inc(168) : warning 219: local variable "z" shadows a variable at a preceding level
    F:\Veronica Beach Reallife\Veronica Beach Reallife\pawno\include\Junkbuster.inc(210) : warning 219: local variable "x" shadows a variable at a preceding level
    F:\Veronica Beach Reallife\Veronica Beach Reallife\pawno\include\Junkbuster.inc(210) : warning 219: local variable "y" shadows a variable at a preceding level
    F:\Veronica Beach Reallife\Veronica Beach Reallife\pawno\include\Junkbuster.inc(210) : warning 219: local variable "z" shadows a variable at a preceding level
    F:\Veronica Beach Reallife\Veronica Beach Reallife\pawno\include\streamer.inc(155) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
    F:\Veronica Beach Reallife\Veronica Beach Reallife\pawno\include\streamer.inc(375) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
    F:\Veronica Beach Reallife\Veronica Beach Reallife\pawno\include\streamer.inc(397) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
    F:\Veronica Beach Reallife\Veronica Beach Reallife\pawno\include\streamer.inc(399) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT"
    F:\Veronica Beach Reallife\Veronica Beach Reallife\gamemodes\Selfmade.pwn(946) : warning 201: redefinition of constant/macro (symbol "GivePlayerWeapon")
    F:\Veronica Beach Reallife\Veronica Beach Reallife\gamemodes\Selfmade.pwn(947) : warning 201: redefinition of constant/macro (symbol "ResetPlayerWeapons")
    F:\Veronica Beach Reallife\Veronica Beach Reallife\gamemodes\Selfmade.pwn(948) : warning 201: redefinition of constant/macro (symbol "GivePlayerMoney")
    F:\Veronica Beach Reallife\Veronica Beach Reallife\gamemodes\Selfmade.pwn(949) : warning 201: redefinition of constant/macro (symbol "GetPlayerMoney")
    F:\Veronica Beach Reallife\Veronica Beach Reallife\gamemodes\Selfmade.pwn(950) : warning 201: redefinition of constant/macro (symbol "ResetPlayerMoney")
    F:\Veronica Beach Reallife\Veronica Beach Reallife\gamemodes\Selfmade.pwn(951) : warning 201: redefinition of constant/macro (symbol "SetPlayerHealth")
    F:\Veronica Beach Reallife\Veronica Beach Reallife\gamemodes\Selfmade.pwn(952) : warning 201: redefinition of constant/macro (symbol "SetPlayerArmour")
    F:\Veronica Beach Reallife\Veronica Beach Reallife\gamemodes\Selfmade.pwn(953) : warning 201: redefinition of constant/macro (symbol "PutPlayerInVehicle")
    F:\Veronica Beach Reallife\Veronica Beach Reallife\gamemodes\Selfmade.pwn(954) : warning 201: redefinition of constant/macro (symbol "SetVehiclePos")
    F:\Veronica Beach Reallife\Veronica Beach Reallife\gamemodes\Selfmade.pwn(955) : warning 201: redefinition of constant/macro (symbol "SetPlayerMoney")
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    2 Errors.

    Nachdem ich Junk Buster installiert habe geht mein Server nicht mehr an.


    Ich bekomme folgende Errors :



    [02:47:36] Error: Function not registered: 'Streamer_CallbackHook'
    [02:47:36] Error: Function not registered: 'CreateDynamicObject'
    [02:47:36] Error: Function not registered: 'DestroyDynamicObject'
    [02:47:36] Error: Function not registered: 'Streamer_AppendArrayData'
    [02:47:36] Error: Function not registered: 'Streamer_SetIntData'
    [02:47:36] Error: Function not registered: 'DestroyAllDynamicObjects'
    [02:47:36] Script[gamemodes/Selfmade.amx]: Run time error 19: "File or function is not found"
    [02:47:36] Number of vehicle models: 0


    Brauche Hilfe wäre euch sehr Dankbar !

    Ich brauche ein System, wo Admins mit Usern Whispern können zum Support , also ein Admin muss es demjenigen sag ich mal erlauben und der user kann dann halt antowrten , kein livechat sondern halt /w [ID des Admins] [TExt].
    Kann mir einer helfen wie ich sowas anstell ???

    Geht nicht



    if(newkeys & KEY_CROUCH)
    {
    if(IsACop(playerid))
    {
    new SireneAn=0;
    IsPlayerInAnyVehicle(playerid);
    {
    if(SireneAn==0)
    {
    new vid = GetVehicleModel(GetPlayerVehicleID(playerid));
    if(vid == 560 || vid == 415 || vid == 451 || vid == 458 || vid == 528 || vid == 541 || vid == 405 || vid == 551 || vid == 482 || vid == 437 || vid == 602 || vid == 470 || vid == 433)
    {
    sfl1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,-1000,0,0,0,100);
    sfl2[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,-1000,0,0,0,100);
    sfl3[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,-1000,0,0,0,100);
    sfl4[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,-1000,0,0,0,100);
    sfl5[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,-1000,0,0,0,100);
    if(vid == 560)
    {
    // AttachObjectToVehicle(sfl1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.365000,2.250000,0.049999,0.000000,0.000000,0.000000);
    // AttachObjectToVehicle(sfl2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.405000,2.250000,0.049999,0.000000,0.000000,0.000000);
    // AttachObjectToVehicle(sfl3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.270000,2.275000,0.019999,0.000000,0.000000,0.000000);
    // AttachObjectToVehicle(sfl4[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.304999,2.275000,0.019999,0.000000,0.000000,0.000000);
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.589999,-0.069999,0.869999,0.000000,0.000000,0.000000);
    SireneAn=1;
    return 1;
    }
    else if(vid == 415)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.40,-0.035,0.62,0.000000,0.000000,0.000000);
    SireneAn=1;
    return 1;
    }
    else if(vid == 405)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.589999,-0.069999,0.79,0.000000,0.000000,0.000000);
    SireneAn=1;
    return 1;
    }
    else if(vid == 502)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.40,-0.035,0.62,0.000000,0.000000,0.000000);
    SireneAn=1;
    return 1;
    }
    else if(vid == 458)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.589999,-0.069999,0.75,0.000000,0.000000,0.000000);
    SireneAn=1;
    return 1;
    }
    else if(vid == 482)
    {
    //das 0.04999 ist hier die höhe
    AttachObjectToVehicle(sfl1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.365000,2.250000,0.0399,0.000000,0.000000,0.000000);
    AttachObjectToVehicle(sfl2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.405000,2.250000,0.0399,0.000000,0.000000,0.000000);
    AttachObjectToVehicle(sfl3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.270000,2.275000,0.009,0.000000,0.000000,0.000000);
    AttachObjectToVehicle(sfl4[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.304999,2.275000,0.009,0.000000,0.000000,0.000000);
    //AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.589999,-0.069999,0.75,0.000000,0.000000,0.000000);
    SireneAn=1;
    return 1;
    }
    else if(vid == 528)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.589999,-0.069999,1.10,0.000000,0.000000,0.000000);
    SireneAn=1;
    return 1;
    }
    else if(vid == 541)
    {
    //das 0.04999 ist hier die höhe
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.40,-0.069999,0.68,0.000000,0.000000,0.000000);
    SireneAn=1;
    return 1;
    }
    else if(vid == 551)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.40,-0.069999,1.0,0.000000,0.000000,0.000000);
    return 1;
    }
    else if(vid == 433)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.589999,-0.069999,1.500000,0.000000,0.000000,0.000000);
    SireneAn=1;
    return 1;
    }
    else if(vid == 470)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.589999,-0.069999,1.15,0.000000,0.000000,0.000000);
    SireneAn=1;
    return 1;
    }
    else if(vid == 602)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.589999,-0.069999,0.77,0.000000,0.000000,0.000000);
    SireneAn=1;
    return 1;
    }
    else if(vid == 437)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.589999,-0.069999,2.0,0.000000,0.000000,0.000000);
    SireneAn=1;
    return 1;
    }
    else if(vid == 506)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.40,-0.35,0.63,0.000000,0.000000,0.000000);
    SireneAn=1;
    return 1;
    }
    else if(vid == 451)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.40,-0.35,0.63,0.000000,0.000000,0.000000);
    SireneAn=1;
    return 1;
    }
    }
    }
    else if(SireneAn==1)
    {
    DestroyObject(sfl1[GetPlayerVehicleID(playerid)]);
    DestroyObject(sfl2[GetPlayerVehicleID(playerid)]);
    DestroyObject(sfl3[GetPlayerVehicleID(playerid)]);
    DestroyObject(sfl4[GetPlayerVehicleID(playerid)]);
    DestroyObject(sfl5[GetPlayerVehicleID(playerid)]);
    SireneAn=0;
    }
    }
    }
    }


    if(newkeys & KEY_CROUCH)
    {
    if(IsACop(playerid))
    {
    IsPlayerInAnyVehicle(playerid);
    {
    new vid = GetVehicleModel(GetPlayerVehicleID(playerid));
    if(vid == 560 || vid == 415 || vid == 451 || vid == 458 || vid == 528 || vid == 541 || vid == 405 || vid == 551 || vid == 482 || vid == 437 || vid == 602 || vid == 470 || vid == 433)
    {
    sfl1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,-1000,0,0,0,100);
    sfl2[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,-1000,0,0,0,100);
    sfl3[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,-1000,0,0,0,100);
    sfl4[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,-1000,0,0,0,100);
    sfl5[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,-1000,0,0,0,100);
    if(vid == 560)
    {
    // AttachObjectToVehicle(sfl1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.365000,2.250000,0.049999,0.000000,0.000000,0.000000);
    // AttachObjectToVehicle(sfl2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.405000,2.250000,0.049999,0.000000,0.000000,0.000000);
    // AttachObjectToVehicle(sfl3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.270000,2.275000,0.019999,0.000000,0.000000,0.000000);
    // AttachObjectToVehicle(sfl4[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.304999,2.275000,0.019999,0.000000,0.000000,0.000000);
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.589999,-0.069999,0.869999,0.000000,0.000000,0.000000);
    return 1;
    }
    else if(vid == 415)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.40,-0.035,0.62,0.000000,0.000000,0.000000);
    return 1;
    }
    else if(vid == 405)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.589999,-0.069999,0.79,0.000000,0.000000,0.000000);
    return 1;
    }
    else if(vid == 502)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.40,-0.035,0.62,0.000000,0.000000,0.000000);
    return 1;
    }
    else if(vid == 458)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.589999,-0.069999,0.75,0.000000,0.000000,0.000000);
    return 1;
    }
    else if(vid == 482)
    {
    //das 0.04999 ist hier die höhe
    AttachObjectToVehicle(sfl1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.365000,2.250000,0.0399,0.000000,0.000000,0.000000);
    AttachObjectToVehicle(sfl2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.405000,2.250000,0.0399,0.000000,0.000000,0.000000);
    AttachObjectToVehicle(sfl3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.270000,2.275000,0.009,0.000000,0.000000,0.000000);
    AttachObjectToVehicle(sfl4[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.304999,2.275000,0.009,0.000000,0.000000,0.000000);
    //AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.589999,-0.069999,0.75,0.000000,0.000000,0.000000);
    return 1;
    }
    else if(vid == 528)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.589999,-0.069999,1.10,0.000000,0.000000,0.000000);
    return 1;
    }
    else if(vid == 541)
    {
    //das 0.04999 ist hier die höhe
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.40,-0.069999,0.68,0.000000,0.000000,0.000000);
    return 1;
    }
    else if(vid == 551)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.40,-0.069999,1.0,0.000000,0.000000,0.000000);
    return 1;
    }
    else if(vid == 433)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.589999,-0.069999,1.500000,0.000000,0.000000,0.000000);
    return 1;
    }
    else if(vid == 470)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.589999,-0.069999,1.15,0.000000,0.000000,0.000000);
    return 1;
    }
    else if(vid == 602)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.589999,-0.069999,0.77,0.000000,0.000000,0.000000);
    return 1;
    }
    else if(vid == 437)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.589999,-0.069999,2.0,0.000000,0.000000,0.000000);
    return 1;
    }
    else if(vid == 451)
    {
    AttachObjectToVehicle(sfl5[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.40,-0.35,0.63,0.000000,0.000000,0.000000);
    return 1;
    }
    else
    {
    SendClientMessage(playerid,0xFFFFFFFF,"An dieses Fahrzeug kannst du keine Sirene montieren!");
    }
    }
    }
    }
    }
    if(newkeys & KEY_CROUCH)
    { // Garage Gate Move
    if(IsACop(playerid))
    {
    IsPlayerInAnyVehicle(playerid);
    {
    DestroyObject(sfl1[GetPlayerVehicleID(playerid)]);
    DestroyObject(sfl2[GetPlayerVehicleID(playerid)]);
    DestroyObject(sfl3[GetPlayerVehicleID(playerid)]);
    DestroyObject(sfl4[GetPlayerVehicleID(playerid)]);
    DestroyObject(sfl5[GetPlayerVehicleID(playerid)]);
    }
    }
    return 1;
    }



    Ich will eig das wenn ich "H" drücke das eine Sirene auf dem Fahrzeug erscheint , tut sie zwar aber sie soll auch bei der Taste "H" wieder verschwinden , wie mache ich das ?

    Ich habe vor ein Admin Event zu machen , der jenige Spieler der den Admin tötet soll das Geld automatisch bekommen . Hier der Code
    if(HuntingEvent == 1)
    {
    if(SpielerInfo[playerid][pAdmin] >= 2)
    {
    new string[128];
    new killername[MAX_PLAYER_NAME];
    new playername[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername, sizeof(playername));
    GetPlayerName(killerid, killername, sizeof(killername));
    format(string, sizeof(string), "%s hat Admin %s getötet und bekommt 25.000.-$ !",killername,playername);
    ABroadCast(COLOR_LIGHTRED, string, 1);
    GivePlayerMoney(killername,25000);
    }
    }

    Bekomme einen Error : C:\Users\Christopher\Desktop\Server Gamemode\gamemodes\selfmade.pwn(8653) : error 035: argument type mismatch (argument 1) Zeile mit GivePlayerMoney !

    if (strcmp(cmd, "/adminduty", true) == 0 || strcmp(cmd, "/aduty", true) == 0)
    {
    if(AdminDuty[playerid] == 0)
    {
    if(PlayerInfo[playerid][pAdmin] == 1)
    {
    SendClientMessage(playerid,COLOR_YELLOW,"Du bist nun als Admin on Duty!");
    SetPlayerColor(playerid,0x870000FF);
    AdminDuty[playerid] = 1;
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string,sizeof(string),"Ein Admin ist on Duty !",sendername,playerid);
    SendClientMessageToAll(0x870000FF, string);
    SetPlayerArmour(playerid, 999999);
    SetPlayerHealth(playerid, 999999);
    return 1;
    }
    }
    if(AdminDuty[playerid] == 1)
    {
    SendClientMessage(playerid,COLOR_YELLOW,"Du bist nun nichtmehr On Duty!");
    RemovePlayerAttachedObject(playerid,0);
    SetPlayerArmour(playerid, 0);
    SetPlayerHealth(playerid,100);
    AdminDuty[playerid] = 0;
    {
    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
    {
    }
    else
    {
    SetPlayerColor(playerid,TEAM_HIT_COLOR);
    }
    }
    return 1;
    }
    return 1;
    }
    Ich hatte mal einen Timer , der ging auch , allerdings auch bei anderen die gar nicht Admins waren oder ID 0 , eher gesagt NUR bei ID 0 ging das , wie mach ich das so , damit es für alle ist ? Eher gesagt das nur Admins on duty kein Leben verlieren beziehungsweise jede Sekunde das Leben gesetzt wird .
    Danke im Vorraus für Hinweise !

    C:\Users\Christopher\Dropbox\SampSkript\American City Life\gamemodes\ACL-Update.pwn(17496) : error 028: invalid subscript (not an array or too many subscripts): "AdminTX"
    C:\Users\Christopher\Dropbox\SampSkript\American City Life\gamemodes\ACL-Update.pwn(17496) : warning 215: expression has no effect
    C:\Users\Christopher\Dropbox\SampSkript\American City Life\gamemodes\ACL-Update.pwn(17496) : error 001: expected token: ";", but found "]"
    C:\Users\Christopher\Dropbox\SampSkript\American City Life\gamemodes\ACL-Update.pwn(17496) : error 029: invalid expression, assumed zero
    C:\Users\Christopher\Dropbox\SampSkript\American City Life\gamemodes\ACL-Update.pwn(17496) : fatal error 107: too many error messages on one line


    Das ist die Zeile mit dem wo er das Textdraw entfernen soll . Wo ausserdem soll ich das hin tun ? Ich habs bei OnPlayerConnect ^^

    Ich hab langsam die Schnauze voll , ich will einfach nur das abgefragt wird irgendwo ob er Admin duty ist oder nicht , wenn ja dann soll das Textdraw erscheinen, ist er Off Duty dann natürlich nicht .
    Jetzt bitte nur Lösungsvorschläge äussern ich komm einfach nicht weiter . Wo muss ich die Abfrage rein kopieren ? Ich möchte einfach nur das Textdraw aber ewig irgendwelche Errors !
    Ich danke im Vorraus für Konstruktive Antworten ;) if(AdminDuty[playerid] == 1)
    {
    AdminTX = TextDrawCreate(420.00000, 24.0000, "Du bist Admin duty !");
    TextDrawBackgroundColor(AdminTX,0x2DAD00FF);
    TextDrawFont(AdminTX, 3);
    TextDrawColor(AdminTX, COLOR_RED);
    TextDrawLetterSize(AdminTX, 0.340000, 1.600000);
    TextDrawSetOutline(AdminTX, 1);
    TextDrawSetProportional(AdminTX, 1);
    }
    if(AdminDuty[playerid] == 0)
    {
    TextDrawDestroy(AdminTX[playerid]);
    }