Beiträge von stephan

    CMD:cd(playerid, params[])
    {
    if(PlayerInfo[playerid][pAdminLevel] < 3){SendClientMessage(playerid, COLOR_LIGHTRED, "You Are Not Admin level required to use this cmd"); return 1;}
    for(new pVeh=0; pVeh<MAX_VEHICLES; pVeh++)
    {
    DestroyVehicle(pVeh);
    }
    GameTextForAll("~y~ All spwned vehicles wos Destroy by Admin!",2000,1);
    return 1;
    }


    Mein command


    und hier meine cars mit was die gespawnt werden


    [pwn][ switch(listitem)
    {
    case 0:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;
    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    GetPlayerInterior(playerid);
    pVeh = CreateVehicle(411, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 1:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;
    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(451, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 2:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;
    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(603, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 3:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;
    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(415, X, Y, Z, Ang, -1, -1, -11);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 4:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;
    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(429, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 5:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;
    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(587, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 6:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;
    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(402, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 7:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;
    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(571, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 8:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;
    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(434, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 9:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;
    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(545, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 10:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;
    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(480, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 11:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;
    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(439, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 12:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;
    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(550, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 13:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;
    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(495, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 14:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;
    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(425, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 15:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;
    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(520, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 16:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;
    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(557, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 17:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;
    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(560, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 18:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;
    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(432, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 19:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;
    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(522, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 20:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;
    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(446, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 21:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;
    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(539, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 22:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;


    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(541, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    }
    case 23:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;


    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(568, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    return 1;
    }
    case 24:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;


    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(573, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    return 1;
    }
    case 25:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;


    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(510, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    return 1;
    }
    case 26:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;


    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(494, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    return 1;
    }
    case 27:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;


    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(424, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    return 1;
    }
    case 28:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;


    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(506, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    return 1;
    }
    case 29:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;


    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(476, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    return 1;
    }
    case 30:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;


    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(468, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    return 1;
    }
    case 31:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;


    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(471, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    return 1;
    }
    case 32:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;


    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(447, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    return 1;
    }
    case 33:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;


    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(430, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    return 1;
    }
    case 34:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;


    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(601, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    return 1;
    }
    case 35:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;


    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(406, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    return 1;
    }
    case 36:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;


    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(437, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    return 1;
    }
    case 37:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;


    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(559, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    return 1;
    }
    case 38:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;


    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(407, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    return 1;
    }
    case 39:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;


    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(561, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    return 1;
    }
    case 40:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;


    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(562, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    return 1;
    }
    case 41:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;


    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(487, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    return 1;
    }
    case 42:
    {
    new Float:X, Float:Y, Float:Z, Float:Ang, Int, pVeh;


    Int = GetPlayerInterior(playerid);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Ang);
    pVeh = CreateVehicle(449, X, Y, Z, Ang, -1, -1, -1);
    LinkVehicleToInterior(pVeh, Int);
    PutPlayerInVehicle(playerid, pVeh, 0);
    return 1;
    }
    }
    }
    return 0;
    }/pwn]


    Da bitte

    Hallo leute habe ein prob mit desem command CMD:cd(playerid, params[])
    {
    if(PlayerInfo[playerid][pAdminLevel] < 3){SendClientMessage(playerid, COLOR_LIGHTRED, "You Are Not Admin level required to use this cmd"); return 1;}
    for(new pVeh=0; pVeh<MAX_VEHICLES; pVeh++)
    {
    DestroyVehicle(pVeh);
    }
    GameTextForAll("~y~ All spwned vehicles wos Destroy by Admin!",2000,1);
    return 1;
    }


    wenn ich den eingebe werden alle cars im server und die gespawnten cars entfernt so soll nicht sein ich möchte nur die gespawnten cars entfernen die cars die im server sind sollten da bleiben danke im vorraus um hilfe wäre nett von euch

    Hallo leute wie oben beschreiben wollte ich wissen wie man das macht bei mir ist es so das die server cars dort stehn wo ich die verlasse ich möchte aber das die nach längerm steh n wieder respawnt werden und beim carspawner möchte ich gern das wenn man ein car gespawnt hat und man aussteigt und es länger steht das es entfernt wird mein car spawner also mit dem die cars erstellwerden heißt Pveh sorry wegen code habe mein stick nicht bei mir deswegen kann ich nur pveh sagen mit was die erstellt wereen sobalt ich ihn habe sende ich ihn hier hnoch mal

    Hey Allo leute mein problem ist das wen ich als admin eine freezen will und die id eingebe wir immer ein und der selbe spieler gefreezt Hier mein code


    CMD:freeze(playerid, params[])
    {
    new
    id;
    if (sscanf(params, "u", id)) SendClientMessage(playerid, COLOR_GREEN, "Usage: \"/freeze <playerid or name>\"");
    else if (id == INVALID_PLAYER_ID) SendClientMessage(playerid, COLOR_GREEN, "Player not found");
    if(PlayerInfo[playerid][pAdminLevel] < 1){SendClientMessage(playerid, COLOR_LIGHTRED, "You Are Not Admin level required to use this cmd"); return 1;}
    else
    {
    TogglePlayerControllable(id,0);
    SendClientMessage(id,TEAM_BLUE_COLOR, "Admin has Frozen you");
    AdminMessage(id,TEAM_BLUE_COLOR, "You have frozen a player successfully");
    }
    return 1;
    }
    CMD:unfreeze(playerid, params[])
    {
    new
    id;
    if (sscanf(params, "u", id)) SendClientMessage(playerid, COLOR_GREEN, "Usage: \"/unfreeze <playerid or name>\"");
    else if (id == INVALID_PLAYER_ID) SendClientMessage(playerid, COLOR_GREEN, "Player not found");
    if(PlayerInfo[playerid][pAdminLevel] < 1){SendClientMessage(playerid, COLOR_LIGHTRED, "You Are Not Admin level required to use this cmd"); return 1;}
    else
    {
    TogglePlayerControllable(id,1);
    SendClientMessage(id,TEAM_BLUE_COLOR, "Admin has UnFrozen you");
    SendClientMessage(id,TEAM_BLUE_COLOR, "You have Unfrozen a player successfully");
    }
    return 1;
    }

    Hey alle ich wollte von euch wissen wie ich einen jail command und eine unjail command scripten muss wäre gut wenn ihr mir codes schreiben könnt ich scripte mit zcmd und scanf und hier ist ein teil wies zum admin system gehört if(PlayerInfo[playerid][pAdminLevel] < 1) villt könnt ihr mir jetzt helfen ich möches es schnell und einfach

    Hallo leute habe ein problem mit /report unzwar wen ein spieler /report id und grund eingibt und es sind mehrere spieler aufm server dan wir immer ein und der selbe angezeigt obwohl man eine andere id angibt bitte hilft mir


    HIer mein code :


    CMD:report(playerid, params[])
    {
    new id,string2[128],playername[24],reportedname[24],Reason[100];
    GetPlayerName(playerid, playername, sizeof(playername));
    GetPlayerName(id, reportedname, sizeof(reportedname));
    if (sscanf(params, "pc", id, Reason)){SendClientMessage(playerid, COLOR_GREEN, "Usage: /report [id][reason]");return 1;}
    else if (id == INVALID_PLAYER_ID) SendClientMessage(playerid, COLOR_GREEN, "Player not found");
    else
    {
    format(string2, sizeof(string2), "Report: %s(ID:%d) has %s(ID:%d) reported Reason: %s",playername,playerid,reportedname,id,Reason);
    SendAdminMessage(COLOR_WHITE, string2);
    printf(string2);
    }
    return 1;
    }


    Danke im Vorraus Gruß Stephan

    Hallo Leute Ich Wollte Von Euch Wissen Wie ich ein Jail command Für die spieler Machen kann Also es soll ein admin command sein wie soll ich jetzt jail scripten damit ich als admin jailen kann mit grund?

    Hallo leute habe ein problem mt mine fuktastertur mir ist geter eine wasserflasche umgekippt und auf meine tastertur gelaufen ich habe sie schnel getrocknet vn außen undinen dannc fing se an zu spinen nach jedem bustabe kam ne zahl z.b so b7 e9 usw und heute ging die taste b und n nicht mehr und de zahlen reihe oben von 1-? gehen nicht mehr der rest geht noch einwandfrei was kanns sein und wie gehts weg ode leiber neue kaufen danke im vorraus MfG Stephan

    Hallo ich hätte mal ne frage zu PlayAudioStreamForPlayer so habe natürlich auch ein radio sender drin also stream link so gesagt so das prob ist halt wenn man /music machst startet ja das radio vom link so und es kommt meisten zu starken laggs kann man dise fixen oder nicht?

    Hier habe ich mal von realtime das script so und habe da mal setplayertime entfernt


    #include <a_samp>
    #pragma tabsize 0


    //--------------------------------------------------


    new Text:txtTimeDisp;
    new hour, minute;
    new timestr[32];


    forward UpdateTime();


    //--------------------------------------------------



    public UpdateTime()
    {
    gettime(hour, minute);
    format(timestr,32,"%02d:%02d",hour,minute);
    TextDrawSetString(txtTimeDisp,timestr);


    SetWorldTime(hour);


    new x=0;
    while(x!=MAX_PLAYERS) {
    if(IsPlayerConnected(x) && GetPlayerState(x) != PLAYER_STATE_NONE) {
    }
    x++;
    }
    }


    //--------------------------------------------------


    public OnGameModeInit()
    {
    // Init our text display
    txtTimeDisp = TextDrawCreate(605.0,25.0,"00:00");
    TextDrawUseBox(txtTimeDisp, 0);
    TextDrawFont(txtTimeDisp, 3);
    TextDrawSetShadow(txtTimeDisp,0); // no shadow
    TextDrawSetOutline(txtTimeDisp,2); // thickness 1
    TextDrawBackgroundColor(txtTimeDisp,0x000000FF);
    TextDrawColor(txtTimeDisp,0xFFFFFFFF);
    TextDrawAlignment(txtTimeDisp,3);
    TextDrawLetterSize(txtTimeDisp,0.5,1.5);


    UpdateTime();
    SetTimer("UpdateTime",1000 * 60,1);


    return 1;
    }


    //--------------------------------------------------


    public OnPlayerSpawn(playerid)
    {
    TextDrawShowForPlayer(playerid,txtTimeDisp);


    gettime(hour, minute);


    return 1;
    }


    //--------------------------------------------------


    public OnPlayerDeath(playerid, killerid, reason)
    {
    TextDrawHideForPlayer(playerid,txtTimeDisp);
    return 1;
    }


    //--------------------------------------------------


    public OnPlayerConnect(playerid)
    {
    gettime(hour, minute);


    return 1;
    }


    //--------------------------------------------------


    so siehts jetzt aus ist so richitg weil es soll je keine nacht oder tag geben da ichs selbst einstellen kann