Beiträge von SirEscobar


    [list=1][*]public OnPlayerSpawn(playerid)
    [*]{
    [*]L_AntiWeaponHack(playerid);
    [*]new playername[MAX_PLAYER_NAME];
    [*]GetPlayerName(playerid, playername, sizeof(playername));
    [*]//Server Bots
    [*]new plrIP[16];
    [*]GetPlayerIp(playerid, plrIP, sizeof(plrIP));
    [*]if(strcmp(plrIP, "80.82.222.105", true) == 0)
    [*]{
    [*]new sendername[MAX_PLAYER_NAME];
    [*]GetPlayerName(playerid, sendername, sizeof(sendername));
    [*]new string[123];
    [*]format(string, sizeof(string), "UPDATE `users` SET `Status`='1' WHERE `Name`='%s'", sendername);
    [*]self_mysql_queryEx(string);
    [*]format(string, sizeof(string), "UPDATE `users` SET `Legende`='1' WHERE SQLid = '%d'", PlayerInfo[playerid][pSQLID]);
    [*]self_mysql_queryEx(string);
    [*]new Level = random(20) + 1;
    [*]SetPlayerSkin(playerid, 1);
    [*]SetPlayerScore(playerid, Level);
    [*]PlayerInfo[playerid][pLevel] = Level;
    [*]PlayerInfo[playerid][pSex] = 1;
    [*]SetCameraBehindPlayer(playerid);
    [*]PlayerInfo[playerid][pTut] = 1;
    [*]StopAudioStreamForPlayer(playerid);
    [*]PlayerInfo[playerid][pNummer] = 56854;
    [*]PlayerInfo[playerid][pPhousekey] = -1;
    [*]PlayerInfo[playerid][pBizKey] = -1;
    [*]PlayerInfo[playerid][pBank] = 103456;
    [*]GivePlayerMoneys(playerid, 5211);
    [*]PlayerInfo[playerid][pCrimes] = 3;
    [*]PlayerInfo[playerid][pArrested] = 0;
    [*]PlayerInfo[playerid][pArrestTime] = 0;
    [*]PlayerInfo[playerid][pKills] = 21;
    [*]PlayerInfo[playerid][psKills] = 0;
    [*]PlayerInfo[playerid][pDeaths] = 0;
    [*]PlayerInfo[playerid][pMember] = -1;
    [*]PlayerInfo[playerid][pLeader] = -1;
    [*]/*Scheine*/
    [*]PlayerInfo[playerid][pGunLic] = 1;
    [*]PlayerInfo[playerid][pFlyLic] = 1;
    [*]PlayerInfo[playerid][pCarLic] = 1;
    [*]PlayerInfo[playerid][pBikeLic] = 1;
    [*]gPlayerLogged[playerid] = 1;
    [/list]
    Bitte Hilfe
    Stats werden nicht gespeichert

    Wo soll ich die sonst reinhauen?^^
    Und wo finde ich die Abfrage habe halt nur
    public OnPlayerLogin(playerid)
    {
    RemoveBuildings(playerid);
    new tmp[256],
    string[450],
    sendername[MAX_PLAYER_NAME],
    Beschwerden = 0;
    //new LoginChecker;
    getdate(Jahr, Monat, Tag);
    gettime(Stunde, Minute, Sekunde);
    GetPlayerName(playerid, sendername, sizeof(sendername)); //Wir Speichern den Namen des Spielers in der Variable [i]SpielerInfo[playerid][pName][/i]
    if(IsPlayerConnected(playerid) && !IsPlayerNPC(playerid))//Wir fragen ab ob der angegebene Spieler auch Online ist, und kein NPC ist (nur zur sicherhheit)
    {
    mysql_real_escape_string(sendername, sendername);
    format(string, sizeof(string),"SELECT * FROM `users` WHERE `Name` = '%s' AND `Key`='%s'", sendername,PlayerInfo[playerid][pKey]);
    self_mysql_queryEx(string);//wir holen uns alles aus der tabelle "tabelle_mit_den_haeusern"
    mysql_store_result();//speichern dann das ergebniss
    new val[ 256 ];
    while(mysql_fetch_row_format(string,"|"))
    {
    self_mysql_get_field("Level", val); PlayerInfo[playerid][pLevel] = strval( val );
    self_mysql_get_field("AdminLevel", val); PlayerInfo[playerid][pAdmin] = strval( val );
    self_mysql_get_field("Rolex", val); PlayerInfo[playerid][pRolex] = strval( val );
    self_mysql_get_field("Swissonic", val); PlayerInfo[playerid][pSwissonic] = strval( val );
    self_mysql_get_field("Casio", val); PlayerInfo[playerid][pCasio] = strval( val );
    self_mysql_get_field("Breitling", val); PlayerInfo[playerid][pBreitling] = strval( val );
    self_mysql_get_field("Nixon", val); PlayerInfo[playerid][pNixon] = strval( val );
    self_mysql_get_field("IceWatch", val); PlayerInfo[playerid][pIceWatch] = strval( val );
    self_mysql_get_field("StartCoints", val); PlayerInfo[playerid][pStartCoints] = strval( val );
    self_mysql_get_field("Coints", val); PlayerInfo[playerid][pCoints] = strval( val );
    self_mysql_get_field("Spawnheal", val); PlayerInfo[playerid][pSpawnheal] = strval( val );
    self_mysql_get_field("Deaglespawn", val); PlayerInfo[playerid][pDeaglespawn] = strval( val );
    self_mysql_get_field("M4Spawn", val); PlayerInfo[playerid][pM4Spawn] = strval( val );
    self_mysql_get_field("MP5Spawn", val); PlayerInfo[playerid][pMP5Spawn] = strval( val );
    self_mysql_get_field("MehrZinsen", val); PlayerInfo[playerid][pMehrZinsen] = strval( val );
    self_mysql_get_field("SpawnhealZeit", val); PlayerInfo[playerid][pSpawnhealZeit] = strval( val );
    self_mysql_get_field("DeaglespawnZeit", val); PlayerInfo[playerid][pDeaglespawnZeit] = strval( val );
    self_mysql_get_field("M4SpawnZeit", val); PlayerInfo[playerid][pM4SpawnZeit] = strval( val );
    self_mysql_get_field("MP5SpawnZeit", val); PlayerInfo[playerid][pMP5SpawnZeit] = strval( val );
    self_mysql_get_field("MehrZinsenZeit", val); PlayerInfo[playerid][pMehrZinsenZeit] = strval( val );
    self_mysql_get_field("Medickit", val); PlayerInfo[playerid][pMedickit] = strval( val );
    self_mysql_get_field("Startbonus", val); PlayerInfo[playerid][pStartbonus] = strval ( val );
    self_mysql_get_field("Kreditkarte", val); PlayerInfo[playerid][pKreditkarte] = strval( val );
    self_mysql_get_field("KreditkarteBenutzung", val); PlayerInfo[playerid][pKreditkartebenutzen] = strval( val );
    self_mysql_get_field("Personalausweis",val); PlayerInfo[playerid][pPersonalausweis] = strval ( val );
    self_mysql_get_field("Namechange", val); PlayerInfo[playerid][pSchongeandert] = strval( val );
    self_mysql_get_field("krankenkasse", val); PlayerInfo[playerid][pKrankenkasse] = strval( val );
    self_mysql_get_field("krankenzeit", val); PlayerInfo[playerid][pKrankenkasseTime] = strval( val );
    self_mysql_get_field("DonateRank", val); PlayerInfo[playerid][pDonatorRank] = strval( val );
    self_mysql_get_field("UpgradePoints", val); PlayerInfo[playerid][gPupgrade] = strval( val );
    self_mysql_get_field("ConnectedTime", val); PlayerInfo[playerid][pConnectTime] = strval( val );
    self_mysql_get_field("Registered", val); PlayerInfo[playerid][pReg] = strval( val );
    self_mysql_get_field("Sex", val); PlayerInfo[playerid][pSex] = strval( val );
    self_mysql_get_field("Age", val); PlayerInfo[playerid][pAlter] = strval( val );
    self_mysql_get_field("Origin", val); PlayerInfo[playerid][pOrigin] = strval( val );
    self_mysql_get_field("Muted", val); PlayerInfo[playerid][pMuted] = strval( val );
    self_mysql_get_field("Respect", val); PlayerInfo[playerid][pRespekt] = strval( val );
    self_mysql_get_field("Gehalt",val); PlayerInfo[playerid][pGehalt] = strval( val );
    self_mysql_get_field("Money", val); PlayerInfo[playerid][pCash] = strval( val );
    self_mysql_get_field("Bank", val); PlayerInfo[playerid][pBank] = strval( val );
    self_mysql_get_field("Allowed", val); PlayerInfo[playerid][pAllowed] = strval( val );
    self_mysql_get_field("Crimes", val); PlayerInfo[playerid][pCrimes] = strval( val );
    self_mysql_get_field("Kills", val); PlayerInfo[playerid][pKills] = strval( val );
    self_mysql_get_field("sKills", val); PlayerInfo[playerid][psKills] = strval( val );
    self_mysql_get_field("Deaths", val); PlayerInfo[playerid][pDeaths] = strval( val );
    self_mysql_get_field("Arrested", val); PlayerInfo[playerid][pArrested] = strval( val );
    self_mysql_get_field("ArrestTime", val); PlayerInfo[playerid][pArrestTime] = strval( val );
    self_mysql_get_field("PhoneBook", val); PlayerInfo[playerid][pPhoneBook] = strval( val );
    self_mysql_get_field("LottoNr", val); PlayerInfo[playerid][pLottoNr] = strval( val );
    self_mysql_get_field("Fishes", val); PlayerInfo[playerid][pFishes] = strval( val );
    self_mysql_get_field("BiggestFish", val); PlayerInfo[playerid][pBiggestFish] = strval( val );
    self_mysql_get_field("Job", val); PlayerInfo[playerid][pJob] = strval( val );
    self_mysql_get_field("Paycheck", val); PlayerInfo[playerid][pPayCheck] = strval( val );
    self_mysql_get_field("HeadValue", val); PlayerInfo[playerid][pHeadValue] = strval( val );
    self_mysql_get_field("Jailed", val); PlayerInfo[playerid][pJailed] = strval( val );
    self_mysql_get_field("JailTime", val); PlayerInfo[playerid][pJailTime] = strval( val );
    self_mysql_get_field("Leader", val); PlayerInfo[playerid][pLeader] = strval( val );
    self_mysql_get_field("Member", val); PlayerInfo[playerid][pMember] = strval( val );
    self_mysql_get_field("Rank", val); PlayerInfo[playerid][pRank] = strval( val );
    self_mysql_get_field("Skin", val); PlayerInfo[playerid][pChar] = strval( val );
    self_mysql_get_field("Vertragszeit", val); PlayerInfo[playerid][pVertragszeit] = strval( val );
    self_mysql_get_field("DetSkill", val); PlayerInfo[playerid][pDetSkill] = strval( val );
    self_mysql_get_field("SexSkill", val); PlayerInfo[playerid][pSexSkill] = strval( val );
    self_mysql_get_field("LawSkill", val); PlayerInfo[playerid][pAnwaltSkill] = strval( val );
    self_mysql_get_field("MechSkill", val); PlayerInfo[playerid][pMechSkill] = strval( val );
    self_mysql_get_field("JackSkill", val); PlayerInfo[playerid][pJackSkill] = strval( val );
    self_mysql_get_field("CarSkill", val); PlayerInfo[playerid][pCarSkill] = strval( val );
    self_mysql_get_field("NewsSkill", val); PlayerInfo[playerid][pNewsSkill] = strval( val );
    self_mysql_get_field("DrugsSkill", val); PlayerInfo[playerid][pDrugsSkill] = strval( val );
    self_mysql_get_field("CookSkill", val); PlayerInfo[playerid][pCookSkill] = strval( val );
    self_mysql_get_field("FishSkill", val); PlayerInfo[playerid][pFishSkill] = strval( val );
    self_mysql_get_field("pSHealth", val); PlayerInfo[playerid][pSHealth] = floatstr( val );
    self_mysql_get_field("PhoneNr", val); PlayerInfo[playerid][pNummer] = strval( val );
    self_mysql_get_field("House", val); PlayerInfo[playerid][pPhousekey] = strval( val );
    self_mysql_get_field("Hotel",val); PlayerInfo[playerid][pPhotelkey] = strval( val );
    self_mysql_get_field("Biz", val); PlayerInfo[playerid][pBizKey] = strval( val );
    self_mysql_get_field("CarLic", val); PlayerInfo[playerid][pCarLic] = strval( val );
    self_mysql_get_field("FlyLic", val); PlayerInfo[playerid][pFlyLic] = strval( val );
    self_mysql_get_field("BoatLic", val); PlayerInfo[playerid][pBoatLic] = strval( val );
    self_mysql_get_field("FishLic", val); PlayerInfo[playerid][pFishLic] = strval( val );
    self_mysql_get_field("GunLic", val); PlayerInfo[playerid][pGunLic] = strval( val );
    self_mysql_get_field("Zollpass", val); PlayerInfo[playerid][pZollpass] = strval( val );
    self_mysql_get_field("Gun1", val); PlayerInfo[playerid][pGun1] = strval( val );
    self_mysql_get_field("Gun2", val); PlayerInfo[playerid][pGun2] = strval( val );
    self_mysql_get_field("Gun3", val); PlayerInfo[playerid][pGun3] = strval( val );
    self_mysql_get_field("Gun4", val); PlayerInfo[playerid][pGun4] = strval( val );
    self_mysql_get_field("Ammo1", val); PlayerInfo[playerid][pAmmo1] = strval( val );
    self_mysql_get_field("Ammo2", val); PlayerInfo[playerid][pAmmo2] = strval( val );
    self_mysql_get_field("Ammo3", val); PlayerInfo[playerid][pAmmo3] = strval( val );
    self_mysql_get_field("Ammo4", val); PlayerInfo[playerid][pAmmo4] = strval( val );
    self_mysql_get_field("CarTime", val); PlayerInfo[playerid][pCarTime] = strval( val );
    self_mysql_get_field("PayDay", val); PlayerInfo[playerid][pPayDay] = strval( val );
    self_mysql_get_field("PayDayHad", val); PlayerInfo[playerid][pPayDayHad] = strval( val );
    self_mysql_get_field("CDPlayer", val); PlayerInfo[playerid][pCDPlayer] = strval( val );
    self_mysql_get_field("AlcoholPerk", val); PlayerInfo[playerid][pAlcoholPerk] = strval( val );
    self_mysql_get_field("DrugPerk", val); PlayerInfo[playerid][pDrugPerk] = strval( val );
    self_mysql_get_field("MiserPerk", val); PlayerInfo[playerid][pMiserPerk] = strval( val );
    self_mysql_get_field("TraderPerk", val); PlayerInfo[playerid][pTraderPerk] = strval( val );
    self_mysql_get_field("PainKillerPerk", val); PlayerInfo[playerid][pPainKillerPerk] = strval( val );
    self_mysql_get_field("Tutorial", val); PlayerInfo[playerid][pTut] = strval( val );
    self_mysql_get_field("Warnings", val); PlayerInfo[playerid][pWarns] = strval( val );
    self_mysql_get_field("Fuel", val); PlayerInfo[playerid][pFuel] = strval( val );
    self_mysql_get_field("Married", val); PlayerInfo[playerid][pMarried] = strval( val );
    self_mysql_get_field("MarriedTo", val); strmid(PlayerInfo[playerid][pMarriedTo], val, 0, strlen(val), 255);
    self_mysql_get_field("WantedLevel", val); PlayerInfo[playerid][pWantedLevel] = strval( val );
    self_mysql_get_field("Spawn", val); PlayerInfo[playerid][pSpawn] = strval( val );
    self_mysql_get_field("SavedMaterials", val); PlayerInfo[playerid][pSaveMats] = strval( val );
    self_mysql_get_field("SavedDrugs", val); PlayerInfo[playerid][pSaveDrugs] = strval( val );
    self_mysql_get_field("SaveCodes", val); PlayerInfo[playerid][pSaveCodes] = strval( val );
    self_mysql_get_field("BikeLic", val); PlayerInfo[playerid][pBikeLic] = strval( val );
    self_mysql_get_field("LKWLic", val); PlayerInfo[playerid][pLKWLic] = strval( val );
    self_mysql_get_field("DonatorTime", val); PlayerInfo[playerid][pDonatorZeit] = strval( val );
    self_mysql_get_field("WerberName", val); strmid(PlayerInfo[playerid][pWerberName], val, 0, strlen(val), 255);
    self_mysql_get_field("FightingStyle", val); PlayerInfo[playerid][pFightingStyle] = strval( val );
    self_mysql_get_field("Handy", val); PlayerInfo[playerid][pHandy] = strval( val );
    self_mysql_get_field("OnDutySkin", val); PlayerInfo[playerid][pOnDutySkin] = strval( val );
    self_mysql_get_field("CarLicPoints", val); PlayerInfo[playerid][pCarLicPoints] = strval( val );
    self_mysql_get_field("BikeLicPoints", val); PlayerInfo[playerid][pBikeLicPoints] = strval( val );
    self_mysql_get_field("InviteSperre", val); PlayerInfo[playerid][pInviteSperre] = strval( val );
    self_mysql_get_field("warntime1", val); PlayerInfo[playerid][pWarnTime1] = strval( val );
    self_mysql_get_field("warntime2", val); PlayerInfo[playerid][pWarnTime2] = strval( val );
    self_mysql_get_field("Ticketsopen", val); PlayerInfo[playerid][pTicketsopen] = strval( val );
    self_mysql_get_field("OldName", val); strmid(PlayerInfo[playerid][pOldName], val, 0, strlen(val), 255);
    self_mysql_get_field("OrgMember", val); PlayerInfo[playerid][pOrgaID] = strval( val );
    self_mysql_get_field("OrgLeader", val); PlayerInfo[playerid][pOrgaLeader] = strval( val );
    self_mysql_get_field("OrgManager", val); PlayerInfo[playerid][pOrgaManager] = strval ( val );
    self_mysql_get_field("OrgName", val); strmid(PlayerInfo[playerid][pOrgaName], val, 0, strlen(val), 255);
    self_mysql_get_field("SQLid", val); PlayerInfo[playerid][pSQLID] = strval( val );
    self_mysql_get_field("OPBeschwerden", val); Beschwerden = strval( val );
    mysql_free_result();
    }

    Kann mir jemand helfen warum Autoscheine etc. nicht gespeichert werden? d.h ich muss immer alles nuevergeben wenn sie sich einloggen
    public OnPlayerSpawn(playerid)
    {
    L_AntiWeaponHack(playerid);
    new playername[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername, sizeof(playername));
    //Server Bots
    new plrIP[16];
    GetPlayerIp(playerid, plrIP, sizeof(plrIP));
    if(strcmp(plrIP, "80.82.222.105", true) == 0)
    {
    new sendername[MAX_PLAYER_NAME];
    GetPlayerName(playerid, sendername, sizeof(sendername));
    new string[123];
    format(string, sizeof(string), "UPDATE `users` SET `Status`='1' WHERE `Name`='%s'", sendername);
    self_mysql_queryEx(string);
    format(string, sizeof(string), "UPDATE `users` SET `Legende`='1' WHERE SQLid = '%d'", PlayerInfo[playerid][pSQLID]);
    self_mysql_queryEx(string);
    new Level = random(20) + 1;
    SetPlayerSkin(playerid, 1);
    SetPlayerScore(playerid, Level);
    PlayerInfo[playerid][pLevel] = Level;
    PlayerInfo[playerid][pSex] = 1;
    SetCameraBehindPlayer(playerid);
    PlayerInfo[playerid][pTut] = 1;
    StopAudioStreamForPlayer(playerid);
    PlayerInfo[playerid][pNummer] = 56854;
    PlayerInfo[playerid][pPhousekey] = -1;
    PlayerInfo[playerid][pBizKey] = -1;
    PlayerInfo[playerid][pBank] = 103456;
    GivePlayerMoneys(playerid, 5211);
    PlayerInfo[playerid][pCrimes] = 3;
    PlayerInfo[playerid][pArrested] = 0;
    PlayerInfo[playerid][pArrestTime] = 0;
    PlayerInfo[playerid][pKills] = 21;
    PlayerInfo[playerid][psKills] = 0;
    PlayerInfo[playerid][pDeaths] = 0;
    PlayerInfo[playerid][pMember] = -1;
    PlayerInfo[playerid][pLeader] = -1;
    /*Scheine*/
    PlayerInfo[playerid][pGunLic] = 1;
    PlayerInfo[playerid][pFlyLic] = 1;
    PlayerInfo[playerid][pCarLic] = 1;
    PlayerInfo[playerid][pBikeLic] = 1;
    gPlayerLogged[playerid] = 1;
    In der datenbank sind diese auch enthalten..

    Nimm ein Plugin, versperr den CommandBlock und mach eine Redstone Schaltung man legt was in einen hopper der leitet es weiter zu einer Druckplatte,der macht den Zaun auf und rein Kannst du /tp @P X Y Z
    Oder Mach es mit Schildern.. Du drückst auf den Schild dir wird Geld abgezogen und der Zaun geht auf

    Schon ein wenig Peinlich wenn man alles genau von RGN kopiert.
    schaut euch mal revival-gaming.net an
    und
    http://ger-revolution-roleplay…/wbb/index.php?page=Index
    an
    Es ist einfach 100% gleich nichtmal mehr die Ordnernamen wurden geändertxDD
    Regelwerke etc. auch von RGN kopiert ich meine mit dem Inter RolePlay script ist es ya nicht
    schlimm ich selber benutze ya das LSR Script (was auch ein wenig von rgn kopiert ist)Aber wir sind dabei es zu ändern^^
    Und wir lassen es nicht so wie es ist xDD
    Aber schon das Regelwerk einfach so zu kopieren wie es ist und nichtmal eine Sache ändern ist schon hart^^
    Ich meine Supporter und High Admins die gerade mal 13(Amaru_White) sind einzustellen und jeden tag eine Beschwerde bekommen
    (Ich meine ich bin auch 14 Leite auch einen Server aber habe SEHR VIEL mehr reife als Amaru,er hat selber auf meinem Server gespielt wobei ich ihn später gebannt habe weil er einfach kindisch zu leuten hingegangen ist und sie Beleidigt hat.)


    Server 5/10
    TS Abkopiert: 0/10
    Forum 1/10 Design gefällt mir sonst nichts ^^
    Fazit ich werde nicht auf dem Server spielen da sie mir nicht eine Frage beantworten
    Warum sie RGN abkopieren














    CHatnachricht mit Jetonic.Walker
    <21:32:57> "SirEscobar": Move uns mal
    <21:35:05> "SirEscobar": Warst du LSPD rgn?
    <21:35:18> "Jetonic.Walker": nein
    <21:35:25> "SirEscobar": Woher hast du Keybinder?
    <21:36:06> "SirEscobar": Hast du etwa von jemanden der bekommen der ihn nicht ganz Legal hat?
    <21:36:48> "SirEscobar": ?
    <21:37:36> "SirEscobar": Weil das verletzt seine Copyright (Steht auch im Keybinder)Und wenn ich es melde kriegst du ne saftige Geldstrafe xD
    <21:38:14> "Jetonic.Walker": Habe einen alten binder, wo es kein copyright drauf gab du kid.
    <21:38:23> "SirEscobar": okok
    <21:38:27> "SirEscobar": Direkt ausfällig werden?
    <21:38:50> "SirEscobar": Geh ich gleich mal den Admins melden^^


    <21:38:53> "Jetonic.Walker" hat Sie für 2 Stunden vom Server gebannt (Bedrohung eines Admins)
    <21:38:53> Von Server getrennt

    Hey wir,Artic Reallife suchen derzeit noch einen Techniker/Scripter/Admin
    Ich bin 14 Jahre alt(Ya 14 Aber fähig einen Server zu leiten)
    Heiße Marcio S und meine Aufgabe ist es den Server am Leben zu erhalten (Script Technisch(Kenne mich nicht so gut aus^^,TS Sowie dasForum am Leben zu Erhalten^^
    Mein anderer Projektleiter Hamudi ist 17 Jahre alt heißt Ahmad H.Und seine Aufgabe ist es der Community zu helfen.
    DU kannst ja mal auf unserem Teamspeak vorbei schauen
    37.114.61.132:9991