Beiträge von AeroxTobi

    ich mach es so wie zum beispiel


    <object name="BSN-"Menue>
    <position>1544.546387 -1630.725830 13.104563</position>
    <rotation>0.055797 0.045000 -1.589999</rotation>
    <model>968</model>
    </object>


    BSNMenü = CreateMenu(968, 1544.5463, -1630.7258, 13.1045, 0.0557, 0.04500, -1.5899);
    die ID und Post stimmen jetzt nicht ist ja nru beispiel

    hau es unter


    if(strcmp(cmdtext, "/guide", true) == 0)
    {
    if (PlayerToPoint(4, playerid,1600.8793,-2333.3535,13.5390))
    {
    TogglePlayerControllable(playerid, 0);
    ShowMenuForPlayer(Guide, playerid);
    return 1;
    }
    else { SendClientMessage(playerid, COLOR_GREY,"Du hast keine bedinungs anleitung."); }
    }
    wen du das nicht drin hast hau das noch mit rein brauchst du nemlich dazu
    das dan einfach unter /givdrugs


    mfg. grgserver.selfcoders.com

    ka obs geht sollte aber


    if(strcmp(cmd, "/respawnthiscar", true) == 0 || strcmp(cmd, "/rtc", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pAdmin] < 2 )
    {
    SendClientMessage(playerid, COLOR_GRAD1, " Nicht für dich MFG - Linux!");
    return 1;
    }
    if(IsPlayerInAnyVehicle(playerid))
    {
    GetPlayerName(playerid, sendername, sizeof(sendername));
    //format(string, 256, "AdmWarning: %s has just respawned vehicle id %d.",sendername,GetPlayerVehicleID(playerid));
    ABroadCast(COLOR_YELLOW,string,1);
    SetVehicleToRespawn(GetPlayerVehicleID(playerid));
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid, COLOR_GREY, " Vehicle Respawned !");
    }
    }
    return 1;
    }

    if(strcmp(cmd, "/respawnallcars", true) == 0 || strcmp(cmd, "/rac", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pAdmin] < 3)
    {
    SendClientMessage(playerid, COLOR_GRAD1, " Nicht für dich MFG - Linux!");
    return 1;
    }
    new bool:unwanted[CAR_AMOUNT];
    for(new player=0; player<MAX_PLAYERS; player++)
    {
    if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; }
    }
    for(new car = 1; car <= 268; car++)
    {
    if(!unwanted[car]) SetVehicleToRespawn(car);
    }
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "SERVER: Alle autos Respawnd by %s.", sendername);
    BroadCast(COLOR_WHITE,string);
    }
    return 1;
    }

    if(strcmp(cmd, "/respawnrentcars", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pAdmin] < 2)
    {
    SendClientMessage(playerid, COLOR_GRAD1, " Nicht für dich MFG - Linux!");
    return 1;
    }
    new bool:unwanted[CAR_AMOUNT];
    for(new player=0; player<MAX_PLAYERS; player++)
    {
    if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; }
    }
    for(new v = 135; v <= 154; v++)
    {
    if(!unwanted[v]) SetVehicleToRespawn(v);
    }
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "SERVER: alle rentcars Respawmd by %s.", sendername);
    BroadCast(COLOR_WHITE,string);
    }
    return 1;
    }

    if(strcmp(cmd, "/respawnrentbikes", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pAdmin] < 2)
    {
    SendClientMessage(playerid, COLOR_GRAD1, " Nicht für dich MFG - Linux!");
    return 1;
    }
    new bool:unwanted[CAR_AMOUNT];
    for(new player=0; player<MAX_PLAYERS; player++)
    {
    if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; }
    }
    for(new v = 112; v <= 130; v++)
    {
    if(!unwanted[v]) SetVehicleToRespawn(v);
    }
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "SERVER: Alle motoräder Respawnd by %s.", sendername);
    BroadCast(COLOR_WHITE,string);
    }
    return 1;
    }

    muss unter



    public OnPlayerCommandText(playerid, cmdtext[])


    Dast Nicht Für dich MFG - Linux! kannst ändern bin grad zumüde dafür


    mfg. grgserver.selfcoders.com