Beiträge von Fabi.StaR

    Wie kann man machen das wenn man ein Fahrzeug mietet, das dann das fahrzeug gespeichert ist und wenn man aussteigt und ein adnere rein steigt und wiel denn motor starten geht das net und wenn man selber einsteigt das man nicht noch mal das fahrzeug mieten muss?????

    1.Warum geht sieser befehl nicht??


    ocmd:skinchange(playerid,params[])
    {
    if(IsPlayerInRangeOfPoint(playerid,10.0,161.4873,-85.7631,1001.8047)){
    SendClientMessage(playerid,Gelb,"Willkommen im Zip! Suchen sie sich nun ihre Kleidung aus (<< | >>), um sie zu kaufen drücken sie auf Spawn!");
    SetPlayerPos(playerid,161.4873,-85.7631,1001.8047);
    SetPlayerFacingAngle(playerid,359.3940);
    AddPlayerClass(107,161.4873,-85.7631,1001.8047,359.3940,0,0,0,0,0,0);
    AddPlayerClass(254,161.4873,-85.7631,1001.8047,359.3940,0,0,0,0,0,0);
    AddPlayerClass(106,161.4873,-85.7631,1001.8047,359.3940,0,0,0,0,0,0);
    AddPlayerClass(107,161.4873,-85.7631,1001.8047,359.3940,0,0,0,0,0,0);
    AddPlayerClass(102,161.4873,-85.7631,1001.8047,359.3940,0,0,0,0,0,0);
    AddPlayerClass(103,161.4873,-85.7631,1001.8047,359.3940,0,0,0,0,0,0);
    AddPlayerClass(104,161.4873,-85.7631,1001.8047,359.3940,0,0,0,0,0,0);
    AddPlayerClass(114,161.4873,-85.7631,1001.8047,359.3940,0,0,0,0,0,0);
    AddPlayerClass(115,161.4873,-85.7631,1001.8047,359.3940,0,0,0,0,0,0);
    AddPlayerClass(116,161.4873,-85.7631,1001.8047,359.3940,0,0,0,0,0,0);
    AddPlayerClass(108,161.4873,-85.7631,1001.8047,359.3940,0,0,0,0,0,0);
    AddPlayerClass(109,161.4873,-85.7631,1001.8047,359.3940,0,0,0,0,0,0);
    AddPlayerClass(110,161.4873,-85.7631,1001.8047,359.3940,0,0,0,0,0,0);
    AddPlayerClass(173,161.4873,-85.7631,1001.8047,359.3940,0,0,0,0,0,0);
    AddPlayerClass(174,161.4873,-85.7631,1001.8047,359.3940,0,0,0,0,0,0);
    AddPlayerClass(175,161.4873,-85.7631,1001.8047,359.3940,0,0,0,0,0,0);
    AddPlayerClass(247,161.4873,-85.7631,1001.8047,359.3940,0,0,0,0,0,0);
    AddPlayerClass(248,161.4873,-85.7631,1001.8047,359.3940,0,0,0,0,0,0);
    AddPlayerClass(100,161.4873,-85.7631,1001.8047,359.3940,0,0,0,0,0,0);
    AddPlayerClass(124,161.4873,-85.7631,1001.8047,359.3940,0,0,0,0,0,0);
    AddPlayerClass(126,161.4873,-85.7631,1001.8047,359.3940,0,0,0,0,0,0);
    return 1;}
    else{SendClientMessage(playerid,Gelb,"[Info]: Du bist in keinem Zip Shop!");}
    return 1;
    }


    Kann man machen das nur mansche Fraktion aus dem Skin shop die skins auswählen können???
    Und das über denn Skins dann steht wenn mans darf z.b. LSPD wenn man nicht in der fraktion ist und wenn man in der fraktion ist LSPD steht??

    Zitat

    wie hast du es bisher alles gemacht?
    abfragen blablabla


    Ich schreib nicht umsonst poste codes
    wie speicherst du andere dinge ?
    Ich kann nicht hellsehen


    stock LoadPlayer(playerid)
    {
    if(IsPlayerConnected(playerid) && !IsPlayerNPC(playerid))
    {
    GetPlayerName(playerid, PlayerInfo[playerid][pName], MAX_PLAYER_NAME);
    SetPlayerWantedLevel(playerid,mysql_GetInt("accounts", "WantedLevel", "Name",PlayerInfo[playerid][pName]));
    GivePlayerMoney(playerid,mysql_GetInt("accounts", "Geld", "Name", PlayerInfo[playerid][pName]));
    PlayerInfo[playerid][pLevel] = mysql_GetInt("accounts", "Level", "Name", PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pAlter] = mysql_GetInt("accounts","Alter","Name", PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pNutzung] = mysql_GetInt("account","Nutzung","Name", PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pSkin] = mysql_GetInt("accounts", "Skin", "Name", PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pKills] = mysql_GetInt("accounts", "Kills", "Name", PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pTode] = mysql_GetInt("accounts", "Tode", "Name", PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pJob] = mysql_GetInt("accounts", "Job", "Name", PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pFraktionsLeader] = mysql_GetInt("accounts", "FraktionsLeader", "Name", PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pFraktionsMember] = mysql_GetInt("accounts", "FraktionsMember", "Name", PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pFraktionsRange] = mysql_GetInt("accounts", "FraktionsRange", "Name", PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pAdminLevel] = mysql_GetInt("accounts", "AdminLevel", "Name", PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pAutoschein] = mysql_GetInt("accounts","Autoschein","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pMotorradschein] = mysql_GetInt("accounts","Motorradschein","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pLKWschein] = mysql_GetInt("accounts","LKWschein","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pBootschein] = mysql_GetInt("accounts","Bootschein","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pWaffenschein] = mysql_GetInt("accounts","Waffenschein","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pAngelschein] = mysql_GetInt("accounts","Angelschein","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pBanned] = mysql_GetInt("accounts","Bann","Name",PlayerInfo[playerid][pName]);
    PlayerInfo[playerid][pBanned] = mysql_GetInt("accounts","Bann","Name",PlayerInfo[playerid][pName]);
    if(PlayerInfo[playerid][pBanned] == 1)
    {
    SendClientMessage(playerid,Rot,"Du bist vom Server gebannt.");
    Kick(playerid);
    }
    if(PlayerInfo[playerid][pTimeBanned] >= 1)
    {
    new STR[128];
    new wert;
    format(STR,sizeof(STR),"[Name:[%s]] [Timeban noch:[%i]]",PlayerName(playerid),wert);
    ShowPlayerDialog(playerid,DIALOG_TIMEBAN,DIALOG_STYLE_MSGBOX,"TimeBan",STR," "," ");
    Kick(playerid);
    }
    }
    return 1;
    }
    stock SavePlayer(playerid)
    {
    if(IsPlayerConnected(playerid) && !IsPlayerNPC(playerid))
    {
    if(GetPVarInt(playerid,"Eingeloggt") == 1)
    {
    GetPlayerName(playerid, PlayerInfo[playerid][pName], MAX_PLAYER_NAME);
    mysql_SetInt("accounts", "Geld", GetPlayerMoney(playerid), "Name", PlayerInfo[playerid][pName]);
    mysql_SetInt("accounts", "Skin", GetPlayerSkin(playerid), "Name", PlayerInfo[playerid][pName]);
    mysql_SetInt("accounts", "WantedLevel",GetPlayerWantedLevel(playerid),"Name",PlayerInfo[playerid][pName]);
    mysql_SetInt("accounts", "Alter", PlayerInfo[playerid][pAlter],"Name",PlayerInfo[playerid][pName]);
    mysql_SetInt("accounts", "Nutzung",PlayerInfo[playerid][pNutzung],"Name",PlayerInfo[playerid][pName]);
    mysql_SetInt("accounts", "Level", PlayerInfo[playerid][pLevel], "Name", PlayerInfo[playerid][pName]);
    mysql_SetInt("accounts", "Kills", PlayerInfo[playerid][pKills], "Name", PlayerInfo[playerid][pName]);
    mysql_SetInt("accounts", "Tode", PlayerInfo[playerid][pTode], "Name", PlayerInfo[playerid][pName]);
    mysql_SetInt("accounts", "",PlayerInfo[playerid][pJob],"Name",PlayerInfo[playerid][pName]);
    mysql_SetInt("accounts", "FraktionsLeader", PlayerInfo[playerid][pFraktionsLeader], "Name", PlayerInfo[playerid][pName]);
    mysql_SetInt("accounts", "FraktionsMember", PlayerInfo[playerid][pFraktionsMember], "Name", PlayerInfo[playerid][pName]);
    mysql_SetInt("accounts", "FraktionsRange", PlayerInfo[playerid][pFraktionsRange], "Name", PlayerInfo[playerid][pName]);
    mysql_SetInt("accounts", "AdminLevel", PlayerInfo[playerid][pAdminLevel], "Name", PlayerInfo[playerid][pName]);
    mysql_SetFloat("accounts", "Health", PlayerInfo[playerid][pHealth], "Name", PlayerInfo[playerid][pName]);
    mysql_SetInt("accounts", "Autoschein", PlayerInfo[playerid][pAutoschein], "Name", PlayerInfo[playerid][pName]);
    mysql_SetInt("accounts", "Motorradschein", PlayerInfo[playerid][pMotorradschein], "Name", PlayerInfo[playerid][pName]);
    mysql_SetInt("accounts", "LKWschein", PlayerInfo[playerid][pLKWschein], "Name", PlayerInfo[playerid][pName]);
    mysql_SetInt("accounts", "Bootschein", PlayerInfo[playerid][pBootschein], "Name", PlayerInfo[playerid][pName]);
    mysql_SetInt("accounts", "pWaffenschein", PlayerInfo[playerid][pWaffenschein], "Name", PlayerInfo[playerid][pName]);
    mysql_SetInt("accounts", "pAngelschein", PlayerInfo[playerid][pAngelschein], "Name", PlayerInfo[playerid][pName]);
    mysql_SetInt("accounts", "Bann",PlayerInfo[playerid][pBanned],"Name",PlayerInfo[playerid][pName]);
    mysql_SetInt("accounts", "TimeBan",PlayerInfo[playerid][pTimeBanned],"Name",PlayerInfo[playerid][pName]);
    }
    }
    return 1;
    }


    hir bistte schön

    Kann mir jemand sagen wie ich ds mach das man /lock(und auch /lock zum aufschlissen) nur im auto eingeben kann und wenn man das auto verlässt das dann ´das auto wieder offen ist und wenn man nicht im auto ist /carlock zum abschlissen des fahrzeuges eingeben muss