Szerző Téma: Mód, felmegyek és kidob  (Megtekintve 1723 alkalommal)

Nem elérhető Erik3333

  • 945
  • SMF | phpBB | TS3 | PHP | HTML | CSS | JS | PAWN | JAVA
    • Profil megtekintése
Mód, felmegyek és kidob
« Dátum: 2012. március 23. - 14:53:19 »
0 Show voters
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.)

Nem elérhető Dead

  • 2045
    • Profil megtekintése
Mód, felmegyek és kidob
« Válasz #1 Dátum: 2012. március 23. - 14:54:45 »
0 Show voters
másold be az OnPlayerConnectot

Nem elérhető Erik3333

  • 945
  • SMF | phpBB | TS3 | PHP | HTML | CSS | JS | PAWN | JAVA
    • Profil megtekintése
Mód, felmegyek és kidob
« Válasz #2 Dátum: 2012. március 23. - 14:56:56 »
0 Show voters
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]

Nem elérhető Dead

  • 2045
    • Profil megtekintése
Mód, felmegyek és kidob
« Válasz #3 Dátum: 2012. március 23. - 15:03:37 »
0 Show voters
RP mód :D
for(new x = 0; x < 100; x++) SendClientMessage(playerid, 0x00000000, \" \");
ez mi?

Mód, felmegyek és kidob
« Válasz #4 Dátum: 2012. március 23. - 15:05:39 »
0 Show voters
Idézetet írta: Dead date=1332511417\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"18944\" data-ipsquote-contentclass=\"forums_Topic
RP mód :D
for(new x = 0; x < 100; x++) SendClientMessage(playerid, 0x00000000, \" \");
ez mi?
 
A chat kitisztítása.
A bejelentkezést másold be.

Nem elérhető Erik3333

  • 945
  • SMF | phpBB | TS3 | PHP | HTML | CSS | JS | PAWN | JAVA
    • Profil megtekintése
Mód, felmegyek és kidob
« Válasz #5 Dátum: 2012. március 23. - 15:19:09 »
0 Show voters
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
  • [pRank] == KivegzoRang[0])

      {
         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
  • [pRank] == KivegzoRang[1])

      {
         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
  • [pRank] == KivegzoRang[2])

      {
         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]

Mód, felmegyek és kidob
« Válasz #6 Dátum: 2012. március 23. - 15:21:50 »
0 Show voters
See mód, de amúgy 0.3c pawno-val fordíttod, és 0.3d-n indítod. 0.3d-vel fordítsd, és azzal indítsd.

Mód, felmegyek és kidob
« Válasz #7 Dátum: 2012. március 23. - 15:26:37 »
0 Show voters
De ha 0.3d inc-kel és akkor is ezt csináljak (és igen ez tuti see mod vagy valami másolata) akkor gondolom te is hostingnál vagy ott ne a 0.3d r2-t válaszd ki hanem a 0.3d t a simát!Így tuti jó lessz és playerekkel szemben nincs egyenlõre \"veszteséged\" mert 0.3d r2 clientel is tudják használni majd

Nem elérhető Dead

  • 2045
    • Profil megtekintése
Mód, felmegyek és kidob
« Válasz #8 Dátum: 2012. március 23. - 15:50:52 »
0 Show voters
Idézetet írta: ~ Metaxa ™ date=1332512510\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"18944\" data-ipsquote-contentclass=\"forums_Topic
See mód, de amúgy 0.3c pawno-val fordíttod, és 0.3d-n indítod. 0.3d-vel fordítsd, és azzal indítsd.
 
Honnan a see módja?
a fordítás szerintem nem számít mert nekem mindenhogyan megy..
0.3e-s pawnóval fordítom a d-s módom és semmi hibája

Nem elérhető Erik3333

  • 945
  • SMF | phpBB | TS3 | PHP | HTML | CSS | JS | PAWN | JAVA
    • Profil megtekintése
Mód, felmegyek és kidob
« Válasz #9 Dátum: 2012. március 23. - 16:17:28 »
0 Show voters
Beraktam egy 0.3d-s Pawno-t, leszedtem a legújabb include-kat, lefuttattam, elindítom a szervert és ugyan az...

Mód, felmegyek és kidob
« Válasz #10 Dátum: 2012. március 23. - 20:11:31 »
0 Show voters
Idézetet írta: Erik3333 date=1332515848\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"18944\" data-ipsquote-contentclass=\"forums_Topic
Beraktam egy 0.3d-s Pawno-t, leszedtem a legújabb include-kat, lefuttattam, elindítom a szervert és ugyan az...
 
Nekem is ez a probléma áll fent.

Nem elérhető Erik3333

  • 945
  • SMF | phpBB | TS3 | PHP | HTML | CSS | JS | PAWN | JAVA
    • Profil megtekintése
Mód, felmegyek és kidob
« Válasz #11 Dátum: 2012. március 24. - 15:28:32 »
0 Show voters
Amúgy ezt írja ki:
 
[14:51:38] Betöltés folyamatban... kérlek várj...
[14:51:42] Connected to {EE5555}[HUN]********************
[14:51:46] Server closed the connection.

SmokeR

  • Vendég
Mód, felmegyek és kidob
« Válasz #12 Dátum: 2012. március 24. - 16:49:30 »
0 Show voters
Szerintem direkt elrontották a módot

Nem elérhető Erik3333

  • 945
  • SMF | phpBB | TS3 | PHP | HTML | CSS | JS | PAWN | JAVA
    • Profil megtekintése
Mód, felmegyek és kidob
« Válasz #13 Dátum: 2012. március 24. - 16:52:10 »
0 Show voters
Már megoldottam!

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal