Beiträge von RnBexclusiv

    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if (strcmp("/dm on", cmdtext, true, 10) == 0)
    {
    if(IsPlayerConnected(playerid))
    {

    if (GetPlayerState(playerid) == 2)
    {
    new tmpcar = GetPlayerVehicleID(playerid);
    SetVehiclePos(tmpcar,0.0.0.0.0);
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
    }
    else
    {
    SetPlayerPos(playerid,0.0.0.0.0);
    }
    SendClientMessage(playerid, 0xB8860BAA, "*** Willkommen auf der Deathmatchzone ! ***");
    SetPlayerInterior(playerid,0);
    }
    return 1;
    }



    man...achte mal auf die } :pinch: :pinch: :pinch:


    genauso hier....
    if(strcmp("/dm off", cmdtext, true, 9) == 0)
    {
    if(IsPlayerConnected(playerid))
    {


    if (GetPlayerState(playerid) == 2)
    {
    new tmpcar = GetPlayerVehicleID(playerid);
    SetVehiclePos(tmpcar, 0.0.0.0.0);
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
    }
    else
    {
    SetPlayerPos(playerid, 0.0.0.0.0);
    }
    SendClientMessage(playerid, 0xB8860BAA, "*** Du hast die Deathmatchzone verlassen ! ***");
    SetPlayerInterior(playerid,0);
    }
    return 1;
    }



    so müsste beides richtig sein...und das nächste mal wenn du sowas langes hast machs in pastebin!!

    if (strcmp(cmdtext, "/hoch", true)==0)
    {
    if(IsPlayerConnected(playerid))
    {
    if (IsACop(playerid))
    {
    if (PlayerToPoint(30.0, playerid, -1302.702271, 484.942078, 3.929327))
    {
    MoveObject(Randsperre1, -1306.047119, 485.954590, 17.774944,2.9);
    MoveObject(Randsperre2, -1306.069702, 482.352631, 17.774944,2.9);
    MoveObject(Randsperre3, -1299.199341, 486.240509, 17.725121,2.9);
    MoveObject(Randsperre4, -1299.202148,482.610229,17.734875, 2.9);
    MoveObject(Hecksperre, -1305.809937, 480.660950, 6.291712, 2.9);
    MoveObject(Hauptaufzug, -1302.700073, 484.931366, 14.967054, 2.9);
    SendClientMessage(playerid, COLOR_YELLOW, "Der Fahrstuhl setzt sich in Gang und fährt hoch!");
    SetTimer("heckaufzug2", 1000, 0);
    }
    else
    {
    SendClientMessage(playerid, COLOR_YELLOW, "Der Aufzug befindet sich in der Army Base.");
    }
    }
    }
    return 1;
    }



    Das müsste gehen...genau das gleiche beim anern mache...


    Nun hab ich auch noch ne frage...ich habe mir ein haus mit dem tool generator gemacht...bloß es wird nicht im game angezeigt und wenn ich den server starte ändert sich die property.cfg wo ich das haus hinzugefügt habe genau die hinzugefügte hauszeile in die Zeile die davor ist...
    mfg Kavkus

    @ Alex... hier hat alles Angefangen
    Klicke Hier


    Dann schau ob du das von Keks auch alles drin hast:




    new Text:kA[MAX_PLAYERS];
    das,

    forward kAt();
    dann,
    #define tx 20.0
    #define ty 290.0

    dann noch in OnGameModeInit():

    SetTimer("kAt",2000,1);



    Das GANZ UNTEN in dein Script:

    public kAt() {
    for(new i = 0; i <= GetMaxPlayers(); i++) {
    TextDrawHideForPlayer(i,kA[i]);
    if(GetPlayerScore(i)<=99) {
    kA[i]=TextDrawCreate(tx,ty,"Rang: Noob");
    TextDrawShowForPlayer(i,kA[i]); }
    else if(GetPlayerScore(i)>=100 && GetPlayerScore(i)<=299) {
    kA[i]=TextDrawCreate(tx,ty,"Rang: Racer");
    TextDrawShowForPlayer(i,kA[i]); }
    else if(GetPlayerScore(i)>=300 && GetPlayerScore(i)<=499) {
    kA[i]=TextDrawCreate(tx,ty,"Rang: Guter Racer");
    TextDrawShowForPlayer(i,kA[i]); }
    else if(GetPlayerScore(i)>=500 && GetPlayerScore(i)<=1499) {
    kA[i]=TextDrawCreate(tx,ty,"Rang: Super Racer");
    TextDrawShowForPlayer(i,kA[i]); }
    else if(GetPlayerScore(i)>=1500 && GetPlayerScore(i)<=3499) {
    kA[i]=TextDrawCreate(tx,ty,"Rang: Professional Racer");
    TextDrawShowForPlayer(i,kA[i]); }
    else if(GetPlayerScore(i)>=3500 && GetPlayerScore(i)<=4999) {
    kA[i]=TextDrawCreate(tx,ty,"Rang: Extrem Racer");
    TextDrawShowForPlayer(i,kA[i]); }
    else if(GetPlayerScore(i)>=5000 && GetPlayerScore(i)<=9999) {
    kA[i]=TextDrawCreate(tx,ty,"Rang: Extrem Professional Racer");
    TextDrawShowForPlayer(i,kA[i]); }
    else if(GetPlayerScore(i)>=11000 && GetPlayerScore(i)<=19999) {
    kA[i]=TextDrawCreate(tx,ty,"Rang: Gott");
    TextDrawShowForPlayer(i,kA[i]); }
    else if(GetPlayerScore(i)>=20000) {
    kA[i]=TextDrawCreate(tx,ty,"Rang:Legende");
    TextDrawShowForPlayer(i,kA[i]); }}
    return 1;
    }

    Und wenn es jetzt nicht geht fress ich n Bessen...

    public kAt() {
    for(new i = 0; i <= GetMaxPlayers(); i++) {
    TextDrawHideForPlayer(i,kA[i]);
    if(GetPlayerScore(i)<=99) {
    kA[i]=TextDrawCreate(tx,ty,"Rang: Noob");
    TextDrawShowForPlayer(i,kA[i]); }
    else if(GetPlayerScore(i)>=100 && GetPlayerScore(i)<=299) {
    kA[i]=TextDrawCreate(tx,ty,"Rang: Racer");
    TextDrawShowForPlayer(i,kA[i]); }
    else if(GetPlayerScore(i)>=300 && GetPlayerScore(i)<=499) {
    kA[i]=TextDrawCreate(tx,ty,"Rang: Guter Racer");
    TextDrawShowForPlayer(i,kA[i]); }
    else if(GetPlayerScore(i)>=500 && GetPlayerScore(i)<=1499) {
    kA[i]=TextDrawCreate(tx,ty,"Rang: Super Racer");
    TextDrawShowForPlayer(i,kA[i]); }
    else if(GetPlayerScore(i)>=1500 && GetPlayerScore(i)<=3499) {
    kA[i]=TextDrawCreate(tx,ty,"Rang: Professional Racer");
    TextDrawShowForPlayer(i,kA[i]); }
    else if(GetPlayerScore(i)>=3500 && GetPlayerScore(i)<=4999) {
    kA[i]=TextDrawCreate(tx,ty,"Rang: Extrem Racer");
    TextDrawShowForPlayer(i,kA[i]); }
    else if(GetPlayerScore(i)>=5000 && GetPlayerScore(i)<=9999) {
    kA[i]=TextDrawCreate(tx,ty,"Rang: Extrem Professional Racer");
    TextDrawShowForPlayer(i,kA[i]); }
    else if(GetPlayerScore(i)>=11000 && GetPlayerScore(i)<=19999) {
    kA[i]=TextDrawCreate(tx,ty,"Rang: Gott");
    TextDrawShowForPlayer(i,kA[i]); }
    else if(GetPlayerScore(i)>=20000) {
    kA[i]=TextDrawCreate(tx,ty,"Rang:Legende");
    TextDrawShowForPlayer(i,kA[i]); }}
    return 1;
    }


    so und nu ruhe ist dein 4 Thema oder so dafür