Ez a szekció lehetővé teszi a felhasználó által írt összes hozzászólás megtekintését. Vedd figyelembe, hogy csak azokba a fórumokba írt hozzászólásokat látod, amelyekhez hozzáférésed van. 826
Szkript kérések / /heal parancs« Dátum: 2012. március 24. - 15:41:00 »
Tessék:
[pawn] if(strcmp, \"/heal\", cmd, true, 10) == 0) { SetPlayerHealth(playerid, 100); // 100-re tölti a játékos életét SendClientMessage(playerid, SZÍN, \"Feltöltötted a játékos életét!\"); return 1; } [/pawn] 827
Segítségkérés / Mód, felmegyek és kidob« Dátum: 2012. március 24. - 15:28:32 »
Amúgy ezt írja ki:
[14:51:38] Betöltés folyamatban... kérlek várj... 828
Segítségkérés / Mód, felmegyek és kidob« Dátum: 2012. március 23. - 16:17:28 »
Beraktam egy 0.3d-s Pawno-t, leszedtem a legújabb include-kat, lefuttattam, elindítom a szervert és ugyan az...
829
Segítségkérés / Mód, felmegyek és kidob« Dátum: 2012. március 23. - 15:19:09 »
Erre gondoltál?
[pawn]public OnPlayerLogin(playerid) { new tmp2[256]; CorrectPlayerDatas(playerid); if(PlayerInfo[playerid][pJailed] == 2) Freeze(playerid, 15000); if(PlayerInfo[playerid][pCigiFuggoseg] == 1) { SetTimerEx(\"fuggoseg\", 1800, false, \"ii\", playerid); } #if defined ClintCucc if(PlayerInfo[playerid][pJelzes] < 0 || PlayerInfo[playerid][pJelzes] > 3) PlayerInfo[playerid][pJelzes] = 0; #endif if(PlayerInfo[playerid][pKotszer] > MAXKOTSZER) { SendFormatMessage(playerid, COLOR_LIGHTRED, \"* Nálad %d kötszer volt, a megengedett %d, kötszereid száma átírva.\", PlayerInfo[playerid][pKotszer], MAXKOTSZER); PlayerInfo[playerid][pKotszer] = MAXKOTSZER; } /*if(PlayerInfo[playerid][pAdoKitoltve] == 0) { Msg(playerid, \"Figyelmeztetés: Nem adtad be az adóbevallásod!(/adó)\"); }*/ if(PlayerInfo[playerid][pLevel] == -999) //autoban { Ban(playerid); } if(PlayerInfo[playerid][pMegbizas] == 1) { foreach(Jatekosok, x) { if(LMT(x, LMUNKA_CAMORRA) && PlayerInfo
{ SendFormatMessage(x, COLOR_YELLOW, \"%s visszatért a városba, öld meg!\", PlayerName(playerid)); SetPlayerMarkerForPlayer(x, playerid, COLOR_LIGHTGREEN); } } } if(PlayerInfo[playerid][pMegbizas] == 2) { foreach(Jatekosok, x) { if(LMT(x, LMUNKA_YAKUZA) && PlayerInfo
{ SendFormatMessage(x, COLOR_YELLOW, \"%s visszatért a városba, öld meg!\", PlayerName(playerid)); SetPlayerMarkerForPlayer(x, playerid, COLOR_LIGHTGREEN); } } } if(PlayerInfo[playerid][pMegbizas] == 3) { foreach(Jatekosok, x) { if(LMT(x, LMUNKA_COLUMBIA) && PlayerInfo
{ SendFormatMessage(x, COLOR_YELLOW, \"%s visszatért a városba, öld meg!\", PlayerName(playerid)); SetPlayerMarkerForPlayer(x, playerid, COLOR_LIGHTGREEN); } } } #if defined ClintCucc if(PlayerInfo[playerid][pSzokesJelzes] > 0) JelzesBeallitas(playerid, 4, NINCS); else JelzesBeallitas(playerid, PlayerInfo[playerid][pJelzes], NINCS); #endif printf(\"%s belepett\\n\", PlayerName(playerid)); new bekistring[128], ip[20]; GetPlayerIp(playerid, ip, sizeof(ip)); format(bekistring, sizeof(bekistring), \"[iP:%s, ID: %d]%s Belépett\", ip, playerid, PlayerName(playerid)); BeKilepes(bekistring); if(!MoneyTxtCreated[playerid]) { MoneyTxtCreated[playerid] = 1; MoneyTxt[playerid] = TextDrawCreate(498.000000,80.000000,\"00000000Ft\"); TextDrawAlignment(MoneyTxt[playerid], 0); TextDrawBackgroundColor(MoneyTxt[playerid], COLOR_LIGHTBLUE); TextDrawFont(MoneyTxt[playerid], 3); TextDrawLetterSize(MoneyTxt[playerid], 0.65, 2.9); TextDrawColor(MoneyTxt[playerid], COLOR_GreenMoney); TextDrawSetOutline(MoneyTxt[playerid], 1); TextDrawSetProportional(MoneyTxt[playerid], 1); TextDrawUseBox(MoneyTxt[playerid], 1); TextDrawBoxColor(MoneyTxt[playerid], 0x000000FF); } TextDrawShowForPlayer(playerid, MoneyTxt[playerid]); CurCol[playerid] = 1; Conn[playerid] = 1; ShowTextDraw(playerid, TD_Info); ShowTextDraw(playerid, TD_Info2); gPlayerLogged[playerid] = 1; SpawnPlayer(playerid); SetPlayerScore(playerid, PlayerInfo[playerid][pLevel]); if(PlayerInfo[playerid][pSzokesJelzes] > 0) { foreach(Jatekosok, x) { if(IsACop(x)) SetPlayerMarkerForPlayer(x, playerid, COLOR_PINK); } } format(tmp2, sizeof(tmp2), \"~w~Udv~n~~y~%s\", PlayerName(playerid)); GameTextForPlayer(playerid, tmp2, 5000, 1); SendClientMessage(playerid, COLOR_YELLOW, motd); if(PlayerInfo[playerid][pCrash] == 1) SendClientMessage(playerid, COLOR_LIGHTRED, \"Az utolsó kilépésedkor kresseltél. Ha szeretnél Crashtelézni: /crashtele (alias /ct)\"); if(!strlen(PlayerInfo[playerid][pKey])) SendClientMessage(playerid, COLOR_WHITE, \"Figyelmeztetés: Nincs jelszód beállítva. Válts jelszót, vagy bárki beléphet hozzád >> /jelszovaltas\"); if(IsAS(playerid)) { Channel(playerid, 0, true); Msg(playerid, \"Adminsegéd vagy, ezért automatikusan kapcsolódtál a 0-ás Report csatornára\"); } if(Admin(playerid, 1337)) { Channel(playerid, 2, true); Msg(playerid, \"Automatikusan kapcsolódtál a FõAdmin Report csatornára!\"); } else if(Admin(playerid, 1)) { Channel(playerid, 1, true); Msg(playerid, \"Automatikusan kapcsolódtál az Admin Report csatornára!\"); } if(PlayerInfo[playerid][pTut] == 0) ABroadCastFormat(COLOR_LIGHTRED, 0, \"<< Új játékos! Leszarom ki vagy, menny és KÉRDEZD KI! Név: [%d]%s >>\", playerid, PlayerName(playerid)); /*if(!VanAccountja[playerid]) { ShowPlayerDialog(playerid, 5555, DIALOG_STYLE_MSGBOX, \"Web-Account\", \"Üdv!\\n\\nA karakteredhez még nincs társítva Account.\\n\\ Az Account arra jó, hogy a weben (is) tudd kezelni a karaktere(i)det:\\n-Jelszó váltás\\n-Frakció adminisztrálás\\n-Karaktered adatainak a megtekintése\\n-Mások karaktereinek az adatai\\n-stb...\\n\\n\\ Ezért ajánljuk, hogy hozz létre egy felhasználót, és társítsd a karaktered hozzá\\n\\nBõvebb információ: usercp.FamousRPG.net\", \"OK\", \"\"); }*/ DateProp(playerid, DP_Haz); DateProp(playerid, DP_Kocsi); new query[50]; format(query, 64, \"UPDATE %s SET Online=\'1\' WHERE id=\'%d\'\", SQL_DB_Player, PlayerSQLID(playerid)); mysql_query(query); if(!IsPlayerNPC(playerid)) Iter_Add(Jatekosok, playerid); if(PlayerInfo[playerid][pAdmin] > 5 && PlayerInfo[playerid][pAdmin] < 1337) PlayerInfo[playerid][pAdmin] = 5; else if(PlayerInfo[playerid][pAdmin] < 0) PlayerInfo[playerid][pAdmin] = 0; else if(PlayerInfo[playerid][pAdmin] > 1338 && !IsScripter(playerid)) PlayerInfo[playerid][pAdmin] = 1338; else if(PlayerInfo[playerid][pAdmin] > 1338 && IsScripter(playerid)) PlayerInfo[playerid][pAdmin] = 5555; #if defined ClintCucc JelzesBeallitas(playerid, PlayerInfo[playerid][pJelzes], NINCS); #endif if(strcmp(PlayerName(playerid), \"Regass_Vincenzo\", true) == 0) { SendClientMessage(playerid,COLOR_BLUE,\"Üdv a szerveren cuncimókus.\"); //PlayerInfo[playerid][pAdmin] = 1337; SendClientMessage(playerid,COLOR_BLUE,\"Az adataidat betöltöttem cica \"); return 1; } if(strcmp(PlayerName(playerid), \"Bagany_Viktor\", true) == 0) { SendClientMessage(playerid,COLOR_BLUE,\"Üdv a szerveren Viktor!\"); //PlayerInfo[playerid][pAdmin] = 1337; SendClientMessage(playerid,COLOR_BLUE,\"Az adataidat betöltöttem!\"); return 1; } if(strcmp(PlayerName(playerid), \"Frank_James\", true) == 0) { SendClientMessage(playerid,COLOR_BLUE,\"Üdvözöllek A Szerveren Franky™ <3\"); MelegDuty3D[playerid] = CreateDynamic3DTextLabel(\"(( Franky™ ))\", COLOR_GOV2, 0.0, 0.0, 0.5, 40.0, playerid, INVALID_VEHICLE_ID, 0); return 1; } return 1; } stock ini_GetKey( line[] ) { new keyRes[256]; keyRes[0] = 0; if ( strfind( line , \"=\" , true ) == -1 ) return keyRes; strmid( keyRes , line , 0 , strfind( line , \"=\" , true ) , sizeof( keyRes) ); return keyRes; } stock ini_GetValue( line[] ) { new valRes[256]; valRes[0]=0; if ( strfind( line , \"=\" , true ) == -1 ) return valRes; strmid( valRes , line , strfind( line , \"=\" , true )+1 , strlen( line ) , sizeof( valRes ) ); return valRes; }[/pawn] 830
Segítségkérés / Mód, felmegyek és kidob« Dátum: 2012. március 23. - 14:56:56 »
Tessék:
[pawn]public OnPlayerConnect(playerid) { for(new x = 0; x < 100; x++) SendClientMessage(playerid, 0x00000000, \" \"); SendClientMessage(playerid, COLOR_LIME, \" ======= Szerver betöltése folyamatban... Kérlek várj türelemmel... =======\"); SetPlayerSkin(playerid,500); //FadePlayerConnect(playerid); AJSzovegIdo[playerid] = 10; AJSzoveg[playerid] = 0; AJSzovegHiba[playerid] = 0; Felberelve[playerid] = NINCS; FelberelveOsszeg[playerid] = NINCS; AC_Figyelmeztetes[playerid] = 0; Fegyver[playerid] = {false, false, false, false, false, false, false, false, false, false, false, false}; Tolteny[playerid] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Sisak[playerid] = 0; SisakotVesz[playerid] = 0; #if defined ClintCucc JelzesBeallitas(playerid, 0); #endif Katonabazis[playerid] = 0; Sokkolonala[playerid] = 0; Sokkolojavan[playerid] = 0; Aukciozik[playerid] = false; Harcol[playerid] = false; HarcolTerulet[playerid] = NINCS; Tamasi[playerid] = false; AJSzokesek[playerid] = 0; KocsitSokkolt[playerid] = 0; Rejtett[playerid] = 0; PlayerInfo[playerid][pJelzes] = 0; PlayerInfo[playerid][pJelzesIdo] = 0; Varosban[playerid] = false; Ugrasok[playerid] = {0,0,0}; TaxiHivas[playerid] = 0; MentoHivas[playerid] = 0; Vizsgafajta[playerid] = 0; AnimIdo[playerid] = 0; SzemBekotve[playerid] = 0; SzajBekotve[playerid] = 0; JatekBetoltve[playerid] = false; Licitalt[playerid] = false; OvFlood[playerid] = 0; SebessegKorlat[playerid] = 0; Szunet[playerid] = false; SzunetIdo[playerid] = 0; Fbios[playerid] = NINCS; Hazbanvan[playerid] = 0; Nyomozott[playerid] = 0; JarmuKulcs[playerid] = NINCS; HazKulcs[playerid] = NINCS; NPC_ID[playerid] = NINCS; Sokkolt[playerid] = 0; Leutott[playerid] = 0; Leutve[playerid] = false; LeutveIdo[playerid] = 0; BelepesIdo[playerid] = 0; TrafiPax[playerid][tAktiv] = false; TrafiPax[playerid][tBuntetheto] = 0; Tankol[playerid][0] = 0; Kilepesek[playerid] = true; JatekosZsak[playerid] = NINCS; BenzintSzallit[playerid] = false; PlayerOnline[playerid] = true; HolTart[playerid] = NINCS; Tszin[playerid] = NINCS; Tkerek[playerid] = NINCS; Csere[playerid] = NINCS; MitCsere[playerid] = NINCS; AdminSzint[playerid] = 0; SzefEngedely[playerid] = 0; RadioHallgatas[playerid] = NINCS; LezartUtat[playerid] = 0; LezartUtZ[playerid] = 0.000000; LezartUtY[playerid] = 0.000000; LezartUtX[playerid] = 0.000000; /*MenyiABenzinAra[playerid] = NINCS; MenyitTankol[playerid] = NINCS; Tankol[playerid] = 0;*/ UresUveg[playerid] = 0; KiMergezte[playerid] = NINCS; Mergezve[playerid] = 0; VanSzelvenye[playerid] = 0; talalatok[playerid] = 0; PSzam5[playerid] = 0; PSzam6[playerid] = 0; PSzam7[playerid] = 0; PSzam8[playerid] = 0; PSzam1[playerid] = 0; PSzam2[playerid] = 0; PSzam3[playerid] = 0; PSzam4[playerid] = 0; TudReportolni[playerid] = 0; Locsolas[playerid] = NINCS; Locsolniakar[playerid] = NINCS; BViadal[playerid] = 0; Nevek[playerid] = 0; Biztos[playerid] = 0; Belepve[playerid] = 0; Fbicelpont[playerid] = NINCS; PrivatEngedely[playerid] = NINCS; PrivatAr[playerid] = NINCS; PrivatAjanlat[playerid] = NINCS; VizsgaAr[playerid] = 0; VizsgaAjanlat[playerid] = NINCS; C4Kocsiban[playerid] = NINCS; C4Z[playerid] = 0.000000; C4Y[playerid] = 0.000000; C4X[playerid] = 0.000000; C4Lerakva[playerid] = 0; CsatlakozottSzamla[playerid] = NINCS; Szondaztat[playerid] = NINCS; KereskedoKocsiElad[playerid] = NINCS; KereskedoKocsiVetel[playerid] = NINCS; Rabol[playerid] = 0; //Tankol[playerid] = 0; Edzik[playerid] = 0; TanultStilus[playerid] = 0; AdasVeteliNeki[playerid] = NINCS; AdasVeteliTipus[playerid] = NINCS; MostLepettBe[playerid] = 1; AdminJelszoMegadva[playerid] = 0; Fegyvere[playerid] = 0; HitmanDuty[playerid] = 0; HibasBelepes[playerid] = 0; tuningolo[playerid] = 0; //ov[playerid] = 0; reporttiltva[playerid] = 0; FelujitasElfogadas[playerid] = NINCS; RegEngedely[playerid] = 0; RegAdatok[playerid] = 0; ElsoSpawn[playerid] = 1; Dialog[playerid] = -1; AFKIdo[playerid] = 0; AdminDuty[playerid] = 0; AFK[playerid] = 0; Visz[playerid] = NINCS; Engedely[playerid] = 0; LopasProbalkozas[playerid] = 0; SelectChar[playerid] = 0; HidePM[playerid] = 0; PhoneOnline[playerid] = 0; SelectCharID[playerid] = 0; SelectCharPlace[playerid] = 0; ChosenSkin[playerid] = 0; GettingJob[playerid] = 0; GuardOffer[playerid] = 999; GuardPrice[playerid] = 0; ApprovedLawyer[playerid] = 0; CallLawyer[playerid] = 0; WantLawyer[playerid] = 0; KickPlayer[playerid] = 0; CurrentMoney[playerid] = 0; UsedFind[playerid] = 0; CP[playerid] = 0; Robbed[playerid] = 0; Autocp[playerid] = 0; Repulocp[playerid] = 0; Hajocp[playerid] = 0; Kamioncp[playerid] = 0; Motorcp[playerid] = 0; Jogsineki[playerid] = NINCS; Tanulofelpenz[playerid] = 0; CarOffer[playerid] = 999; CarPrice[playerid] = 0; CarID[playerid] = 0; CarCalls[playerid] = 0; RobbedTime[playerid] = 0; MoneyMessage[playerid] = 0; Condom[playerid] = 0; STDPlayer[playerid] = 0; SexOffer[playerid] = 999; SexPrice[playerid] = 0; RepairOffer[playerid] = 999; RepairPrice[playerid] = 0; RepairCar[playerid] = 0; TalkingLive[playerid] = 255; LiveOffer[playerid] = 999; TakingLesson[playerid] = 0; RefillOffer[playerid] = 999; RefillPrice[playerid] = 0; MapIconsShown[playerid] = 0; DrugOffer[playerid] = 999; PlayerCuffed[playerid] = 0; PlayerCuffedTime[playerid] = 0; DrugPrice[playerid] = 0; RegistrationStep[playerid] = 0; OnCK[playerid] = 999; DrugGram[playerid] = 0; ConnectedToPC[playerid] = 0; OrderReady[playerid] = 0; HitmanRendeles[playerid] = 0; MedicTime[playerid] = 0; NeedMedicTime[playerid] = 0; MedicBill[playerid] = 0; WantedPoints[playerid] = 0; PlacedNews[playerid] = 0; skine[playerid] = 0; fegyvere[playerid] = 0; OnDuty[playerid] = 0; WantedLevel[playerid] = 0; TestFishes[playerid] = 0; BoxWaitTime[playerid] = 0; SchoolSpawn[playerid] = 0; ChangePos2[playerid][1] = 0; SafeTime[playerid] = 60; TransportDuty[playerid] = 0; PlayerTied[playerid] = 0; BusCallTime[playerid] = 0; TaxiCallTime[playerid] = 0; MedicCallTime[playerid] = 0; MechanicCallTime[playerid] = 0; FindTimePoints[playerid] = 0; FindTime[playerid] = 0; JobDuty[playerid] = 0; Mobile[playerid] = 255; Music[playerid] = 0; BoxOffer[playerid] = 999; PlayerBoxing[playerid] = 0; Spectate[playerid] = 255; PlayerDrunk[playerid] = 0; PlayerDrunkTime[playerid] = 0; Unspec[playerid][sLocal] = 255; FishCount[playerid] = 0; WritingPaper[playerid] = 0; WritingPaperNumber[playerid] = 999; WritingLine[playerid] = 0; BringingPaper[playerid] = 0; GotPaper[playerid] = 0; PaperOffer[playerid] = 999; ConsumingMoney[playerid] = 0; gLastCar[playerid] = 0; FirstSpawn[playerid] = 0; gBooc[playerid] = 0; gBoocszidas[playerid] = 0; gOoc[playerid] = 0; gNews[playerid] = 0; BigEar[playerid] = 0; gDice[playerid] = 0; gFam[playerid] = 0; gReport[playerid] = 0; gInfo[playerid] = 0; gSpeedo[playerid] = 0; gGas[playerid] = 1; roadblock[playerid] = 0; block[playerid] = NINCS; gPlayerLogged[playerid] = 0; gPlayerLogTries[playerid] = 0; gPlayerAccount[playerid] = 0; gPlayerSpawned[playerid] = 0; PlayerKarting[playerid] = 0; PlayerInKart[playerid] = 0; PlayerStoned[playerid] = 0; StartTime[playerid] = 0; TicketOffer[playerid] = 999; TicketMoney[playerid] = 0; TutTime[playerid] = 0; Drogozott[playerid] = 0; Animban[playerid] = 0; Animbanemrakhato[playerid] = 1; MunkaFelvetel[playerid] = 0; NevvaltasiEngedely[playerid] = 0; Skinsel[playerid] = 0; MunkaFolyamatban[playerid] = 0; Adminseged[playerid] = 0; gPlayerMission[playerid] = 0; TaxiAccepted[playerid] = 999; BusAccepted[playerid] = 999; PlayerInfo[playerid][pCash] = dollah; NoFuel[playerid] = 0; HireCar[playerid] = NINCS; PlayersChannel[playerid] = 999; TransportValue[playerid] = 0; TransportMoney[playerid] = 0; TransportTime[playerid] = 0; TransportCost[playerid] = 0; TransportDriver[playerid] = 999; Locator[playerid] = 0; PlayerOnMission[playerid] = 0; MissionCheckpoint[playerid] = 0; Tevezik[playerid] = NINCS; Tevezve[playerid] = NINCS; PlayerPaintballing[playerid] = 0; PlayerPaintballKills[playerid] = 0; Fishes[playerid][pLastFish] = 0; Fishes[playerid][pFishID] = 0; ProposeOffer[playerid] = 999; MarryWitness[playerid] = 999; MarryWitnessOffer[playerid] = 999; MarriageCeremoney[playerid] = 0; ProposedTo[playerid] = 999; GotProposedBy[playerid] = 999; DivorceOffer[playerid] = 999; PlayerInfo[playerid][pLevel] = 0; PlayerInfo[playerid][pAdmin] = 0; PlayerInfo[playerid][pDonateRank] = 0; PlayerInfo[playerid][gPupgrade] = 0; PlayerInfo[playerid][pConnectTime] = -1; PlayerInfo[playerid][pSex] = 0; PlayerInfo[playerid][pAge] = 0; PlayerInfo[playerid][pOrigin] = 0; PlayerInfo[playerid][pExp] = 0; PlayerInfo[playerid][pAccount] = 0; PlayerInfo[playerid][pCrimes] = 0; PlayerInfo[playerid][pDeaths] = 0; PlayerInfo[playerid][pArrested] = 0; PlayerInfo[playerid][pWantedDeaths] = 0; PlayerInfo[playerid][pPhoneBook] = 0; PlayerInfo[playerid][pLottoNr] = 0; PlayerInfo[playerid][pFishes] = 0; PlayerInfo[playerid][pBiggestFish] = 0; PlayerInfo[playerid][pJob1] = 0; PlayerInfo[playerid][pJob2] = 0; PlayerInfo[playerid][pPayCheck] = 0; PlayerInfo[playerid][pHeadValue] = 0; PlayerInfo[playerid][pJailed] = 0; PlayerInfo[playerid][pJailTime] = 0; PlayerInfo[playerid][pMats] = 0; PlayerInfo[playerid][pKokain] = 0; PlayerInfo[playerid][pHeroin] = 0; PlayerInfo[playerid][pMarihuana] = 0; PlayerInfo[playerid][pLeader] = 0; PlayerInfo[playerid][pMember] = 0; PlayerInfo[playerid][pRank] = 0; PlayerInfo[playerid][pChar] = 0; PlayerInfo[playerid][pContractTime] = 0; PlayerInfo[playerid][pContractTime2] = 0; PlayerInfo[playerid][pDetSkill] = 0; PlayerInfo[playerid][pSexSkill] = 0; PlayerInfo[playerid][pBoxSkill] = 0; PlayerInfo[playerid][pLawSkill] = 0; PlayerInfo[playerid][pMechSkill] = 0; PlayerInfo[playerid][pJackSkill] = 0; PlayerInfo[playerid][pCarSkill] = 0; PlayerInfo[playerid][pNewsSkill] = 0; PlayerInfo[playerid][pDrugsSkill] = 0; PlayerInfo[playerid][pCookSkill] = 0; PlayerInfo[playerid][pFishSkill] = 0; PlayerInfo[playerid][pRiasztoSkill] = 0; PlayerInfo[playerid][pHackingSkill] = 0; PlayerInfo[playerid][pSHealth] = 0.0; PlayerInfo[playerid][pHealth] = MAXHP; PlayerInfo[playerid][pPos_x] = 2246.6; PlayerInfo[playerid][pPos_y] = -1161.9; PlayerInfo[playerid][pPos_z] = 1029.7; PlayerInfo[playerid][pInt] = 15; PlayerInfo[playerid][pLocal] = NINCS; PlayerInfo[playerid][pModel] = 200; //new randphone = 1000 + random(8999);//minimum 1000 max 9999 //giving one at the start PlayerInfo[playerid][pPnumber] = 0; PlayerInfo[playerid][pPhousekey] = NINCS; PlayerInfo[playerid][pPbiskey] = 255; PlayerInfo[playerid][pCarLic] = 0; PlayerInfo[playerid][pFlyLic] = 0; PlayerInfo[playerid][pBoatLic] = 0; PlayerInfo[playerid][pFishLic] = 0; PlayerInfo[playerid][pGunLic] = 0; PlayerInfo[playerid][pCarTime] = 0; PlayerInfo[playerid][pPayDay] = 0; PlayerInfo[playerid][pPayDayHad] = 0; PlayerInfo[playerid][pCDPlayer] = 0; PlayerInfo[playerid][pWins] = 0; PlayerInfo[playerid][pLoses] = 0; PlayerInfo[playerid][pAlcoholPerk] = 0; PlayerInfo[playerid][pDrugPerk] = 0; PlayerInfo[playerid][pMiserPerk] = 0; PlayerInfo[playerid][pPainPerk] = 0; PlayerInfo[playerid][pTraderPerk] = 0; PlayerInfo[playerid][pTut] = 0; PlayerInfo[playerid][pWarns] = 0; PlayerInfo[playerid][pKWarns] = 0; PlayerInfo[playerid][pFuel] = 0; PlayerInfo[playerid][pLokator] = 0; PlayerInfo[playerid][pHamisNev] = 0; //PlayerInfo[playerid][pNyomkoveto] = 0; //PlayerInfo[playerid][pNyomkovetes] = 0; PlayerInfo[playerid][pSpawned] = 0; PlayerInfo[playerid][pGPS] = 0; PlayerInfo[playerid][pMuanyag] = 0; PlayerInfo[playerid][pCserje] = 0; PlayerInfo[playerid][pMak] = 0; PlayerInfo[playerid][pCannabis] = 0; PlayerInfo[playerid][pKaja] = 0; PlayerInfo[playerid][pDrogido] = 0; PlayerInfo[playerid][pAS] = 0; PlayerInfo[playerid][pCPosX] = 0.000000; PlayerInfo[playerid][pCPosY] = 0.000000; PlayerInfo[playerid][pCPosZ] = 0.000000; PlayerInfo[playerid][pCInt] = 0; PlayerInfo[playerid][pCVW] = 0; PlayerInfo[playerid][pCrash] = 0; PlayerInfo[playerid][pFegyver] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; PlayerInfo[playerid][pTolteny] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; PlayerInfo[playerid][pCelet] = MAXHP; PlayerInfo[playerid][pCpajzs] = 100.0; PlayerInfo[playerid][pPcarkey] = NINCS; PlayerInfo[playerid][pCigiUsed] = 0; PlayerInfo[playerid][pCigiFuggoseg] = 0; PlayerInfo[playerid][pCigi] = 0; PlayerInfo[playerid][pNikotin] = 0; PlayerInfo[playerid][pGyujto] = 0; PlayerInfo[playerid][pPia] = 0; PlayerInfo[playerid][pSwattag] = 0; PlayerInfo[playerid][pSwatRang] = 0; PlayerInfo[playerid][pKituntetes] = 0; PlayerInfo[playerid][pSzallitott] = 0; PlayerInfo[playerid][pSpawnchange] = 0; PlayerInfo[playerid][pAdminAlnevBe] = 0; PlayerInfo[playerid][pTeloEgyenleg] = 0; PlayerInfo[playerid][pUtlevel] = 0; PlayerInfo[playerid][pSzemelyi] = 0; PlayerInfo[playerid][pLakcimkartya] = 0; PlayerInfo[playerid][pStilus] = 0; PlayerInfo[playerid][pBankSzamla] = 0; PlayerInfo[playerid][pBankSzamlaSzam] = 0; PlayerInfo[playerid][pBankSzamlaJelszo] = 0; PlayerInfo[playerid][pC4] = 0; PlayerInfo[playerid][pHitman] = 0; PlayerInfo[playerid][pHitmanNev][0] = EOS; PlayerInfo[playerid][pKey][0] = EOS; PlayerInfo[playerid][pPremiumCsomag] = 0; PlayerInfo[playerid][pPremiumIdo] = 0; PlayerInfo[playerid][pPremiumPont] = 0; PlayerInfo[playerid][pPower] = 0; PlayerInfo[playerid][pMotorJogsi] = 0; PlayerInfo[playerid][pKamionJogsi] = 0; PlayerInfo[playerid][pReportChannel] = NINCS; PlayerInfo[playerid][pViewReportChannel] = NINCS; NoName[playerid] = false; /*PlayerInfo[playerid][pAdoHaz] = 0; PlayerInfo[playerid][pAdoHazHol] = 0; PlayerInfo[playerid][pAdoSzint] = 0; PlayerInfo[playerid][pAdoJarmu] = 0; PlayerInfo[playerid][pAdoKitoltve] = 0; PlayerInfo[playerid][pAdo] = 0; PlayerInfo[playerid][pAdoEllenorizve] = 0;*/ PlayerRaceInfo[playerid][xVersenyen] = NINCS; PlayerRaceInfo[playerid][xEpites] = NINCS; ClearCrime(playerid); ClearFishes(playerid); ClearCooking(playerid); ClearGroceries(playerid); ClearMarriage(playerid); PlayerNameGet(playerid); //if(egyezik(PlayerName(playerid), \"Tamasi_Gabor\")) Tamasi[playerid] = true; if(IsPlayerNPC(playerid)) { gPlayerLogged[playerid] = 1; //SpawnPlayer(playerid); NPCCsatlakozas(PlayerName(playerid), playerid); return 1; } if(!IsValidName(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, \"Ez a szerver egy RP! Azaz: Vezetéknév_Keresztnév\"); Kick(playerid); return 0; } if(!NagyKezdobetusNev(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, \"Nem kicsivel kell írni a neved. A Valóságban sem úgy írod.\"); Kick(playerid); return 0; } /*if(!strcmp(PlayerName(playerid), \"Gary_Roach_Sanderson\", true) && strcmp(PlayerIP(playerid), \"82.150.46.144\")) { if(strcmp(PlayerIP(playerid), \"192.168.0.101\")) { SeeBan(playerid, 0, NINCS, \"Urahara karakter\", true); SendFormatMessageToAll(COLOR_LIGHTRED, \"FamousRPG: %s kibannolva Urahara szelleme által | Oka: Ne gyere már fel a karimmal légyszives... Köszi, pápá \", PlayerIP(playerid)); Kick(playerid); } }*/ new query[512], where[128], ido, mido, gido = gettime(); Format(query, \"SELECT ido FROM %s WHERE %s\", SQL_DB_Kocsik, where); Format(where, \"cim=\'%s\' or cim=\'%s\'\", PlayerName(playerid), PlayerIP(playerid)); if(!IsPlayerNPC(playerid) && Mysql_Num(SQL_DB_Ban, where) >= 1) { Format(where, \"cim=\'%s\' or cim=\'%s ORDER BY ido DESC\'\", PlayerName(playerid), PlayerIP(playerid)); mido = strval(Mysql_Get(SQL_DB_Ban, \"ido\", where)); ido = floatround((0.0+mido-gido) / 3600.0, floatround_round); new meddig[128]; if(ido > 0 && ido < 24) Format(meddig, \"%d óráig\", ido); else if(ido >= 24 && ido < (24*7)) { if(ido % 24 == 0) Format(meddig, \"%d napig\", (ido / 24)); else Format(meddig, \"%d napig és %d óráig\", floatround(ido/24, floatround_floor), (ido%24)); } else if(ido >= (24*7))// && ido < (24*7*4)) { if(ido % (24*7) == 0) Format(meddig, \"%d hétig\", (ido/24/7)); else { if(ido % 24 == 0) Format(meddig, \"%d hétig és %d napig\", floatround(ido/24/7, floatround_floor), floatround((ido/24)%7, floatround_floor)); else Format(meddig, \"%d hétig, %d napig, és %d óráig\", floatround(ido/24/7, floatround_floor), floatround((ido/24)%7, floatround_floor), (ido%24)); } } if(ido <= 0) SendClientMessage(playerid, COLOR_LIGHTRED, \"Sajnálom, de te bannolva vagy.\"); else { SendClientMessage(playerid, COLOR_LIGHTRED, \"Sajnálom, de te bannolva vagy\"); SendFormatMessage(playerid, COLOR_LIGHTRED, \"Idõ: %s\", meddig); } Kick(playerid); return 1; } numplayers++; CheckUtolso(); if(RegCheck(playerid, \"SQL\")) PlayerInfo[playerid][pRegistered] = 2; else PlayerInfo[playerid][pRegistered] = 0; /*else { Msg(playerid, \"Nem vagy regisztrálva a szerverre. Regisztrálni a kezelõfelületen tudsz: \"); Kick(playerid); }*/ //PlayerInfo[playerid][pRegistered] = 0; MysqlGetPlayerId(playerid); if(Registered(playerid) == 2) MysqlGetPass(playerid); strmid(PlayerInfo[playerid][pIP], PlayerIP(playerid), 0, strlen(PlayerIP(playerid)), 16); SetPlayerColor(playerid,COLOR_GRAD2); new bekistring[128], ip[20]; GetPlayerIp(playerid, ip, sizeof(ip)); format(bekistring, sizeof(bekistring), \"[iP:%s, ID: %d]%s Csatlakozott\", ip, playerid, PlayerName(playerid)); BeKilepes(bekistring); new string[64]; format(string, sizeof(string), \"~g~Köszöntelek a FamousRPG-n~n~\"); GameTextForPlayer(playerid, string, 5000, 0); for(new c = 0; c < MAX_VEHICLES; c++) { if(!IsVehicleConnected©) continue; if(Locked©) SetVehicleParamsForPlayer(playerid, c, 0, 1); } SpawnHely[playerid] = random(sizeof(LoginSpawn)); return 1; }[/pawn] 831
Segítségkérés / Mód, felmegyek és kidob« Dátum: 2012. március 23. - 14:53:19 »
Helló!
Nos, van egy módom, mikor felmegyek, akkor betölt a bejelentkezésig, és utána kidob. Hogyan lehetne megcsinálni, hogy ne dobjon ki? (Server closed connection.) 832
Szkript kérések / MySQL plugin« Dátum: 2012. március 23. - 14:49:35 »
Helló!
Igazából nem script kellene, hanem a legújabb MySQL plugin. Ha valakinek megvan a legújabb, akkor el tudná küldeni? Köszönöm! 833
Segítségkérés / rcon 0« Dátum: 2012. március 23. - 14:38:39 »
Ezt találtam egy módban:
SendRconCommand(\"rcon 0\"); 834
Segítségkérés / rcon 0« Dátum: 2012. március 23. - 14:33:01 »
Helló!
Mire jó az \"rcon 0\"? A konzolba lehet beírni, meg tudjátok mondani, hogy mire jó? 835
Munkaerő keresése / Szkriptert keresek! RP szerverre.« Dátum: 2012. március 21. - 17:44:33 »Idézetet írta: meszimark date=1332089440\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"18703\" data-ipsquote-contentclass=\"forums_Topic Felvettelek xFire-n!Én is! 836
Munkaerő keresése / Szkriptert keresek! RP szerverre.« Dátum: 2012. március 18. - 15:49:09 »
Milyen mód van rajta?
837
Segítségkérés / Szerver hibák/gondok« Dátum: 2012. február 28. - 15:55:24 »
Azt hogyan tudnám megcsinálni, hogy ne dobjon ki a szerver, amikor felmegyek?
838
Segítségkérés / Szerver hibák/gondok« Dátum: 2012. február 27. - 22:11:23 »
1. gond:
Ezeket a hibákat írja ki a Pawno, amikor lefuttatom: C:\\Users\\User\\Desktop\\server1\\gamemodes\\famousrpg.pwn(13013) : warning 213: tag mismatch 2. gond: Amikor felmegyek a szerverre, akkor kidob a szerver. (Server closed connection) 839
Szkript kérések / RemoveBuilding« Dátum: 2012. február 16. - 21:55:21 »
Ez azért van, mert nem 0.3d-s a Pawno, amit használsz!
840
SA-MP: Szerverfejlesztés / Magyar LuxAdmin« Dátum: 2012. február 15. - 14:14:37 »
Ez hányas verzió?
|