Beiträge von ScriptTv
-
-
Sry aber du musst den Code hier posten.
-
posten den code dazu damit man helfen kann
-
Sry das ich ein kleiner noob bin mit photoshop, sry das ich überhaupt versuch zu lernen.
-
Guten Morgen.
Ich würde gerne mal meine erste Ranggrafik zeigen.
Es ist zwar nur eine einfache Variante aber da ich mich nicht aus kenne damit finde ich es gut gelungen meines gefühls nach.
-
Ich habe mir folgendes Plugin insterliert: wbb.elite.multi
-
Guten Morgen
Ich habe nun Google benutzt hier in Breadfish gesucht und sogar bei WBB selbst geschaut wie man die Grafiken der Ränge ändern kann.
Das problem ist einfach ich weiß nicht mals wieso es im verzeichnis wcf/icon keine ränge abgebildet werden und somit kann ich nichts machen.
Neue Ranggrafiken lassen sich nicht einspiel und ich weiß auch nicht wie ich das nun machen soll -
Guten Morgen Breadfish-Community
Suche jemanden der ein SWTOR-Design machen kann für meine Gilde Vipers. Wir spielen auf der Imperialen Seite.
Es soll zum Imperium passen und modern wirken. -
Geh Heute zu ihm nach Hause und frag ob er da ist. Dann geht ihr in das Zimmer von Ihm und fangt an zu reden. Sag ihm das du "NICHT AUF FRAUEN" stehst so bekommst du eine last von den Schultern. Die andere Last die noch wäre halt das "Angebliche Liebe" ich habe das auch von einer Guten Freundin gedacht aber 1-2Wochen war es weg.
Ich sage nur noch:
"Wer nicht Wagt der nicht Gewinnt" "No Risk, No Fun"
-
Hier einmal das PlayerUpdate:
Code
Alles anzeigenPUBLIC:PlayerUpdate(playerid) { if(IsPlayerConnected(playerid)) { if(IsPlayerNPC(playerid)) { return 1; } new playername[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername, sizeof(playername)); new endstring[1600]; new var[129]; new Float: p[4]; GetPlayerPos(playerid, p[0], p[1], p[2]); GetPlayerFacingAngle(playerid, p[3]); format(endstring, sizeof(endstring), "UPDATE `users` SET "); format(var, sizeof(var), "`Level`='%d', ", PlayerInfo[playerid][pLevel]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`AdminLevel`='%d', ", PlayerInfo[playerid][pAdmin]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Checkpoint`='%d', ", CCP[playerid]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`CPrison`='%d', ", xPrison[playerid]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`RunningCP`='%d', ", RunningCP[playerid]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`TeamRadar`='%d', ", TeamRadar[playerid]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`BNDRadar`='%d', ", BNDRadar[playerid]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Rolex`='%d', ", PlayerInfo[playerid][pRolex]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Swissonic`='%d', ", PlayerInfo[playerid][pSwissonic]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Casio`='%d', ", PlayerInfo[playerid][pCasio]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Breitling`='%d', ", PlayerInfo[playerid][pBreitling]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Nixon`='%d', ", PlayerInfo[playerid][pNixon]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`IceWatch`='%d', ", PlayerInfo[playerid][pIceWatch]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`StartCoints`='%d', ", PlayerInfo[playerid][pStartCoints]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Coints`='%d', ", PlayerInfo[playerid][pCoints]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`SpawnhealZeit`='%d', ", PlayerInfo[playerid][pSpawnhealZeit]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`DeaglespawnZeit`='%d', ", PlayerInfo[playerid][pDeaglespawnZeit]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`M4SpawnZeit`='%d', ", PlayerInfo[playerid][pM4SpawnZeit]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`MP5SpawnZeit`='%d', ", PlayerInfo[playerid][pMP5SpawnZeit]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`MehrZinsenZeit`='%d', ", PlayerInfo[playerid][pMehrZinsenZeit]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Medickit`='%d', ", PlayerInfo[playerid][pMedickit]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Startbonus`='%d', ", PlayerInfo[playerid][pStartbonus]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Kreditkarte`='%d', ", PlayerInfo[playerid][pKreditkarte]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`KreditkarteBenutzung`='%d', ", PlayerInfo[playerid][pKreditkartebenutzen]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Personalausweis`='%d', ", PlayerInfo[playerid][pPersonalausweis]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Namechange`='%d', ", PlayerInfo[playerid][pSchongeandert]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`DonateRank`='%d', ", PlayerInfo[playerid][pDonatorRank]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`UpgradePoints`='%d', ", PlayerInfo[playerid][gPupgrade]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`ConnectedTime`='%d', ", PlayerInfo[playerid][pConnectTime]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Registered`='%d', ", PlayerInfo[playerid][pReg]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Sex`='%d', ", PlayerInfo[playerid][pSex]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Age`='%d', ", PlayerInfo[playerid][pAlter]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Origin`='%d', ", PlayerInfo[playerid][pOrigin]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Muted`='%d', ", PlayerInfo[playerid][pMuted]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Respect`='%d', ", PlayerInfo[playerid][pRespekt]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Gehalt`='%d', ", PlayerInfo[playerid][pGehalt]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Money`='%d', ", PlayerInfo[playerid][pCash]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Bank`='%d', ", PlayerInfo[playerid][pBank]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Jobgeld`='%d', ", PlayerInfo[playerid][pJobLohn]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Crimes`='%d', ", PlayerInfo[playerid][pCrimes]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Kills`='%d', ", PlayerInfo[playerid][pKills]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`sKills`='%d', ", PlayerInfo[playerid][psKills]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Deaths`='%d', ", PlayerInfo[playerid][pDeaths]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Arrested`='%d', ", PlayerInfo[playerid][pArrested]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`ArrestTime`='%d', ", PlayerInfo[playerid][pArrestTime]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`PhoneBook`='%d', ", PlayerInfo[playerid][pPhoneBook]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`LottoNr`='%d', ", PlayerInfo[playerid][pLottoNr]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Fishes`='%d', ", PlayerInfo[playerid][pFishes]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`BiggestFish`='%d', ", PlayerInfo[playerid][pBiggestFish]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Job`='%d'", PlayerInfo[playerid][pJob]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), " WHERE `Name`='%s'", playername); strcat(endstring, var, sizeof(endstring)); self_mysql_queryEx(endstring); format(endstring, sizeof(endstring), "UPDATE `users` SET "); format(var, sizeof(var), "`HeadValue`='%d', ", PlayerInfo[playerid][pHeadValue]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Jailed`='%d', ", PlayerInfo[playerid][pJailed]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`JailTime`='%d', ", PlayerInfo[playerid][pJailTime]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Leader`='%d', ", PlayerInfo[playerid][pLeader]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Member`='%d', ", PlayerInfo[playerid][pMember]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Rank`='%d', ", PlayerInfo[playerid][pRank]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Skin`='%d', ", PlayerInfo[playerid][pChar]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Vertragszeit`='%d'", PlayerInfo[playerid][pVertragszeit]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), " WHERE `Name`='%s'", playername); strcat(endstring, var, sizeof(endstring)); self_mysql_queryEx(endstring); format(endstring, sizeof(endstring), "UPDATE `users` SET "); format(var, sizeof(var), "`NewsSkill`='%d', ", PlayerInfo[playerid][pNewsSkill]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`House`='%d', ", PlayerInfo[playerid][pHaus]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Mieten`='%d', ", PlayerInfo[playerid][pMieten]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`HealPaket`='%d', ", PlayerInfo[playerid][pHealPaket]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`ArmourPaket`='%d', ", PlayerInfo[playerid][pArmourPaket]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`WaffenPaket`='%d', ", PlayerInfo[playerid][pWaffenPaket]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`OverHealPaket`='%d', ", PlayerInfo[playerid][pOverHealPaket]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`FishSkill`='%d', ", PlayerInfo[playerid][pFishSkill]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`MechSkill`='%d', ", PlayerInfo[playerid][pMechSkill]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`pSHealth`='%.1f', ", PlayerInfo[playerid][pSHealth]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`PhoneNr`='%d', ", PlayerInfo[playerid][pNummer]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Hotel`='%d', ", PlayerInfo[playerid][pPhotelkey]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Biz`='%d', ", PlayerInfo[playerid][pBizKey]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`CarLic`='%d', ", PlayerInfo[playerid][pCarLic]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`FlyLic`='%d', ", PlayerInfo[playerid][pFlyLic]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`BoatLic`='%d', ", PlayerInfo[playerid][pBoatLic]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`FishLic`='%d', ", PlayerInfo[playerid][pFishLic]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`GunLic`='%d', ", PlayerInfo[playerid][pGunLic]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Zollpass`='%d'", PlayerInfo[playerid][pZollpass]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), " WHERE `Name`='%s'", playername); strcat(endstring, var, sizeof(endstring)); self_mysql_queryEx(endstring); format(endstring, sizeof(endstring), "UPDATE `users` SET "); format(var, sizeof(var), "`Gun1`='%d', ", PlayerInfo[playerid][pGun1]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Gun2`='%d', ", PlayerInfo[playerid][pGun2]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Gun3`='%d', ", PlayerInfo[playerid][pGun3]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Gun4`='%d', ", PlayerInfo[playerid][pGun4]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Ammo1`='%d', ", PlayerInfo[playerid][pAmmo1]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Ammo2`='%d', ", PlayerInfo[playerid][pAmmo2]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Ammo3`='%d', ", PlayerInfo[playerid][pAmmo3]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Ammo4`='%d', ", PlayerInfo[playerid][pAmmo4]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`CarTime`='%d', ", PlayerInfo[playerid][pCarTime]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`PayDay`='%d', ", PlayerInfo[playerid][pPayDay]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`PayDayHad`='%d', ", PlayerInfo[playerid][pPayDayHad]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`CDPlayer`='%d', ", PlayerInfo[playerid][pCDPlayer]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`AlcoholPerk`='%d', ", PlayerInfo[playerid][pAlcoholPerk]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`PainKillerPerk`='%d', ", PlayerInfo[playerid][pPainKillerPerk]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`PistolSkill`='%d', ", PlayerInfo[playerid][pPistolSkill]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`MaschinePistolSkill`='%d', ", PlayerInfo[playerid][pMaschinePistolSkill]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`SturmgewehrPistolSkill`='%d', ", PlayerInfo[playerid][pSturmgewehrPistolSkill]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`ShotGunSkill`='%d', ", PlayerInfo[playerid][pShotGunSkill]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`DrugPerk`='%d', ", PlayerInfo[playerid][pDrugPerk]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`MiserPerk`='%d', ", PlayerInfo[playerid][pMiserPerk]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`TraderPerk`='%d', ", PlayerInfo[playerid][pTraderPerk]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Tutorial`='%d', ", PlayerInfo[playerid][pTut]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Cptut`='%d', ", PlayerInfo[playerid][pCPTUT]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`kh`='%d', ", PlayerInfo[playerid][pKHTIME]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Warnings`='%d'", PlayerInfo[playerid][pWarns]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), " WHERE `Name`='%s'", playername); strcat(endstring, var, sizeof(endstring)); self_mysql_queryEx(endstring); format(endstring, sizeof(endstring), "UPDATE `users` SET "); format(var, sizeof(var), "`Fuel`='%d', ", PlayerInfo[playerid][pFuel]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Married`='%d', ", PlayerInfo[playerid][pMarried]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`MarriedTo`='%s', ", PlayerInfo[playerid][pMarriedTo]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`WantedLevel`='%d', ", PlayerInfo[playerid][pWantedLevel]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Spawn`='%d', ", PlayerInfo[playerid][pSpawn]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`SavedMaterials`='%d', ", PlayerInfo[playerid][pSaveMats]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`SavedDrugs`='%d', ", PlayerInfo[playerid][pSaveDrugs]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`BikeLic`='%d', ", PlayerInfo[playerid][pBikeLic]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`LKWLic`='%d', ", PlayerInfo[playerid][pLKWLic]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`DonatorTime`='%d', ", PlayerInfo[playerid][pDonatorZeit]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`WerberName`='%s', ", PlayerInfo[playerid][pWerberName]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`FightingStyle`='%d', ", PlayerInfo[playerid][pFightingStyle]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Handy`='%d'", PlayerInfo[playerid][pHandy]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), " WHERE `Name`='%s'", playername); strcat(endstring, var, sizeof(endstring)); self_mysql_queryEx(endstring); format(endstring, sizeof(endstring), "UPDATE `users` SET "); format(var, sizeof(var), "`OnDutySkin`='%d', ", PlayerInfo[playerid][pOnDutySkin]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`CarLicPoints`='%d', ", PlayerInfo[playerid][pCarLicPoints]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`BikeLicPoints`='%d', ", PlayerInfo[playerid][pBikeLicPoints]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`InviteSperre`='%d', ", PlayerInfo[playerid][pInviteSperre]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`warntime1`='%d', ", PlayerInfo[playerid][pWarnTime1]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`warntime2`='%d', ", PlayerInfo[playerid][pWarnTime2]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`Ticketsopen`='%d', ", PlayerInfo[playerid][pTicketsopen]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`DonatorTime`='%d', ", PlayerInfo[playerid][pDonatorZeit]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`OldName`='%s', ", PlayerInfo[playerid][pOldName]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`ClientIP`='%s', ", PlayerInfo[playerid][pUserIP]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`OrgMember`='%d', ", PlayerInfo[playerid][pOrgaID]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`OrgLeader`='%d', ", PlayerInfo[playerid][pOrgaLeader]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`OrgManager`='%d', ", PlayerInfo[playerid][pOrgaManager]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), "`OrgName`='%s'", PlayerInfo[playerid][pOrgaName]); strcat(endstring, var, sizeof(endstring)); format(var, sizeof(var), " WHERE `Name`='%s'", playername); strcat(endstring, var, sizeof(endstring)); self_mysql_queryEx(endstring); } return 1; }
und wo Playerupdate noch drin ist:
Register: 53 Zeile
Code
Alles anzeigenPUBLIC:OnPlayerRegister(playerid, password[]) { StuffInfo[sNeuUser] += 1; if(IsPlayerConnected(playerid)) { new string[128], playername[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername, sizeof(playername)); strmid(PlayerInfo[playerid][pKey], password, 0, strlen(password), 255); format(string, sizeof(string), "INSERT INTO `users` (`Name`, `Password`) VALUES ('%s', '%s')", playername, GeneratePassword(password)); self_mysql_queryEx(string); PlayerInfo[playerid][pSQLID] = mysql_insert_id(); format(string, sizeof(string), "UPDATE `users` SET `RegisterDatum`='%d' WHERE `Name`='%s'", Time(), playername); self_mysql_queryEx(string); PlayerInfo[playerid][pChar] = 26; gOoc[playerid] = 0; PlayerInfo[playerid][pReg] = 1; PlayerInfo[playerid][pAlter] = 0; PlayerInfo[playerid][pTut] = 0; PlayerInfo[playerid][pLevel] = 1; PlayerInfo[playerid][pSHealth] = 50.0; StuffInfo[sLastNumber] += 1; PlayerInfo[playerid][pNummer] = StuffInfo[sLastNumber]; PlayerInfo[playerid][pBizKey] = -1; PlayerInfo[playerid][pBank] = 0; GivePlayerMoneys(playerid, 5000); PlayerInfo[playerid][pCrimes] = 0; PlayerInfo[playerid][pArrested] = 0; PlayerInfo[playerid][pArrestTime] = 0; PlayerInfo[playerid][pKills] = 0; PlayerInfo[playerid][psKills] = 0; PlayerInfo[playerid][pDeaths] = 0; PlayerInfo[playerid][pMember] = -1; PlayerInfo[playerid][pLeader] = -1; PlayerInfo[playerid][pOnDutySkin] = 60; PlayerInfo[playerid][pPistolSkill] = 2; PlayerInfo[playerid][pMaschinePistolSkill] = 2; PlayerInfo[playerid][pSturmgewehrPistolSkill] = 2; PlayerInfo[playerid][pShotGunSkill] = 1; /*Scheine*/ PlayerInfo[playerid][pGunLic] = 0; PlayerInfo[playerid][pFlyLic] = 0; PlayerInfo[playerid][pCarLic] = 0; PlayerInfo[playerid][pBikeLic] = 0; PlayerInfo[playerid][pCPTUT] = 0; PlayerInfo[playerid][pKHTIME] = 0; PlayerUpdate(playerid); } return 1; }
Speicher Spieler: Zeile 11
Code
Alles anzeigenPUBLIC:SavePlayers() { new checkTime = GetTickCount(); ForAllPlayers(i){ if(IsPlayerConnected(i) && gPlayerLogged[i] >= 1 && !IsPlayerNPC(i)){ if(strcmp(PlayerInfo[i][pForceName], "Niemand", true) != 0) { SetPlayerName(i,PlayerInfo[i][pForceName]); SetPlayerScore(i, PlayerInfo[i][pLevel]); } PlayerUpdate(i); PlayerCarUpdate(i); } } printf("Spielers wurden in %dms gespeichert.", (GetTickCount() - checkTime)); return 1; }
OnPlayerDisconnect: Zeile 62
Code
Alles anzeigenpublic OnPlayerDisconnect(playerid, reason) { PlayerInfo[playerid][pStatus] = 0; if(TradeCars[playerid][tTradeTo] != 0) { new pID = TradeCars[playerid][tTradeTo]; if(IsPlayerConnected(pID)) { new str[256]; format(str, 256, "Dein Fahrzeughandel mit %s wurde abgebrochen!", GetName(playerid)); SendClientMessage(pID, COLOR_LIGHTRED, str); } TradeCars[playerid][tCarKey] = 0; TradeCars[playerid][tTradeTo] = 0; TradeCars[playerid][tPrice] = 0; } if(IsValidVehicle(Neulingsroller[playerid])) { DestroyVehicle(Neulingsroller[playerid]); Neulingsroller[playerid] = -1; } for(new i = 0; i < MaxBlitzer; i++) { if(Blitzer[i][Erstellt] == 1 && Blitzer[i][bFraktion] == (PlayerInfo[playerid][pLeader] <= 0 ? PlayerInfo[playerid][pMember] : PlayerInfo[playerid][pLeader])) { Blitzer[i][BlPunkte] = 0; Blitzer[i][BlMoney] = 0; Blitzer[i][Erstellt] = 0; Blitzer[i][BlitzerX] = 0.0; Blitzer[i][BlitzerY] = 0.0; Blitzer[i][BlitzerZ] = 0.0; Blitzer[i][bFraktion] = 0; Blitzer[i][Object] = DestroyDynamicObject(Blitzer[i][Object]); } } ShotCounter[playerid][24] = 0; ShotCounter[playerid][29] = 0; ShotCounter[playerid][31] = 0; iRunterholen[playerid] = -1; ibeladen[playerid] = -1; bWichsen[playerid] = false; DestroyObject(weedObject[playerid]); Delete3DTextLabel(weedLabel[playerid]); KillTimer(timeridx[playerid]); bDisableArrestMessage[playerid] = false; KillTimer(presenttimer[playerid]); new sendername[MAX_PLAYER_NAME],string[128]; GetPlayerName(playerid, sendername, sizeof(sendername)); ForAllPlayers(i){ if(WantedLabel[playerid][i] != -1){ DeletePlayer3DTextLabel(i, WantedLabelCool[WantedLabel[playerid][i]]); WantedLabel[playerid][i] = -1; } if(WantedLabel[i][playerid] != -1) { DeletePlayer3DTextLabel(playerid, WantedLabelCool[WantedLabel[i][playerid]]); WantedLabel[i][playerid] = -1; } } if(gPlayerLogged[playerid] == 1 && PlayerInfo[playerid][pTut] == 1) { format(string, sizeof(string), "UPDATE `users` SET `Status`='0' WHERE `Name`='%s'", sendername); mysql_query(string); PlayerUpdate(playerid); PlayerCarUpdate(playerid); PlayerCarDisconnect(playerid); SaveUberweisungen(playerid); if(PlayerInfo[playerid][pChar] == -1) { new Skin1 = random(11); switch(Skin1) { case 1: PlayerInfo[playerid][pChar] = 78; case 2: PlayerInfo[playerid][pChar] = 79; case 3: PlayerInfo[playerid][pChar] = 77; case 4: PlayerInfo[playerid][pChar] = 134; case 5: PlayerInfo[playerid][pChar] = 135; case 6: PlayerInfo[playerid][pChar] = 159; case 7: PlayerInfo[playerid][pChar] = 162; case 8: PlayerInfo[playerid][pChar] = 168; case 9: PlayerInfo[playerid][pChar] = 200; case 10: PlayerInfo[playerid][pChar] = 212; case 11: PlayerInfo[playerid][pChar] = 213; } } if(PlayerInfo[playerid][pWantedLevel] > 0 && PlayerInfo[playerid][pJailed] != 2) { if(WantedLoseAllow[playerid] > 0) { AddPickup(playerid, GetPlayerVirtualWorld(playerid), WantedLoseAllow[playerid]*60+90, reason, sendername); } else { //AddPickup(playerid, GetPlayerVirtualWorld(playerid), 90, reason, sendername); AddPickup(playerid, GetPlayerVirtualWorld(playerid), 30, reason, sendername); } } else { AddPickup(playerid, GetPlayerVirtualWorld(playerid), 30, reason, sendername); } } PlayerInfo[playerid][pMeldunggekommen] = 0; ResetPlayerWeapons(playerid); if(!IsPlayerNPC(playerid)) { UsersOnline--; } PlayerInfo[playerid][pWheelmangerufen] = 0; RemovePlayer(playerid); for(new g = 0; g < sizeof(GangfightSystemInfo); g++){ if(GangfightSystemInfo[g][GFCTFPlayer] == playerid){ GangfightSystemInfo[g][GFCTFPlayer] = -1; GangfightSystemInfo[g][GFCTFTimer] = 0; GangfightSystemInfo[g][GFOwnerCTF] = 0; GangfightSystemInfo[g][GFGegnerCTF] = 0; } } if(IsPlayerInAnyVehicle(playerid)) { new VEH = gLastCar[playerid]; if(Locked[VEH] == 1) { Locked[VEH] = 0; ForAllPlayers(i){SetVehicleParamsForPlayer(VEH,i, 0, 0);} } } if(MedicBillTimer[playerid] != -1) { KillTimer(MedicBillTimer[playerid]); MedicBillTimer[playerid] = -1; } if(LoginTimer[playerid] != -1) { KillTimer(LoginTimer[playerid]); LoginTimer[playerid] = -1; } if(IsPlayerNPC(playerid)) { new botname[MAX_PLAYER_NAME]; GetPlayerName(playerid, botname, sizeof(botname)); if(strcmp(botname, "Drogendealer", true) == 0) { ConnectNPC("Drogendealer","none"); } else if(strcmp(botname, "Coinshop", true) == 0) { ConnectNPC("Coinshop","none"); } else if(strcmp(botname, "Stadthalle", true) == 0) { ConnectNPC("Stadthalle","none"); } else if(strcmp(botname, "Mitarbeiter", true) == 0) { ConnectNPC("Mitarbeiter","none"); } else if(strcmp(botname, "BSN", true) == 0) { ConnectNPC("BSN","none"); } else if(strcmp(botname, "Dimitri", true) == 0) { ConnectNPC("Dimitri","none"); } else if(strcmp(botname, "Manfred", true) == 0) { ConnectNPC("Manfred","none"); } else if(strcmp(botname, "Nico", true) == 0) { ConnectNPC("Nico","none"); } } KillTimer(PlayerInfo[playerid][pBaggerTimer]); if(Supportercar[playerid] != -1) { DestroyVehicleSelfmade(Supportercar[playerid]); } if(strcmp(PlayerInfo[playerid][pForceName], "Niemand", true) != 0) { SetPlayerName(playerid,PlayerInfo[playerid][pForceName]); } if(SpawnKillAktiv[playerid] == 1) { SpawnKillAktiv[playerid] = 0; Delete3DTextLabel(Text3D:SpawnKillLabel[playerid]); } if(IsPlayerAttachedObjectSlotUsed(playerid, 1)) RemovePlayerAttachedObject(playerid, 1); if(!IsPlayerNPC(playerid)) { UsersOnline--; } AFKModus[playerid] = 0; //Leave Message new zone[MAX_ZONE_NAME]; GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME); switch(reason) { case 0: format(string, sizeof(string), "%s [ID: %d] hat ein Timeout in %s.",sendername,playerid,zone); case 1: format(string, sizeof(string), "%s [ID: %d] hat den Server verlassen.",sendername,playerid); case 2: format(string, sizeof(string), "%s [ID: %d] wurde gekickt/gebannt.",sendername,playerid); } //Leave Message Ende for(new i = 0; i < MAX_PLAYERS; i++){ if(WantedLabel[playerid][i] != -1){ DeletePlayer3DTextLabel(i, WantedLabelCool[WantedLabel[playerid][i]]); WantedLabel[playerid][i] = -1; } if(WantedLabel[i][playerid] != -1) { DeletePlayer3DTextLabel(playerid, WantedLabelCool[WantedLabel[i][playerid]]); WantedLabel[i][playerid] = -1; } PayMoney[i][playerid] = 0; PayMoney[playerid][i] = 0; if(IsPlayerConnected(i)) { //Leave Message Senden if(TogLoginLogout[i] == 0 && gPlayerLogged[playerid] == 1) SendClientMessage(i, COLOR_ORANGE, string); //Leave Message Senden Ende if(TaxiAccepted[i] < 999) { if(TaxiAccepted[i] == playerid) { TaxiAccepted[i] = 999; GameTextForPlayer(i, "~w~Taxianrufer~n~~r~hat den Server verlassen", 5000, 1); TaxiCallTime[i] = 0; DisablePlayerCheckpoint(i); } } else if(BusAccepted[i] < 999) { if(BusAccepted[i] == playerid) { BusAccepted[i] = 999; GameTextForPlayer(i, "~w~DeinKunde ist~n~~r~hat den Server verlassen", 5000, 1); BusCallTime[i] = 0; DisablePlayerCheckpoint(i); } } if(GoChase[i] == playerid) { SendClientMessage(i, COLOR_YELLOW, "Dein Auftrag hat den Server verlassen."); GoChase[i] = -1; } if(MedicAccepted[i] == playerid) { SendClientMessage(i, COLOR_YELLOW, "Dein Patient hat den Server verlassen."); MedicAccepted[i] = -1; } if(WhelAccepted[i] == playerid) { SendClientMessage(i, COLOR_YELLOW, "Dein kunde hat sich ausgeloggt."); WhelAccepted[i] = -1; } if(PlayerInfo[i][pTeam] == 8) { ContractTaked[i] = 0; ContractTaked[GoChase[i]] = 0; } } if(GetPlayerState(i) == PLAYER_STATE_SPECTATING) { if(Spectate[i] == playerid) { Spectate[i] = -1; TogglePlayerSpectating(i,false); SetPlayerSpawn(i); }}} for(new mc = 0; mc < 10; mc++){ if(MedCalls[mc][McAktive] == 1){ if(MedCalls[mc][McErstellerID] == playerid){ MedCalls[mc][McTime] = 0; MedCalls[mc][McAktive] = 0; MedCalls[mc][McErstellerID] = -1; break; }}} if(AnrufAktiv[playerid] == 1){ AnrufAktiv[playerid] = -1; AnrifErsteller[playerid] = -1; Anruftimer[playerid] = 0; } for(new wh = 0; wh < 10; wh++){ if(WhelCalls[wh][WhAktive] == 1){ if(WhelCalls[wh][WhErstellerID] == playerid){ WhelCalls[wh][WhTime] = 0; WhelCalls[wh][WhAktive] = 0; WhelCalls[wh][WhErstellerID] = -1; break; }}} for(new i = 0; i < sizeof(KorierVans); i++){ if(KorierVans[i][KRVermietet] == 1){ if(KorierVans[i][KRMieterID] == playerid){ MustCarRefuel(KorierVans[i][KRMieterID], KorierVans[i][KRVehicle]); KorierVans[i][KRVermietet] = 0; KorierVans[i][KRMieterID] = -1; KorierVans[i][KRZiehlHaus] = -1; break; }}} PlayerInfo[playerid][pMats] = 0; PlayerInfo[playerid][pDrugs] = 0; for(new gf = 0; gf < sizeof(GangfightSystemInfo); gf++) { if(IsPlayerInArea(playerid, GangfightSystemInfo[gf][MinX],GangfightSystemInfo[gf][MinY],GangfightSystemInfo[gf][MaxX],GangfightSystemInfo[gf][MaxY])) { if(GangfightSystemInfo[gf][GFOwnerID] == PlayerInfo[playerid][pTeam] || GangfightSystemInfo[gf][GFGegnerID] == PlayerInfo[playerid][pTeam]) { if(reason == 0 || reason == 2) { if(GangfightSystemInfo[gf][GFOwnerID] == PlayerInfo[playerid][pTeam]) { GangfightSystemInfo[gf][GFGegnerPoints] += 1; } if(GangfightSystemInfo[gf][GFGegnerID] == PlayerInfo[playerid][pTeam]) { GangfightSystemInfo[gf][GFOwnerPoints] += 1; } } else { new Float:health; GetPlayerHealth(playerid,health); if(health < 50) { if(GangfightSystemInfo[gf][GFOwnerID] == PlayerInfo[playerid][pTeam]) { GangfightSystemInfo[gf][GFGegnerPoints] += 2; } if(GangfightSystemInfo[gf][GFGegnerID] == PlayerInfo[playerid][pTeam]) { GangfightSystemInfo[gf][GFOwnerPoints] += 2; } } } } } } if(FallAngenommen[playerid] != -1) { format(string, sizeof(string), "Dein Rechtsanwalt %s hat den Server verlassen.", sendername); SendClientMessage(FallAngenommen[playerid], COLOR_YELLOW, string); FallAngenommenAnwalt[FallAngenommen[playerid]] = -1; FallAngenommen[playerid] = -1; } if(FallAngenommenAnwalt[playerid] != -1) { format(string, sizeof(string), "Mandant %s hat den Server verlassen.", sendername); SendClientMessage(FallAngenommenAnwalt[playerid], COLOR_YELLOW, string); FallAngenommenTimer[FallAngenommenAnwalt[playerid]] = 0; FallAngenommen[FallAngenommenAnwalt[playerid]] = -1; FallAngenommenAnwalt[playerid] = -1; } if(WantedHackZeit[playerid] > 0) { SendCopMessage(COLOR_RADIO, "Funk: Der Hackversuch wurde abgebrochen. {FF0000}(Coder ausgeloggt)"); } if(PlayerInfo[playerid][pTruckHaengerID] != -1) { DestroyVehicleSelfmade(PlayerInfo[playerid][pTruckHaengerID]); } if(PlayerTeamPaintballing[playerid] != 0) { if(PlayerTeamPaintballing[playerid] == 1) { Team1User--; } if(PlayerTeamPaintballing[playerid] == 2) { Team2User--; } } if(PlayerTied[playerid] == 1 && IsPlayerInAnyVehicle(playerid)) { PlayerInfo[playerid][pJailed] = 2; PlayerInfo[playerid][pJailTime] += 3600; format(string, sizeof(string), ">> %s hat Offline-Flucht begangen, er kommt für 60 Minuten ins Prison <<", sendername); ProxDetector(30.0, playerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW); format(string, sizeof(string), "{FFFF00}%s, Zeit: 60, von: SERVERGUARD ,Grund: Offlineflucht bei /tie.", sendername); UserAkte(PlayerInfo[playerid][pSQLID], string); } if(PlayerInfo[playerid][pImRaub] == 1) { SendClientMessageToAll(COLOR_LIGHTBLUE, "Geiselnahme gescheitert."); format(string, sizeof(string), "Der Geiselnehmer %s hat sich ausgeloggt.",sendername); SendClientMessageToAll(COLOR_LIGHTBLUE, string); } if(PlayerInfo[playerid][pBankrob] == 1) { SendClientMessageToAll(COLOR_LIGHTBLUE, "Der Bankraub ist gescheitert."); format(string, sizeof(string), "Der Räuber %s hat den Server verlassen.",sendername); SendClientMessageToAll(COLOR_LIGHTBLUE, string); BizInfo[2][bLocked] = 0; BizInfo[7][bLocked] = 0; BizInfo[16][bLocked] = 0; BizInfo[2][bChanged] = true; BizInfo[7][bChanged] = true; BizInfo[16][bChanged] = true; BankrobStatus = 0; for(new i=0; i<MAX_PLAYER_ATTACHED_OBJECTS; i++) { RemovePlayerAttachedObject(playerid, i); } } if(TicketSys[playerid][TSAdminID] != -1) { format(string, sizeof(string), ">>> %s hat sich ausgeloggt. Das Supportticket wurde automatisch gelöscht!", sendername); SendClientMessage(TicketSys[playerid][TSAdminID], COLOR_YELLOW, string); TicketSys[TicketSys[playerid][TSAdminID]][TSUserID] = -1; TicketsUpdate(); } if(TicketSys[playerid][TSUserID] != -1) { format(string, sizeof(string), ">>> %s hat sich ausgeloggt, bitte warte bis sich ein anderer Admin/Supporter dein Supportticket bearbeitet.", sendername); SendClientMessage(TicketSys[playerid][TSUserID], COLOR_YELLOW, string); TicketSys[TicketSys[playerid][TSUserID]][TSAdminID] = -1; TicketSys[TicketSys[playerid][TSUserID]][TSStatus] = 2; ForAllPlayers(i){ if(PlayerInfo[i][pAdmin] >= 1){ format(string, sizeof(string), "[Ticket]: Das Ticket von %s wurde mit dem Grund {A80000}Supporter/Admin %s ausgeloggt {FFFF00}freigegeben.",SpielerName(TicketSys[playerid][TSUserID]),SpielerName(TicketSys[TicketSys[playerid][TSUserID]][TSAdminID])); SendClientMessage(i, COLOR_YELLOW, string); } } //strmid(TicketSys[TicketSys[playerid][TSUserID]][TSGrund], "Admin/Sup ausgeloggt", 0, strlen("Admin/Sup ausgeloggt"), 255); TicketsUpdate(); } if(TransportCost[playerid] > 0 && TransportDriver[playerid] < 999) { if(IsPlayerConnected(TransportDriver[playerid])) { TransportMoney[TransportDriver[playerid]] += TransportCost[playerid]; TransportTime[TransportDriver[playerid]] = 0; TransportCost[TransportDriver[playerid]] = 0; format(string, sizeof(string), "~w~Passenger left~n~~g~Earned $%d",TransportCost[playerid]); GameTextForPlayer(TransportDriver[playerid], string, 5000, 1); } } if(PlayerPaintballing[playerid] != 0) { PaintballPlayers --; } if(PlayerKarting[playerid] > 0 && PlayerInKart[playerid] > 0) { KartingPlayers --; } if(TransportDuty[playerid] == 1) { TaxiDrivers -= 1; } else if(TransportDuty[playerid] == 2) { BusDrivers -= 1; } return 1; }
-
kann man bei domainssaubillig.de auch lastschrift machen?
Markus von Signaltransmitter würde lastschrifft bei euch gehen könnte ich auch wieder was bestellen aber leider ist der Warrenkorb ja gesperrt
-
Ich suche ein Anbieter der maximal bis 1€ geht
-
@
Copyright. hast du überhaupt meins GELSEN?
FÜR DICH JETZT NOCH MAL MIT GROß ROT UND FETT:"ICH HABE MIT SIGNALTRANSMITTER SCHLECHTE ERFAHRUNG GEMACHT"
-
Ich hab leider schlechte erfahrung gemacht
-
Wie mein Titel des Beitrages schon sagt suche ein günstigen Anbieter für Topleveldomains
-
Hole dir lieber den SAMP-MAP-CONSTRUCTION damit kannst du sogar die Objecte direkt löschen im editor und es wird zu ein RemoveObject
-
-
downloadlink fehlt noch
-
Guten Morgen
Ich bin mir nicht sicher ob es jetzt ein Ladefehler oder Speicherfehler ist:
Hier die cods fürs Laden und Speichern:
C
Alles anzeigenstock LoadPlayer(playerid) { SetPlayerColor(playerid, COLOR_GRAD1); new playername[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername, sizeof(playername)); PlayerInfo[playerid][pModel] = 264; AddPlayer(playerid); gPlayerLogged[playerid] = 0; new playerip[256]; GetPlayerIp(playerid,playerip,sizeof(playerip)); strmid(PlayerInfo[playerid][pUserIP], playerip, 0, strlen(playerip), 255); Logintime[playerid] = -1; if(!IsPlayerNPC(playerid)) UsersOnline++; MaxVeh[playerid] = 3; CarKey[playerid] = 0; gPlayerUsingLoopingAnim[playerid] = 0; gPlayerAnimLibsPreloaded[playerid] = 0; PortedTimer[playerid] = 0; SetPVarInt(playerid, "PVTeam", -1); SetPVarInt(playerid, "PVAdmin", 0); SetPVarInt(playerid, "PVJob", 0); currentHouse[playerid] = -1; FirstSpawnAfterLogin[playerid] = 0; PlayerInfo[playerid][pIsearch] = 0; SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); CellTime[playerid] = 0; Mobile[playerid] = -1; RingTone[playerid] = 0; Uberweisungsid[playerid] = -1; Tot[playerid] = 0; SelectChar[playerid] = 0; HidePM[playerid] = 0; PhoneOnline[playerid] = 0; SelectCharID[playerid] = 0; SelectCharPlace[playerid] = 0; ChosenSkin[playerid] = 0; GettingJob[playerid] = 0; AllowTune[playerid] = -1; RobTimer[playerid] = -1; AntiRobTimer[playerid] = 0; TeamRadar[playerid] = 0; BNDRadar[playerid] = 0; MullManOwned[playerid] = -1; TutCP[playerid] = 0; CallLawyer[playerid] = 0; WantLawyer[playerid] = 0; NoDmTimer[playerid] = 0; NoDmWarnungen[playerid] = 0; UsedFind[playerid] = 0; Eisgekauft[playerid] = 0; CP[playerid] = 0; MoneyMessage[playerid] = 0; Condom[playerid] = 0; HitSound[playerid] = 1; //ACode[playerid] = 0; STDPlayer[playerid] = 0; RepairOffer[playerid] = -1; RepairPrice[playerid] = 0; VertragOffer[playerid] = -1; Supportercar[playerid] = -1; TalkingLive[playerid] = 255; LiveOffer[playerid] = 999; HealProds[playerid] = 0; KitPrice[playerid] = -1; LessonOffer[playerid] = -1; LessonPrice[playerid] = 0; TakingLesson[playerid] = 0; Bergwerkarbeit[playerid] = 0; RefillOffer[playerid] = -1; RefillPrice[playerid] = 0; MapIconsShown[playerid] = 0; HotdogOffer[playerid] = -1; HotdogPrice[playerid] = 0; HealPrice[playerid] = -1; PlayerHeal[playerid] = -1; HealOffer[playerid] = -1; BlowJob[playerid] = -1; KitOffer[playerid] = -1; UnDrugs[playerid] = 0; PlayerCuffed[playerid] = 0; PlayerCuffedTime[playerid] = 0; PlayerTied[playerid] = 0; Detektivschutz[playerid] = 0; RegistrationStep[playerid] = 0; ConnectedToPC[playerid] = 0; JailPrice[playerid] = 0; MedicBill[playerid] = -1; MedicBillTimer[playerid] = -1; LoginTimer[playerid] = -1; Handyraubtimer[playerid] = -1; GoChase[playerid] = -1; ContractTaked[playerid] = 0; Maske[playerid] = 0; OrderReady[playerid] = 0; PlacedNews[playerid] = 0; OnDuty[playerid] = 0; TestFishes[playerid] = 0; EventEingeladen[playerid] = 0; TransportDuty[playerid] = 0; BusCallTime[playerid] = 0; TaxiCallTime[playerid] = 0; MedicAccepted[playerid] = -1; WhelAccepted[playerid] = -1; MechanicCallTime[playerid] = 0; TobyPoints[playerid] = 0; FindTimePoints[playerid] = 0; TobyTime[playerid] = 0; FindTime[playerid] = 0; JobDuty[playerid] = 0; Mobile[playerid] = -1; Music[playerid] = 0; Spectate[playerid] = -1; PlayerDrunkTime[playerid] = 0; WheelmanAccepted[playerid] = -1; HaveDonuts[playerid] = 0; EatDonutAktive[playerid] = 0; PilotenDuty[playerid] = 0; Route[playerid] = 0; Angekommen[playerid] = 0; Geladen[playerid] = 0; LadeGeld[playerid] = 0; GeldStatus[playerid] = 0; Busdienst[playerid] = 0; Orten[playerid] = 0; Runterholen[playerid] = 0; ContractSperre[playerid] = 0; gLastCar[playerid] = 0; WantedLoseAllow[playerid] = 0; SpawnKillAktiv[playerid] = 0; gOoc[playerid] = 0; gNews[playerid] = 0; BigEar[playerid] = 0; gDice[playerid] = 0; gFam[playerid] = 0; TogAdminChat[playerid] = 0; TogLoginLogout[playerid] = 1; TogAdminMessage[playerid] = 1; gPlayerLogTries[playerid] = 0; gPlayerAccount[playerid] = 0; PlayerKarting[playerid] = 0; PlayerInKart[playerid] = 0; PlayerTazeTime[playerid] = 0; PlayerStoned[playerid] = 0; PlayerStonedTime[playerid] = 0; TicketOffer[playerid] = 999; TicketMoney[playerid] = 0; CodesHolding[playerid] = 0; TazerCan[playerid] = 0; MatsHolding[playerid] = 0; gPlayerMission[playerid] = 0; TaxiAccepted[playerid] = 999; BusAccepted[playerid] = 999; PlayerInfo[playerid][pCash] = 0; Blitzed[playerid] = 0; TransportValue[playerid] = 0; TransportMoney[playerid] = 0; WTransportMoney[playerid] = 0; TransportTime[playerid] = 0; TransportCost[playerid] = 0; TransportDriver[playerid] = 999; PlayerPaintballing[playerid] = 0; PlayerTeamPaintballing[playerid] = 0; PlayerPaintballKills[playerid] = 0; Fishes[playerid][pLastFish] = 0; Fishes[playerid][pFishID] = 0; FallAngenommen[playerid] = -1; FallAngenommenTimer[playerid] = 0; FallAngenommenAnwalt[playerid] = -1; ProposeOffer[playerid] = 999; MarryWitness[playerid] = 999; MarryWitnessOffer[playerid] = 999; MarriageCeremoney[playerid] = 0; ProposedTo[playerid] = 999; GotProposedBy[playerid] = 999; DivorceOffer[playerid] = 999; TotenOffer[playerid] = 999; InviteOffer[playerid] = -1; InviteTeam[playerid] = -1; AntiAFKCode[playerid] = 0; AntiAFKTime[playerid] = 0; AntiAFKTimer[playerid] = 0; AFKChecker[playerid] = -1; InviteOrgOffer[playerid] = -1; InviteOrgTeam[playerid] = -1; Kleidungsshop[playerid] = -1; AFKKick[playerid] = 0; PlayerInfo[playerid][pJoinhaben] = 0; AFKModus[playerid] = 0; JobFreeze[playerid] = 0; Weedkaufen[playerid] = 0; HotdogTime[playerid] = 0; //HotdogLager[playerid] = 0; TicketSys[playerid][TSAdminID] = -1; PlayerInfo[playerid][pLKWLic] = 0; TicketSys[playerid][TSUserID] = -1; PlayerInfo[playerid][CurrentPos][0] = 0; PlayerInfo[playerid][CurrentPos][1] = 0; PlayerInfo[playerid][CurrentPos][2] = 0; strmid(TicketSys[playerid][TSText], "------", 0, strlen("------"), 255); WantedHackZeit[playerid] = -1; HackArt[playerid] = 0; WantedHackKunde[playerid] = -1; ImPrison[playerid] = 0; ImCPPrison[playerid] = 0; HackAnzahl[playerid] = 0; DrugOffer[playerid] = 999; DrugPrice[playerid] = 0; DrogenGenommen[playerid] = 0; DrugGram[playerid] = 0; bietetAn[playerid]={-1,0}; Healsperre[playerid] = 0; SDPistol[playerid] = 0; Neumm[playerid] = 0; Deagle[playerid] = 0; MP5[playerid] = 0; Shotgun[playerid] = 0; AK47[playerid] = 0; M4[playerid] = 0; Rifle[playerid] = 0; GivePlayerMoneys(playerid,PlayerInfo[playerid][pCash]); PlayerInfo[playerid][pBerg] = 0; PlayerInfo[playerid][pWarimVersteck] = 0; PlayerInfo[playerid][pAufgabe1] = 0; PlayerInfo[playerid][pHatschon] = 0; PlayerInfo[playerid][pSchongeandert] = 0; PlayerInfo[playerid][pZigarette] = 0; PlayerInfo[playerid][pHatschon1] = 0; PlayerInfo[playerid][pAuftrag1] = 0; PlayerInfo[playerid][pAuftrag2] = 0; PlayerInfo[playerid][pAuftrag3] = 0; PlayerInfo[playerid][pAuftrag4] = 0; PlayerInfo[playerid][pAuftrag5] = 0; PlayerInfo[playerid][pAuftrag6] = 0; PlayerInfo[playerid][pAuftrag7] = 0; PlayerInfo[playerid][pAuftrag8] = 0; PlayerInfo[playerid][pAuftrag9] = 0; PlayerInfo[playerid][pLevel] = 0; PlayerInfo[playerid][pStatus] = 0 ; PlayerInfo[playerid][pAdmin] = 0; PlayerInfo[playerid][pStartbonus] = 0; PlayerInfo[playerid][pKreditkartebenutzen] = 0; PlayerInfo[playerid][pKreditkarte] = 0; PlayerInfo[playerid][pGebDatum] = 0; PlayerInfo[playerid][pPersonalausweis] = 0; PlayerInfo[playerid][pGewaschen] = 0; PlayerInfo[playerid][pAndreasLohn] = 0; PlayerInfo[playerid][pKartoffelnhaben] = 0; PlayerInfo[playerid][pKartoffelwaschen] = 0; PlayerInfo[playerid][pGehalt] = 0; PlayerInfo[playerid][pBanned] = 0; PlayerInfo[playerid][pGeldsack] = 0; PlayerInfo[playerid][pSchwul] = 0; PlayerInfo[playerid][pVerwarnung] = 0; PlayerInfo[playerid][sPfandflaschen] = 0; PlayerInfo[playerid][pJonnysagt] = 0; PlayerInfo[playerid][pAlexsagt] = 0; PlayerInfo[playerid][pGuntersagt] = 0; PlayerInfo[playerid][pDrogenSamen] = 0; PlayerInfo[playerid][pSchlagen] = 0; PlayerInfo[playerid][pBrecheisen] = 0; PlayerInfo[playerid][pReingegangen] = 0; PlayerInfo[playerid][pRausgegangen] = 0; PlayerInfo[playerid][pWheelmangerufen] = 0; PlayerInfo[playerid][pMedickit] = 0; PlayerInfo[playerid][pDonatorRank] = 0; PlayerInfo[playerid][gPupgrade] = 0; PlayerInfo[playerid][pConnectTime] = 0; PlayerInfo[playerid][pReg] = 0; PlayerInfo[playerid][pSex] = 0; PlayerInfo[playerid][pMeldunggekommen] = 0; PlayerInfo[playerid][pAlter] = 0; PlayerInfo[playerid][pOrigin] = 0; PlayerInfo[playerid][pRespekt] = 0; PlayerInfo[playerid][pBank] = 0; PlayerInfo[playerid][pJobLohn] = 0; PlayerInfo[playerid][pCrimes] = 0; PlayerInfo[playerid][pDeaths] = 0; PlayerInfo[playerid][pArrested] = 0; PlayerInfo[playerid][pArrestTime] = 0; PlayerInfo[playerid][pPhoneBook] = 0; PlayerInfo[playerid][pLottoNr] = 0; PlayerInfo[playerid][pFishes] = 0; PlayerInfo[playerid][pBiggestFish] = 0; PlayerInfo[playerid][pJob] = 0; PlayerInfo[playerid][pHeadValue] = 0; PlayerInfo[playerid][pJailed] = 0; PlayerInfo[playerid][pJailTime] = 0; PlayerInfo[playerid][pMats] = 0; PlayerInfo[playerid][pSaveMats] = 0; PlayerInfo[playerid][pDrugs] = 0;PlayerInfo[playerid][pSaveDrugs] = 0; PlayerInfo[playerid][pLeader] = -1; PlayerInfo[playerid][pMember] = -1; PlayerInfo[playerid][pRank] = 0; PlayerInfo[playerid][pVertragszeit] = 5; PlayerInfo[playerid][pWirdtot] = 0; PlayerInfo[playerid][pNewsSkill] = 0; PlayerInfo[playerid][pFishSkill] = 0; PlayerInfo[playerid][pSHealth] = 50.0; PlayerInfo[playerid][pLocal] = -1; PlayerInfo[playerid][pMuted] = 0; PlayerInfo[playerid][pCoints] = 0; PlayerInfo[playerid][pGeiselnahme] = 0; Geiselnahme[playerid] = -1; PlayerInfo[playerid][pBoatLic] = 0; PlayerInfo[playerid][pFishLic] = 0; PlayerInfo[playerid][pGunLic] = 0; PlayerInfo[playerid][pPistolSkill] = 0; PlayerInfo[playerid][pMaschinePistolSkill] = 0; PlayerInfo[playerid][pSturmgewehrPistolSkill] = 0; PlayerInfo[playerid][pShotGunSkill] = 0; PlayerInfo[playerid][pCarLicPoints] = 0; PlayerInfo[playerid][pBikeLicPoints] = 0; PlayerInfo[playerid][pZollpass] = 0; PlayerInfo[playerid][pGun1] = 0; PlayerInfo[playerid][pGun2] = 0; PlayerInfo[playerid][pGun3] = 0; PlayerInfo[playerid][pMechSkill] = 0; PlayerInfo[playerid][pGun4] = 0; PlayerInfo[playerid][pAmmo1] = 0; PlayerInfo[playerid][pAmmo2] = 0; PlayerInfo[playerid][pAmmo3] = 0; PlayerInfo[playerid][pAmmo4] = 0; PlayerInfo[playerid][pCarTime] = 0; PlayerInfo[playerid][pPayDay] = 0; PlayerInfo[playerid][pPayDayHad] = 0; PlayerInfo[playerid][pCDPlayer] = 0; PlayerInfo[playerid][pAlcoholPerk] = 0; PlayerInfo[playerid][pTeam] = -1; PlayerInfo[playerid][pNummer] = 0; PlayerInfo[playerid][pPhotelkey] = -1; PlayerInfo[playerid][pBizKey] = -1; PlayerInfo[playerid][pCarLic] = 0; PlayerInfo[playerid][pFlyLic] = 0; PlayerInfo[playerid][pPainKillerPerk] = 0; PlayerInfo[playerid][pDrugPerk] = 0; PlayerInfo[playerid][pMiserPerk] = 0; PlayerInfo[playerid][pTraderPerk] = 0; PlayerInfo[playerid][pWarns] = 0;PlayerInfo[playerid][pFuel] = 0; PlayerInfo[playerid][pWantedLevel] = 0; PlayerInfo[playerid][pAdminOnDuty] = 0; PlayerInfo[playerid][pHurensohn] = 0; PlayerInfo[playerid][pHandyRob] = 0; PlayerInfo[playerid][pBankrob] = 0; PlayerInfo[playerid][pInviteSperre] = 0; PlayerInfo[playerid][pWarnTime1] = 0; PlayerInfo[playerid][pWarnTime2] = 0; PlayerInfo[playerid][pImRaub] = 0; PlayerInfo[playerid][pTicketsopen] = 0; PlayerInfo[playerid][pSQLID] = -1; PlayerInfo[playerid][pHaus] = 0; PlayerInfo[playerid][pMieten] = 0; PlayerInfo[playerid][pRolex] = 0; PlayerInfo[playerid][pSwissonic] = 0; PlayerInfo[playerid][pCasio] = 0; PlayerInfo[playerid][pBreitling] = 0; PlayerInfo[playerid][pNixon] = 0; PlayerInfo[playerid][pIceWatch] = 0; PlayerInfo[playerid][pHealPaket] = 0; PlayerInfo[playerid][pOverHealPaket] = 0; PlayerInfo[playerid][pArmourPaket] = 0; PlayerInfo[playerid][pWaffenPaket] = 0; strmid(PlayerInfo[playerid][pWerberName], "Niemand", 0, strlen("Niemand"), 255); strmid(PlayerInfo[playerid][pForceName], "Niemand", 0, strlen("Niemand"), 255); strmid(PlayerInfo[playerid][pOldName], "Niemand", 0, strlen("Niemand"), 255); strmid(PlayerInfo[playerid][pOrgaName], "Keine", 0, strlen("Keine"), 255); PlayerInfo[playerid][pOrgaID] = -1; PlayerInfo[playerid][pOrgaLeader] = -1; PlayerInfo[playerid][pOrgaManager] = -1; PlayerInfo[playerid][pTut] = 0; PlayerInfo[playerid][pTruckHaengerID] = -1; PlayerInfo[playerid][pTHProdukte] = 0; PlayerInfo[playerid][pDonatorZeit] = 0; PlayerInfo[playerid][pFightingStyle] = 0; PlayerInfo[playerid][pHandy] = 0; PlayerInfo[playerid][pStartCoints] = 0; PlayerInfo[playerid][pOnDutySkin] = 60; PlayerInfo[playerid][pSpawnhealZeit] = 0; PlayerInfo[playerid][pDeaglespawnZeit] = 0; PlayerInfo[playerid][pM4SpawnZeit] = 0; PlayerInfo[playerid][pMP5SpawnZeit] = 0; PlayerInfo[playerid][pArmorSpawnZeit] = 0; PlayerInfo[playerid][pMehrZinsenZeit] = 0; ClearCrime(playerid); ClearFishes(playerid); ClearCooking(playerid); ClearGroceries(playerid); ClearMarriage(playerid); //Car System// for(new h = 0; h < MaxVeh[playerid]; h++){ Carlist[playerid][h][Typ]=-1; Carlist[playerid][h][pos_x]=0.0; Carlist[playerid][h][pos_y]=0.0; Carlist[playerid][h][pos_z]=0.0; Carlist[playerid][h][z_angle]=0.0; Carlist[playerid][h][Status]=0; Carlist[playerid][h][Lock]=0; Carlist[playerid][h][Carid]=-1; Carlist[playerid][h][Farbe1]=-1; Carlist[playerid][h][Farbe2]=-1; Carlist[playerid][h][mod1]=-1; Carlist[playerid][h][mod2]=-1; Carlist[playerid][h][mod3]=-1; Carlist[playerid][h][mod4]=-1; Carlist[playerid][h][mod5]=-1; Carlist[playerid][h][mod6]=-1; Carlist[playerid][h][mod7]=-1; Carlist[playerid][h][mod8]=-1; Carlist[playerid][h][mod9]=-1; Carlist[playerid][h][mod10]=-1; Carlist[playerid][h][mod11]=-1; Carlist[playerid][h][mod12]=-1; Carlist[playerid][h][mod13]=-1; Carlist[playerid][h][mod14]=-1; Carlist[playerid][h][mod15]=-1; Carlist[playerid][h][mod16]=-1; Carlist[playerid][h][mod17]=-1; Carlist[playerid][h][Paintjob]=-1; Carlist[playerid][h][OwnerID] = playerid; Carlist[playerid][h][SpawnSaveX]=0.0; Carlist[playerid][h][SpawnSaveY]=0.0; Carlist[playerid][h][SpawnSaveZ]=0.0; Carlist[playerid][h][SpawnSaveRot]=0.0; Carlist[playerid][h][TankVolumen]=0; Carlist[playerid][h][RepairTime] = 0; Carlist[playerid][h][Versicherung] = 0; Carlist[playerid][h][Abschleppzeit] = 0; Carlist[playerid][h][Meter] = 0; Carlist[playerid][h][Changed] = false; } PUBLIC:SavePlayers() { new checkTime = GetTickCount(); ForAllPlayers(i){ if(IsPlayerConnected(i) && gPlayerLogged[i] >= 1 && !IsPlayerNPC(i)){ if(strcmp(PlayerInfo[i][pForceName], "Niemand", true) != 0) { SetPlayerName(i,PlayerInfo[i][pForceName]); SetPlayerScore(i, PlayerInfo[i][pLevel]); } PlayerUpdate(i); PlayerCarUpdate(i); } } printf("Spielers wurden in %dms gespeichert.", (GetTickCount() - checkTime)); return 1; }
-
Wäre schön wenn du hier posten könntest was falsch war.