Szerző Téma: Más lép fel az én nevemmel  (Megtekintve 1096 alkalommal)

Más lép fel az én nevemmel
« Dátum: 2012. április 13. - 18:57:34 »
0 Show voters
mások lépnek fel a nevemmel mert a luxadmin olyan szarul van megoldva biztosagi kerdes azt kiszedtem de van meg egy mas ha a jelszot elirod akkor is belép a neveddel  :@ :@ :@

Nem elérhető Benceee

  • 4785
    • Profil megtekintése
Más lép fel az én nevemmel
« Válasz #1 Dátum: 2012. április 13. - 19:19:05 »
0 Show voters
Másold be a jelszó ellenõrzést!

Más lép fel az én nevemmel
« Válasz #2 Dátum: 2012. április 13. - 19:35:29 »
0 Show voters
mit ????? adom a luxadminom [pawn]//==============================================================================// Includek//==============================================================================#include <a_samp>#include <ldudb>#include <lfuncs>#include <dini>#include <fixchars.h>native WP_Hash(buffer[], len, const str[]);#pragma dynamic 145000//==============================================================================//------------------------------------------------------------------------------//                       Konfigurációk//------------------------------------------------------------------------------//==============================================================================//==============================================================================//==============================================================================#define MAX_WARNINGS       5       // Max Figyelmeztetések#define MAX_RCON_ATTEMPS    3       // Max Rcon Probálkozások#define MAX_REPORTS       7      // Max Report#define MAX_CHAT_LINES       7      // Console Nézete Sv Konzol#define SPAM_MAX_MSGS       2        // Max Spam Üzenet#define SPAM_TIMELIMIT      2        // Spam Idõ Limit#define PING_MAX_EXCEEDS   400      // Max Pinget Meghaladja#define PING_TIMELIMIT       60      // Ping Idõ Limit#define MAX_FAIL_LOGINS     2       // Max Beléps Probálkozás#define MAX_ADV_WARNINGS    0       // Max Figyelmeztetés Hirdetésre#define ANNOUNCES_TIME      6000    // IdõTartam(Miliseconds) Üzenetek Bejelntése (csak akkor ha "Közemények" Engedélyezve Vannak) (Alapértelmezett: 6 Másodperc)//==============================================================================// -> Letiltás/Engedélyezés// true = Engedélyezés | false = Letiltás//==============================================================================#define EnableSpec            true    // Spectating Rendszer (Ha Már Nem Használja Állitsa "False = Hamis"#define SaveLogs              true    // Ha A Szervern Linux Fut Állitsa "false" (Napló Mentés)#define PM_CHAT_LOG         true    // Pm Chat Engedélyezés/Letiltás#define ADM_CHAT_LOG        true    // Admin Chat Engedélyezés/Letiltás#define USE_DIALOGS       true    // Dialogs Letiltás/Engedélyezés#define USE_STATS           true    // Statisztika Engedélyezés/Letiltás#define ADM_InMSG             false    // Adminoknak Jelenti A Playerek Elküldött Üzeneteit#define SaveScore           true    // Játékos Pontszáma Mentése#define GpsCheckPoint         true     // Játékosoknak Jelezze a Checkpointot#define GpsOnlyCity         true    // Engedélyezés : Only Játékos Város Letitlás : GPS Megjelenitése PLayer Város és Zóna#define ConfigInConsole     true    // Basic AdmScript Configuration Amikor Elinditja Az AdminScriptet#define EnableTwoRcon       false    // 2 Darba Rcon Jelszó (Nagyobb Biztonság)#define EnableCamHack       true    // Lux Cam Rendszer Mozganu Tudják a Kamerát#define EnablePM_Cmd       false    // PM Parancs Engedélyezése/Letiltása//==============================================================================// -> Csak Sa-Mp Keys (A:0 Kikapcsolás)//==============================================================================#define ExecuteCmdKey KEY_ANALOG_DOWN // PárbeszédPanelek Végre Hajtott Parancsai//==============================================================================// -> Használjon Két rcon jelszót (Csak akkor, ha "EnableTwoRcon" engedélyezve van//==============================================================================#define TwoRconPass "apadfasza" //Adja Meg a Második Rcon Jelszót//==============================================================================// -> Account Parancsok// Figyelem: Ne Haladja Meg a 20 Karaktert//==============================================================================#define RegisterCommand    register    // Regisztráció Parancsa#define LoginCommand        login       // Belépés Parancs#define ChangePassCommand  changepass  // Jelszóváltás Parancs//==============================================================================// -> Admin Név Szin(A Parancs /admins Alapértelmezett : Lightblue2 és Orange//==============================================================================#define Color_Basic_Moderator       white  //Szint 1#define Color_Moderator             black  //Szint 2#define Color_Master_Moderator      yellow  //Szint 3#define Color_Administrator         red  //Szint 4#define Color_Master_Administrator  blue  //Szint 5#define Color_Professional_Admin    orange  //Szint +5 (ex:6,7,8...)#define Color_RCON_Administrator     LIGHTBLUE2  //Rcon Admin//==============================================================================// -> CamHack Konfigurációk// Figyelem: NE MODOSITJA HA NINCSEN TAPASZTALATA !//==============================================================================#if EnableCamHack == true#define SPEED_ROTATE_LEFTRIGHT_SLOW 0.5#define SPEED_ROTATE_LEFTRIGHT_FAST 2.0#define SPEED_ROTATE_UPDOWN_SLOW 0.05#define SPEED_ROTATE_UPDOWN_FAST 0.15#define SPEED_MOVE_UPDOWN_SLOW 0.25#define SPEED_MOVE_UPDOWN_FAST 1.0#define SPEED_MOVE_FORWARDBACKWARD_SLOW 0.4#define SPEED_MOVE_FORWARDBACKWARD_FAST 2.0#define SPEED_MOVE_LEFTRIGHT_SLOW 0.4#define SPEED_MOVE_LEFTRIGHT_FAST 2.0#endif//==============================================================================//Konfiguráció Vége!//-----------//==============================================================================// Színek//==============================================================================#define LIGHTGREEN     0x38FF06FF#define LIGHTBLUE2   0xF6BB0AA#define LIGHTBLUE    0x0BBF6AA#define COLOR_GREEN  0x33AA33AA#define COLOR_PINK   0xFF66FFAA#define COLOR_BLUE     0x0000BBAA#define COLOR_PURPLE 0x800080AA#define COLOR_BLACK  0x000000AA#define COLOR_WHITE  0xFFFFFFAA#define COLOR_GREEN1 0x33AA33AA#define COLOR_BROWN    0xA52A2AAA#define blue        0x375FFFFF#define BlueMsg      0x0BBF6AA#define white        0xFFFFFFAA#define red        0xFF0000AA#define lightred     0xFB0000AA#define green        0x33FF33AA#define yellow        0xFFFF00AA#define grey        0xC0C0C0AA#define Green1        0x129E12FF#define Green2         0x53D212FF#define blue1        0x2641FEAA#define orange        0xFF9900AA#define black        0x2C2727AA//==============================================================================// DCMD//==============================================================================#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1#define dcmd2(%1,%2,%3) if ((strcmp((%3)[1], %1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1//==============================================================================// CapsLock//==============================================================================#define UpperToLower(%1) for(new ToLowerChar; ToLowerChar < strlen( %1 ); ToLowerChar ++ ) if ( %1[ ToLowerChar ]> 64 && %1[ ToLowerChar ] < 91 ) %1[ ToLowerChar ] += 32//==============================================================================// Nézõ//==============================================================================#define ADMIN_SPEC_TYPE_NONE   0#define ADMIN_SPEC_TYPE_PLAYER    1#define ADMIN_SPEC_TYPE_VEHICLE 2//==============================================================================// Dialogok//==============================================================================#define DIALOGID 2222#define DIALOG_TYPE_SERVLOCK       7002#define DIALOG_TYPE_SERVUNLOCK      7001#define DIALOG_TYPE_SERVPASS       7003#define DIALOG_TYPE_RCON2           7004#define DIALOG_TYPE_QUESTION        7010#define DIALOG_TYPE_PM              7000//==============================================================================// Zonák//==============================================================================#define MAX_ZONE_NAME 28//==============================================================================// Változók//==============================================================================//==============================================================================// -> Random Üzeneteke (hírek)//Csak Ha a "Közlemények" is lehetõvé teszi a konfigurációs Fájlt//==============================================================================new RandomMessages[][] ={    "Ha ~r~Cheatert Látsz ~w~Használd a ~y~/report [id] [Indok]",    "Tiszteld ~b~Az Összes ~y~Szerver  Szabályokat!",    "Vegyél Egy VIP ~g~Számlát ~b~Még Ma! Hozzáférés Számos Új ~y~Funkciokhoz!",    "Ön Még Nem Járt ~g~a Weboldalon?~w~ Látogassa Meg: ~p~www.rockstar-klub.webs.com"};//==============================================================================#if EnablePM_Cmd == truenew PmReceiver[MAX_PLAYER_NAME];new PMplayer1;#endifenum e_Register {   sCommand[12],   CommandLen}new RegisterCommands[3][e_Register]= {   {""#RegisterCommand"",-1},{""#LoginCommand"",-1},{""#ChangePassCommand"",-1}};#define CMD_REGISTER \\   RegisterCommands[0][sCommand]#define CMD_REGISTER_LEN \\   RegisterCommands[0][CommandLen]#define CMD_LOGIN \\   RegisterCommands[1][sCommand]#define CMD_LOGIN_LEN \\   RegisterCommands[1][CommandLen]   #define CMD_CHANGEPASS \\   RegisterCommands[2][sCommand]#define CMD_CHANGEPASS_LEN \\   RegisterCommands[2][CommandLen]#if EnableCamHack == truenew Float:PCP[MAX_PLAYERS][3]; // PCP = PlayerCameraPositionsnew Float:PCL[MAX_PLAYERS][3]; // PCL = PlayerCameraLookatnew Float:PCA[MAX_PLAYERS];    // PCA = PlayerCameraAnglenew KeyTimer[MAX_PLAYERS];new KeyState[MAX_PLAYERS];new FollowOn[MAX_PLAYERS];#endifnew cd_f,cd_sec,cd_timer, CdStated = 0, cdt[MAX_PLAYERS] = -1;new Text:Announcements;new AdminArea[6] = { 377,170,1008,90,3,0 //X,Y,Z,Szög,Interior,VirtualWorld};new LVersion[] = "v1.6 Beta";enum PlayerData{   Registered,   LoggedIn,   pVip,   Level,   Muted,   SpamCount,   MaxAdv,   #if EnableTwoRcon == true   MaxRcon,   #endif   SpamTime,   Caps,   Kills,   Deaths,   God,   Spawned,   TimesSpawned,   hours,   mins,   secs,   MuteWarnings,   Warnings,   TotalTime,   ConnectTime,   GodCar,   pColour,   pCar,   DoorsLocked,   Frozen,   FreezeTime,   PingTime,   PingCount,   pPing[PING_MAX_EXCEEDS],   BotPing,   Hide,   OnDuty,   Jailed,   JailTime,   blipS,   blip,   SpecType,   SpecID,   FailLogin,   bool:AllowedIn,   pCaged,   pInvis,   pCageTime,   pGps,   NoQuestion,   #if EnableCamHack == true   InCamMod,   LockedCam,   #endif};enum ServerData{    AntiSwear,    AntiSpam,   MaxAdminLevel,   MaxPing,   ReadPMs,   Locked,   Password[128],   ReadCmds,    NoCaps,   AntiBot,   AdminOnlySkins,   AdminSkin,   AdminSkin2,   NameKick,   PartNameKick,   ConnectMessages,   DisableChat,   AdminCmdMsg,   GiveMoney,   GiveWeap,   AutoLogin,   MustLogin,   MustRegister,   ForbiddenWeaps,   MaxMuteWarnings,   AntiAds,   Announce,};new AccInfo[MAX_PLAYERS][PlayerData],   ServerInfo[ServerData],   AdmRank[128],   AdmDuty[128],   AccType[128],   ServerLockPass[128],   BadWords[100][100], BadWordsCount = 0,   Float:Pos[MAX_PLAYERS][4],   Chat[MAX_CHAT_LINES][128],   PingTimer,   GodTimer,   BlockedPartName[100][100], BlockedPartNameCount = 0,   Float:LPosX[MAX_PLAYERS],   Float:LPosY[MAX_PLAYERS],   Float:LPosZ[MAX_PLAYERS],   PingPos,   IsDisable[MAX_PLAYERS],   pColor;new Text:GpsTD[MAX_PLAYERS];new VehicleNames[212][] = {{"Landstalker"},{"Bravura"},{"Buffalo"},{"Linerunner"},{"Perrenial"},{"Sentinel"},{"Dumper"},{"Firetruck"},{"Trashmaster"},{"Stretch"},{"Manana"},{"Infernus"},{"Voodoo"},{"Pony"},{"Mule"},{"Cheetah"},{"Ambulance"},{"Leviathan"},{"Moonbeam"},{"Esperanto"},{"Taxi"},{"Washington"},{"Bobcat"},{"Mr Whoopee"},{"BF Injection"},{"Hunter"},{"Premier"},{"Enforcer"},{"Securicar"},{"Banshee"},{"Predator"},{"Bus"},{"Rhino"},{"Barracks"},{"Hotknife"},{"Trailer 1"},{"Previon"},{"Coach"},{"Cabbie"},{"Stallion"},{"Rumpo"},{"RC Bandit"},{"Romero"},{"Packer"},{"Monster"},{"Admiral"},{"Squalo"},{"Seasparrow"},{"Pizzaboy"},{"Tram"},{"Trailer 2"},{"Turismo"},{"Speeder"},{"Reefer"},{"Tropic"},{"Flatbed"},{"Yankee"},{"Caddy"},{"Solair"},{"Berkley's RC Van"},{"Skimmer"},{"PCJ-600"},{"Faggio"},{"Freeway"},{"RC Baron"},{"RC Raider"},{"Glendale"},{"Oceanic"},{"Sanchez"},{"Sparrow"},{"Patriot"},{"Quad"},{"Coastguard"},{"Dinghy"},{"Hermes"},{"Sabre"},{"Rustler"},{"ZR-350"},{"Walton"},{"Regina"},{"Comet"},{"BMX"},{"Burrito"},{"Camper"},{"Marquis"},{"Baggage"},{"Dozer"},{"Maverick"},{"News Chopper"},{"Rancher"},{"FBI Rancher"},{"Virgo"},{"Greenwood"},{"Jetmax"},{"Hotring"},{"Sandking"},{"Blista Compact"},{"Police Maverick"},{"Boxville"},{"Benson"},{"Mesa"},{"RC Goblin"},{"Hotring Racer A"},{"Hotring Racer B"},{"Bloodring Banger"},{"Rancher"},{"Super GT"},{"Elegant"},{"Journey"},{"Bike"},{"Mountain Bike"},{"Beagle"},{"Cropdust"},{"Stunt"},{"Tanker"}, {"Roadtrain"},{"Nebula"},{"Majestic"},{"Buccaneer"},{"Shamal"},{"Hydra"},{"FCR-900"},{"NRG-500"},{"HPV1000"},{"Cement Truck"},{"Tow Truck"},{"Fortune"},{"Cadrona"},{"FBI Truck"},{"Willard"},{"Forklift"},{"Tractor"},{"Combine"},{"Feltzer"},{"Remington"},{"Slamvan"},{"Blade"},{"Freight"},{"Streak"},{"Vortex"},{"Vincent"},{"Bullet"},{"Clover"},{"Sadler"},{"Firetruck LA"},{"Hustler"},{"Intruder"},{"Primo"},{"Cargobob"},{"Tampa"},{"Sunrise"},{"Merit"},{"Utility"},{"Nevada"},{"Yosemite"},{"Windsor"},{"Monster A"},{"Monster B"},{"Uranus"},{"Jester"},{"Sultan"},{"Stratum"},{"Elegy"},{"Raindance"},{"RC Tiger"},{"Flash"},{"Tahoma"},{"Savanna"},{"Bandito"},{"Freight Flat"},{"Streak Carriage"},{"Kart"},{"Mower"},{"Duneride"},{"Sweeper"},{"Broadway"},{"Tornado"},{"AT-400"},{"DFT-30"},{"Huntley"},{"Stafford"},{"BF-400"},{"Newsvan"},{"Tug"},{"Trailer 3"},{"Emperor"},{"Wayfarer"},{"Euros"},{"Hotdog"},{"Club"},{"Freight Carriage"},{"Trailer 3"},{"Andromada"},{"Dodo"},{"RC Cam"},{"Launch"},{"Police Car (LSPD)"},{"Police Car (SFPD)"},{"Police Car (LVPD)"},{"Police Ranger"},{"Picador"},{"S.W.A.T. Van"},{"Alpha"},{"Phoenix"},{"Glendale"},{"Sadler"},{"Luggage Trailer A"},{"Luggage Trailer B"},{"Stair Trailer"},{"Boxville"},{"Farm Plow"},{"Utility Trailer"}};new BlockedNames[100][100],   BlockedNamesCount = 0,   BlipTimer[MAX_PLAYERS],   JailTimer[MAX_PLAYERS],   FreezeTimer[MAX_PLAYERS],   LockKickTimer[MAX_PLAYERS],   InDuel[MAX_PLAYERS],   Reports[MAX_REPORTS][128];new cage[MAX_PLAYERS],   cage2[MAX_PLAYERS],   cage3[MAX_PLAYERS],   cage4[MAX_PLAYERS];//==============================================================================// Forwardok//==============================================================================forward ConnectedPlayers();forward Jail1(player1);forward RandomMessage();forward VehicleOccupied(vehicleid);forward WeaponCheck(playerid);forward CheckKeyPress(playerid);forward Duel(player1, player2);forward FollowPlayer(playerid);forward CagePlayer(playerid);forward UnCagePlayer(playerid);forward CagePrevent(playerid);forward AutoKick(playerid);forward DelayKillPlayer(playerid);forward HighLight(playerid);forward ReturnPosition(playerid);forward LoadForbiddenWeapons();forward CarSpawner(playerid,model);forward VehRes(vehicleid);forward EraseVeh(vehicleid);forward Jail2(player1);forward SaveTeleport();forward Jail3(player1);forward JailPlayer(player1);forward UnjailPlayer(player1);forward UnFreezeMe(player1);forward PingKick();forward UnloadFS();forward RestartGM();forward GodModUp();forward BotCheck(playerid);forward JailedPlayers();forward FrozenPlayers();forward MutedPlayers();forward InVehTotal();forward InCarCount();forward OnBikeCount();forward SaveIn(filename[],text[]);forward RconAdminTotal();forward LuxGpsSys(playerid);forward PutAtPos(playerid);forward AdminTotal();forward CountDown(playerid);forward PutAtDisconectPos(playerid);forward MessageToAdmins(color,const string[]);forward MessageToPlayerVIP(color,const string[]);forward OnPlayerPrivmsg(playerid, recieverid, text[]);//==============================================================================//-------------------------------------------------// FilterScript//-------------------------------------------------//==============================================================================public OnFilterScriptInit(){   if (!fexist("LuxAdmin/Config/TempBans.ban")){   new File:open = fopen("LuxAdmin/Config/TempBans.ban",io_write);   if (open) fclose(open);   }    CheckFolders();   UpdateConfig();   ReadTextDraws();   LoadCreatedTeles();      for(new i = 0; i < MAX_PLAYERS; i++)   if(IsPlayerConnected(i))   OnPlayerConnect(i);      for(new i = 1; i < MAX_CHAT_LINES; i++)   Chat = "[NONE]";      for(new i = 1; i < MAX_REPORTS; i++)   Reports = "[NONE]";   PingTimer = SetTimer("PingKick",5000,1);   GodTimer = SetTimer("GodModUp",2000,1);   SetTimer("WeaponCheck",800,true);   SetTimer("SaveTeleport",CTELE_TIMER,1);   SetTimer("LuxGpsSys",500,true);   SetTimer("RandomMessage",ANNOUNCES_TIME,1);   ShowConfigInConsole();          new year,month,day;   getdate(year, month, day);   new hour,minute,second;   gettime(hour,minute,second);      for(new i = 0; i < sizeof(RegisterCommands) ; i++ )   RegisterCommands[CommandLen]=strlen(RegisterCommands[sCommand]);          print(" -> Sikeresen Betöltve!\\n");   printf(" Dátum: %d/%d/%d - Idõ: %d:%d:%d",day,month,year,hour, minute, second);   print(" ___________________________________________________\\n");   return 1;}//==============================================================================public OnFilterScriptExit(){   for(new i = 0; i < MAX_PLAYERS; i++)    TextDrawHideForPlayer(i, Announcements);       KillTimer(PingTimer); KillTimer(GodTimer);   SaveTeleport();   return 1;}//==============================================================================//-------------------------------------------------// Játékos Csatlakozva//-------------------------------------------------//==============================================================================public OnPlayerConnect(playerid){    #if EnableCamHack == true    KeyState[playerid] = 0;    FollowOn[playerid] = 0;    AccInfo[playerid][InCamMod]    = 0;    AccInfo[playerid][LockedCam]    = 0;    #endif   AccInfo[playerid][Deaths]       = 0;   AccInfo[playerid][Kills]       = 0;   AccInfo[playerid][Jailed]      = 0;   AccInfo[playerid][Frozen]      = 0;   AccInfo[playerid][Level]       = 0;   AccInfo[playerid][pVip]         = 0;   AccInfo[playerid][LoggedIn]    = 0;   AccInfo[playerid][Registered]    = 0;   AccInfo[playerid][God]          = 0;   AccInfo[playerid][GodCar]      = 0;   AccInfo[playerid][TimesSpawned]   = 0;   AccInfo[playerid][Muted]       = 0;   AccInfo[playerid][MuteWarnings]   = 0;   AccInfo[playerid][Warnings]    = 0;   AccInfo[playerid][Caps]         = 0;   AccInfo[playerid][DoorsLocked]    = 0;   AccInfo[playerid][pCar]         = -1;   AccInfo[playerid][SpamCount]    = 0;   AccInfo[playerid][MaxAdv]       = 0;   AccInfo[playerid][SpamTime]    = 0;   AccInfo[playerid][PingCount]    = 0;   AccInfo[playerid][PingTime]      = 0;   AccInfo[playerid][FailLogin]    = 0;   AccInfo[playerid][Hide]       = 0;   AccInfo[playerid][pInvis]      = 0;   AccInfo[playerid][OnDuty]      = 0;   AccInfo[playerid][pGps]       = -1;      #if EnableTwoRcon == true   AccInfo[playerid][MaxRcon] = 0;   #endif   AccInfo[playerid][ConnectTime] = gettime();    for(new i; i<PING_MAX_EXCEEDS; i++)   AccInfo[playerid][pPing] = 0;   //------------------------------------------------------   new string[128];    new str[128];   new file[256];   new PlayerName[MAX_PLAYER_NAME];   GetPlayerName(playerid, PlayerName, MAX_PLAYER_NAME);   new tmp3[50]; GetPlayerIp(playerid,tmp3,50);      ResetForbiddenWeaponsForPlayer(playerid);   TempBanCheck(playerid);//==============================================================================// Csatlakozási Üzenet//==============================================================================   if(ServerInfo[ConnectMessages] == 1)   {       new pAKA[256];      pAKA = dini_Get("LuxAdmin/Config/aka.txt",tmp3);      if (strlen(pAKA) < 3)      format(str,sizeof(str),">> Player {057CEA}%s {33FFCC}(Id:%d) {CDF917}}..::Csatlakozott a Szerverhez!::.. <<", PlayerName,playerid);      else if (!strcmp(pAKA,PlayerName,true))      format(str,sizeof(str),">> Player {057CEA}%s {33FFCC}(Id:%d) {CDF917}..::Csatlakozott a Szerverhez!::.. <<", PlayerName,playerid);      else format(str,sizeof(str),">> Player {057CEA}%s {33FFCC}(Id:%d) {CDF917}..::Csatlakozott a Szerverhez! ({CDF917}Aka: {FF9933}%s)::.. <<",PlayerName,playerid,pAKA);      for(new i = 0; i < MAX_PLAYERS; i++)      if(IsPlayerConnected(i) && playerid != i)      {      if(AccInfo[Level] > 2)      SendClientMessage(i,green,str);      else      {      format(string,sizeof(string),">> Player {057CEA}%s {33FFCC}(Id:%d) {33FF00}..::Csatlakozott a Szerverhez!::.. <<", PlayerName, playerid);        SendClientMessage(i,green,string);      }      }   }//==============================================================================// Ha a Játékost Bannolták//==============================================================================    if (dUserINT(PlayerName2(playerid)).("Banned") == 1)    {        SendClientMessage(playerid, red, "Figyelem: Ez a Név Bannolva Lett!");      format(string,sizeof(string),"|- Player {660000}%s {33FFCC}(Id:%d) Automatikusan  Kirúgta. |{33FF00} Reason: Név Bannolva! -|",PlayerName,playerid);      SendClientMessageToAll(red, string);  print(string);      SaveIn("KickLog",string);  Kick(playerid);    }//==============================================================================// Ha A Játékost Kickelték//==============================================================================   if(ServerInfo[NameKick] == 1)   {      for(new s = 0; s < BlockedNamesCount; s++)      {           if(!strcmp(BlockedNames,PlayerName,true))         {         format(string,sizeof(string),"|- Player {660000}%s {33FFCC}(Id:%d) Auomatikusan Kirúgta. |{33FF00} indok: Tiltott Név -|",PlayerName,playerid);         SendClientMessageToAll(yellow, string);         print(string);         SaveIn("KickLog",string);         Kick(playerid);         return 1;         }      }   }//==============================================================================// Kick Tiltott Része//==============================================================================   if(ServerInfo[PartNameKick] == 1)   {      for(new s = 0; s < BlockedPartNameCount; s++)      {         new pos;         while((pos = strfind(PlayerName,BlockedPartName,true)) != -1)         for(new i = pos, j = pos + strlen(BlockedPartName); i < j; i++)         {         SendClientMessage(playerid,red, "Figyelem: Ez a Név Nem Megengedett Ezen a Szerveren");         format(string,sizeof(string),"|- Player {660000}%s {33FFCC}(Id:%d) Automatikusan Kirúgta. |{33FF00} Indok: Tiltott Név -|",PlayerName,playerid);         SendClientMessageToAll(red, string);  print(string);         SaveIn("KickLog",string);  Kick(playerid);         return 1;         }      }   }//==============================================================================// Lezárt Szerver//==============================================================================   if(ServerInfo[Locked] == 1)   {      AccInfo[playerid][AllowedIn] = false;      SendClientMessage(playerid,red,"|- Szerver Zárva! -|");      SendClientMessage(playerid,red,"|- 40 Másodperce Van Hogy Beirja a Szerver jelszavát! -|");      LockKickTimer[playerid] = SetTimerEx("AutoKick", 40000, 0, "i", playerid);   }    if (ServerInfo[Locked] == 1 && AccInfo[playerid][AllowedIn] == false)    {        ShowPlayerDialog(playerid, DIALOG_TYPE_SERVPASS, DIALOG_STYLE_PASSWORD,      "Szerver Zárva!.", "Adja Meg a Jelszót :", "Belép", "Kilép");   }//==============================================================================// Regisztráció És Bejelentkezés//==============================================================================   if(strlen(dini_Get("LuxAdmin/Config/aka.txt", tmp3)) == 0)   dini_Set("LuxAdmin/Config/aka.txt", tmp3, PlayerName);    else   {       if( strfind( dini_Get("LuxAdmin/Config/aka.txt", tmp3), PlayerName, true) == -1 )      {        format(string,sizeof(string),"%s,%s", dini_Get("LuxAdmin/Config/aka.txt",tmp3), PlayerName);         dini_Set("LuxAdmin/Config/aka.txt", tmp3, string);      }    }   if(!udb_Exists(PlayerName2(playerid)))   SendClientMessage(playerid,orange, "{FF0000}SZERVER:{33FF33}Fiók Nincs Regisztrálva Kérem Regisztráljon! {CDF917}(/"#RegisterCommand")");   else   {    AccInfo[playerid][Registered] = 1;   format(file,sizeof(file),"/LuxAdmin/Accounts/%s.sav",udb_encode(PlayerName));   new tmp2[256]; tmp2 = dini_Get(file,"Ip");   if( (!strcmp(tmp3,tmp2,true)) && (ServerInfo[AutoLogin] == 1))   {      LoginPlayer(playerid);      if(AccInfo[playerid][Level] > 0)      {         switch(AccInfo[playerid][Level])         {            case 1: AdmRank = "Kezdõ Adminisztrátor";            case 2: AdmRank = "Adminisztrátor";            case 3: AdmRank = "Mester Adminisztrátor";            case 4: AdmRank = "Mester Moderátor";            case 5: AdmRank = "Tulajdonos !!!";         }         if(AccInfo[playerid][Level] > 5)         {            AdmRank = "Király Adminisztrátor";         }         //==============================================================================// VIP Beálitások  == VIP System//==============================================================================         if(AccInfo[playerid][pVip] > 0)         {            switch(AccInfo[playerid][pVip])            {               case 1: AccType = "Silver";               case 2: AccType = "Gold";               case 3: AccType = "Premium";            }            format(string,sizeof(string),"|- Automatikusan Bejelentkeztél | Account: {CDF917}%s | Szint {33FF33}%d - %s -|", AccType, AccInfo[playerid][Level],AdmRank);            SendClientMessage(playerid,0x00C378AA,string);         }         else         {            format(string,sizeof(string),"|- Automatikusan Bejelentkeztél | Szint {CDF917}%d - {33FF33}%s -|", AccInfo[playerid][Level],AdmRank);            SendClientMessage(playerid,green,string);         }//==============================================================================      }      else      {         if(AccInfo[playerid][pVip] > 0)         {            switch(AccInfo[playerid][pVip])            {               case 1: AccType = "Silver";               case 2: AccType = "Gold";               case 3: AccType = "Premium";            }            format(string,sizeof(string),"|- {CDF917}Automatikusan Bejelentkeztél : {33FF33}%s", AccType);            SendClientMessage(playerid,0x00C896AA,string);         }         else         {            format(string,sizeof(string),"|- {CDF917}Automatikusan Bejelentkeztél");            SendClientMessage(playerid,green,string);         }      }     }    else SendClientMessage(playerid, white, "Te Már Regisztrálva Vagy!") &&   SendClientMessage(playerid, LIGHTBLUE, "Kérlek Jelentkezz Be! (/"#LoginCommand")");   }    return 1;}//==============================================================================// Automata Kickelés//==============================================================================public AutoKick(playerid){   if( IsPlayerConnected(playerid) && ServerInfo[Locked] == 1 && AccInfo[playerid][AllowedIn] == false)   {   new string[128];   SendClientMessage(playerid,red,"|- Automatikusan Kirúgta | {CDF917}Indok: Szerver Zárva! -|");   format(string,sizeof(string),"|- Player %s (Id:%d) Automatikusan Kirúgta. | Indok: Szerver Zárva! -|",PlayerName2(playerid),playerid);   SaveIn("KickLog",string);   Kick(playerid);   SendClientMessageToAll(red, string);   print(string);   }   return 1;}//==============================================================================//-------------------------------------------------// Játékos Lecsatlakozás//-------------------------------------------------//==============================================================================public OnPlayerDisconnect(playerid, reason){   new PlayerName[MAX_PLAYER_NAME], str[128];   GetPlayerName(playerid, PlayerName, sizeof(PlayerName));      if(AccInfo[playerid][LoggedIn] == 1)   SavePlayerStats(playerid);   if(udb_Exists(PlayerName2(playerid))) dUserSetINT(PlayerName2(playerid)).("Loggedin",0);     AccInfo[playerid][LoggedIn] = 0;   AccInfo[playerid][Level]    = 0;   AccInfo[playerid][pVip]    = 0;   AccInfo[playerid][Jailed]    = 0;   AccInfo[playerid][pCaged]   = 0;   AccInfo[playerid][MaxAdv]   = 0;   AccInfo[playerid][Frozen]    = 0;   AccInfo[playerid][Hide]      = 0;   AccInfo[playerid][OnDuty]     = 0;   AccInfo[playerid][pInvis]     = 0;   AccInfo[playerid][pGps]      = -1;      #if EnableTwoRcon == true   AccInfo[playerid][MaxRcon]    = 0;   #endif   if(AccInfo[playerid][Jailed] == 1)   KillTimer( JailTimer[playerid] );      if(AccInfo[playerid][Frozen] == 1)   KillTimer( FreezeTimer[playerid] );      if(ServerInfo[Locked] == 1)   KillTimer( LockKickTimer[playerid] );   if(AccInfo[playerid][pCar] != -1) EraseVeh(AccInfo[playerid][pCar]);//------------------------------------------------------------------------------// Nézõ//------------------------------------------------------------------------------   for(new x=0; x<MAX_PLAYERS; x++)    if(GetPlayerState(x) == PLAYER_STATE_SPECTATING && AccInfo
  • [SpecID] == playerid)   AdvanceSpectate(x);//------------------------------------------------------------------------------   if(ServerInfo[ConnectMessages] == 1)   {   switch (reason)   {   case 0:   format(str, sizeof(str), ">> Player {057CEA}%s {33FFCC}(Id:%d) {CDF917}..::Elhagyta a Szervert! {FF0000}(Kifagyott)::.. <<", PlayerName, playerid);   case 1:   format(str, sizeof(str), ">> Player {057CEA}%s {33FFCC}(Id:%d) {CDF917}..::Elhagyta a Szervert! {FF0000}(Kilépett)::.. <<", PlayerName, playerid);   case 2:   format(str, sizeof(str), ">> Player {057CEA}%s {33FFCC}(Id:%d) {CDF917}..::Elhegyta a Szervert! {FF0000}(Kick/Bann)::.. <<", PlayerName, playerid);   }   SendClientMessageToAll(red,str);    }    #if EnableCamHack == true      if(AccInfo[playerid][InCamMod] == 1)   {       KillTimer(KeyTimer[playerid]);      AccInfo[playerid][InCamMod] = 0;   }   #endif    return 1;}public DelayKillPlayer(playerid){   SetPlayerHealth(playerid,0.0);   ForceClassSelection(playerid);}stock GetServerHostName(){new gString[256];GetServerVarAsString("hostname", gString, sizeof(gString));return gString;}public OnPlayerRequestSpawn(playerid){   // Request Regisztráció   #if USE_DIALOGS == false   if(AccInfo[playerid][Registered] == 0 && ServerInfo[MustRegister] == 1 && (!IsPlayerNPC(playerid))){   SendClientMessage(playerid,lightred,"SZERVER: A fiók nincs regisztrálva. Kérjük, regisztráljon! | /"#RegisterCommand" [Password]");   return 0;   }   // Request Belépés   if(ServerInfo[MustLogin] == 1 && AccInfo[playerid][Registered] == 1 && AccInfo[playerid][LoggedIn] == 0 && (!IsPlayerNPC(playerid))){    SendClientMessage(playerid,lightred,"SZERVER: Fiók Regisztrálva. Kérjük Lépj Be! | /"#LoginCommand"{CDF917} [Password]");   return 0;   }   #endif   return 1;   }//==============================================================================//-------------------------------------------------// Játékos Spawn//-------------------------------------------------//==============================================================================public OnPlayerSpawn(playerid){//==============================================================================// Request Regisztráció//==============================================================================   if(AccInfo[playerid][Registered] == 0 && ServerInfo[MustRegister] == 1)   {       #if   USE_DIALOGS == true      new rstring[256];      format(rstring,256,"{0eaaf2}Üdvözöljük a {e30af7}'%s'\\n\\n{33CCFF}Fiók '%s' {057CEA}Nincs Regisztrálva!\\n\\n{0afa26}Kérjük Adja Meg a Jelszót:",GetServerHostName(),pName(playerid));      ShowPlayerDialog(playerid,DIALOGID+66,DIALOG_STYLE_PASSWORD,"Regisztráció",rstring,"Regisztrál","Kilép");      #endif      return 1;   }//==============================================================================// Request Belépés//==============================================================================   if(ServerInfo[MustLogin] == 1 && AccInfo[playerid][Registered] == 1 && AccInfo[playerid][LoggedIn] == 0)   {      #if USE_DIALOGS == true      new lstring[256];      format(lstring,256,"{6624e0}Ez a Név {d517e6}'%s '{4717e6}Regisztrálva Van!\\n\\n {0ef25e}Kérjük Lépjen Be:",pName(playerid));      ShowPlayerDialog(playerid,DIALOGID+67,DIALOG_STYLE_PASSWORD,"Belépés",lstring,"Belép","Kilép");      #endif      return 1;   }//==============================================================================// Játékos Fagyasztás (Prevent scape)//==============================================================================   AccInfo[playerid][Spawned] = 1;   if(AccInfo[playerid][Frozen] == 1) {   TogglePlayerControllable(playerid,false);   return SendClientMessage(playerid,red,"|- Menekülni Akartál a Büntetésed Elõl. Ezért Lefagyasztottak! -|");   }//==============================================================================// Játékos Börtöne (Prevent scape)//==============================================================================   if(AccInfo[playerid][Jailed] == 1) {       SetTimerEx("JailPlayer",3000,0,"d",playerid);      return SendClientMessage(playerid,red,"|- Menekülni Akartál a Büntetésed Elõl Ezért. Börtönbe Csuktak! -|");   }//==============================================================================// Adminisztrátor Skinek /Játékosknak Letilva//==============================================================================   if(ServerInfo[AdminOnlySkins] == 1)   {      if( (GetPlayerSkin(playerid) == ServerInfo[AdminSkin]) || (GetPlayerSkin(playerid) == ServerInfo[AdminSkin2]))      {         if(AccInfo[playerid][Level] >= 1)         GameTextForPlayer(playerid,"~b~Üdvözöljük~n~~w~Admin",3000,1);         else         {         GameTextForPlayer(playerid,"~r~Ez a Skin~n~Csak Adminisztrátoroknak",4000,1);         SetTimerEx("DelayKillPlayer", 2500,0,"d",playerid);         return 1;         }      }   }   if((dUserINT(PlayerName2(playerid)).("UseSkin")) == 1)      if((AccInfo[playerid][Level] >= 1) && (AccInfo[playerid][LoggedIn] == 1))      SetPlayerSkin(playerid,(dUserINT(PlayerName2(playerid)).("FavSkin")) );//==============================================================================// Ellenörzi a Játékos CAGE//==============================================================================   if(AccInfo[playerid][pCaged] == 1)   {    SetTimerEx("CagePrevent", 300, 0, "i", playerid);    }   if(ServerInfo[Announce] == 1)    TextDrawShowForPlayer(playerid, Announcements);//==============================================================================// Fegyverek//==============================================================================   if(ServerInfo[GiveWeap] == 1)   {      if(AccInfo[playerid][LoggedIn] == 1)      {         AccInfo[playerid][TimesSpawned]++;         if(AccInfo[playerid][TimesSpawned] == 1)         {         GivePlayerWeapon(playerid,dUserINT(PlayerName2(playerid)).("Weapon1"),dUserINT(PlayerName2(playerid)).("Weapon1Ammo"));         GivePlayerWeapon(playerid,dUserINT(PlayerName2(playerid)).("Weapon2"),dUserINT(PlayerName2(playerid)).("Weapon2Ammo"));         GivePlayerWeapon(playerid,dUserINT(PlayerName2(playerid)).("Weapon3"),dUserINT(PlayerName2(playerid)).("Weapon3Ammo"));         GivePlayerWeapon(playerid,dUserINT(PlayerName2(playerid)).("Weapon4"),dUserINT(PlayerName2(playerid)).("Weapon4Ammo"));         GivePlayerWeapon(playerid,dUserINT(PlayerName2(playerid)).("Weapon5"),dUserINT(PlayerName2(playerid)).("Weapon5Ammo"));         GivePlayerWeapon(playerid,dUserINT(PlayerName2(playerid)).("Weapon6"),dUserINT(PlayerName2(playerid)).("Weapon6Ammo"));         }      }   }   return 1;}//==============================================================================//-------------------------------------------------// Játékos Halál//-------------------------------------------------//==============================================================================public OnPlayerDeath(playerid, killerid, reason){   #if USE_STATS == true    AccInfo[playerid][Deaths]++;   #endif    InDuel[playerid] = 0;        if(AccInfo[playerid][pCaged] == 1)    {      cage[playerid]    = DestroyObject(cage[playerid]);   cage2[playerid] = DestroyObject(cage2[playerid]);   cage3[playerid] = DestroyObject(cage3[playerid]);   cage4[playerid] = DestroyObject(cage4[playerid]);   }      if(IsPlayerConnected(killerid) && killerid != INVALID_PLAYER_ID)   {      #if USE_STATS == true      AccInfo[killerid][Kills]++;       #endif//==============================================================================// Párbaj//==============================================================================      if(InDuel[playerid] == 1 && InDuel[killerid] == 1)      {      GameTextForPlayer(playerid,"Vesztes!",3000,3);      GameTextForPlayer(killerid,"Gyõztes!",3000,3);      InDuel[killerid] = 0;      SetPlayerPos(killerid, 0.0, 0.0, 0.0);      SpawnPlayer(killerid);      }      else if(InDuel[playerid] == 1 && InDuel[killerid] == 0)      {      GameTextForPlayer(playerid,"Vesztes !",3000,3);      }   }//==============================================================================// Nézõ//==============================================================================   for(new x=0; x<MAX_PLAYERS; x++)       if(GetPlayerState(x) == PLAYER_STATE_SPECTATING && AccInfo
  • [SpecID] == playerid)        AdvanceSpectate(x);   return 1;}//==============================================================================//-------------------------------------------------// Játékos SZöveg//-------------------------------------------------//==============================================================================public OnPlayerText(playerid, text[]){//==============================================================================// Vip Chat//==============================================================================   if(text[0] == '*' && AccInfo[playerid][pVip] >= 1)   {       new string[128]; GetPlayerName(playerid,string,sizeof(string));      format(string,sizeof(string),"|ChatVip| %s: %s",string,text[1]);      MessageToPlayerVIP(0xDC686BAA,string);      SaveIn("ChatVipLog",string);       return 0;   }//==============================================================================// Adminisztrátor Chat//==============================================================================   if(text[0] == '#' && AccInfo[playerid][Level] >= 1)   {       new string[128]; GetPlayerName(playerid,string,sizeof(string));      format(string,sizeof(string),"{057CEA}Admin Chat:{CDF917} %s: %s",string,text[1]);      MessageToAdmins(green,string);      #if ADM_CHAT_LOG == true      SaveIn("AdmChatLog",string);      #endif       return 0;   }//==============================================================================// Chat Letiltása//==============================================================================   if(ServerInfo[DisableChat] == 1)   {      SendClientMessage(playerid,red,"|- Chat Le Van Tiltva! -|");       return 0;   }//==============================================================================// Játkos Némitása//==============================================================================    if(AccInfo[playerid][Muted] == 1)   {       AccInfo[playerid][MuteWarnings]++;       new string[128];      if(AccInfo[playerid][MuteWarnings] < ServerInfo[MaxMuteWarnings])      {      format(string, sizeof(string),"|- Figyelem: Ön Levan Némitva! Ne Beszéljen! (Figyelmeztetések: %d/%d) -|",AccInfo[playerid][MuteWarnings],ServerInfo[MaxMuteWarnings]);      SendClientMessage(playerid,red,string);      }      else      {      SendClientMessage(playerid,red,"|- Automatikusan Kirúgta. | Reason: Némitva Volt Mégis Beszélt -|");      format(string, sizeof(string),"|- Player %s (Id:%d) Automatikusan Kirúgta. | Reason: Némitva Volt Mégis Beszélt -|",PlayerName2(playerid),playerid);      SendClientMessageToAll(grey,string);      SaveIn("KickLog",string); Kick(playerid);      } return 0;   }//==============================================================================// Flood És Spam Védelem//==============================================================================   if(ServerInfo[AntiSpam] == 3 && (AccInfo[playerid][Level] == 0 && !IsPlayerAdmin(playerid)))   {      if(AccInfo[playerid][SpamCount] == 0) AccInfo[playerid][SpamTime] = TimeStamp();       AccInfo[playerid][SpamCount]++;      if(TimeStamp() - AccInfo[playerid][SpamTime] > SPAM_TIMELIMIT) { // Az Ok Üzenetek elég Messze Voltak egymástól         AccInfo[playerid][SpamCount] = 0;         AccInfo[playerid][SpamTime] = TimeStamp();      }      else if(AccInfo[playerid][SpamCount] == SPAM_MAX_MSGS) {         new string[64]; format(string,sizeof(string),"|- Player %s (Id:%d) Automatikusan Kirúgta. | Reason: Flood/Spam Védelem", PlayerName2(playerid),playerid);         SendClientMessageToAll(red,string); print(string);         SaveIn("KickLog",string);         Kick(playerid);      }      else if(AccInfo[playerid][SpamCount] == SPAM_MAX_MSGS-1) {         SendClientMessage(playerid,red,"Figyelem: Anti Spam Védelem! További Figyelmeztetések Kirúgás!");         return 0;      }   }//==============================================================================// Admin Elõtt Név//==============================================================================   #if ADM_InMSG == true   if (AccInfo[playerid][Hide] == 0)   {   if(AccInfo[playerid][Level] > 0)   {   new str3[256];   format(str3, 256, "(Admin): %s", text);   for(new gz=0;gz<200;gz++)   if(IsPlayerConnected(gz))   SendPlayerMessageToPlayer(gz, playerid, str3);   else SendPlayerMessageToPlayer(gz, playerid, text);   }   return 0;   }   #endif//==============================================================================// Tiltott Szavak//==============================================================================   if(ServerInfo[AntiSwear] == 1 && AccInfo[playerid][Level] < ServerInfo[MaxAdminLevel])   for(new s = 0; s < BadWordsCount; s++)   {   new pos;   while((pos = strfind(text,BadWords,true)) != -1)   for(new i = pos, j = pos + strlen(BadWords); i < j; i++) text = '*';   }//==============================================================================// Anti Hirdetések//==============================================================================   if(ServerInfo[AntiAds] == 1)   {      if(AdvertisementCheck(text) && AccInfo[playerid][Level] < 3)      {         AccInfo[playerid][MaxAdv]++;         new string[128];         format(string,sizeof(string),"|- Figyelem!Tiltott a Hirdetés! (Figyelmeztetések: %d/%d)",AccInfo[playerid][MaxAdv], MAX_ADV_WARNINGS);         SendClientMessage(playerid, grey,string);                     if(AccInfo[playerid][MaxAdv] == MAX_ADV_WARNINGS)         {            format(string,sizeof(string),"|- Automatikusan Kirúgta Magát. | Indok: Sok Hirdetés Miatt (%d/%d) -|",AccInfo[playerid][MaxAdv], MAX_ADV_WARNINGS);             SendClientMessage(playerid, lightred,string);                 format(string,sizeof(string),"|- Player %s (Id:%d) Automatikusan Kirúgta. | Indok: Sok Hirdetés Miatt! (%d) -|",PlayerName2(playerid),playerid, MAX_ADV_WARNINGS);             SaveIn("KickLog",string); Kick(playerid);            SendClientMessageToAll(lightred, string);            print(string);         }         return 0;      }   }//==============================================================================// CapsLock Letiltása//==============================================================================   if(AccInfo[playerid][Caps] == 1)   UpperToLower(text);   if(ServerInfo[NoCaps] == 1)   UpperToLower(text);   //==============================================================================// Chat Sorok//==============================================================================   for(new i = 1; i < MAX_CHAT_LINES-1; i++)   Chat = Chat[i+1];   new ChatSTR[128];   GetPlayerName(playerid,ChatSTR,sizeof(ChatSTR));   format(ChatSTR,128,"[CHAT]%s: %s",ChatSTR, text[0]);   Chat[MAX_CHAT_LINES-1] = ChatSTR;   return 1;}//==============================================================================//-------------------------------------------------// Privát Üzenet (PM)//-------------------------------------------------//==============================================================================public OnPlayerPrivmsg(playerid, recieverid, text[]){   if(ServerInfo[ReadPMs] == 1 && AccInfo[playerid][Level] != ServerInfo[MaxAdminLevel])   {//==============================================================================// PM Küldés//==============================================================================       new string[128];      new pReciever[MAX_PLAYER_NAME];      GetPlayerName(playerid, string, sizeof(string));      GetPlayerName(recieverid, pReciever, sizeof(pReciever));      format(string, sizeof(string), "|- PM: %s Tól %s: %s", string, pReciever, text);        for (new a = 0; a < MAX_PLAYERS; a++)      if(IsPlayerConnected(a) && (AccInfo[a][Level] >= ServerInfo[MaxAdminLevel]) && a != playerid)      SendClientMessage(a, green, string);      #if PM_CHAT_LOG == true      SaveIn("AdmChatLog",string);      #endif   }//==============================================================================// Némitás//==============================================================================    if(AccInfo[playerid][Muted] == 1)   {      new string[128];       AccInfo[playerid][MuteWarnings]++;      if(AccInfo[playerid][MuteWarnings] < ServerInfo[MaxMuteWarnings])      {      format(string, sizeof(string),"|- Figyelem: Ön Levan Némitva! Ne Beszéljen! (Warnings: %d/%d) -|",AccInfo[playerid][MuteWarnings],ServerInfo[MaxMuteWarnings]);      SendClientMessage(playerid,red,string);      }      else      {      SendClientMessage(playerid,red,"|- Automatikusan Kirúgta Magát. | Reason: Némitás Alatt Beszélt -|");      GetPlayerName(playerid, string, sizeof(string));      format(string, sizeof(string),"|- Player %s (Id:%d) Automatikusan Kirúgta. | Reason: Némitás Alatt Beszélt -|", string, playerid);      SendClientMessageToAll(lightred,string);      SaveIn("KickLog",string);      Kick(playerid);      }      return 0;   }   #if EnablePM_Cmd == true   new string[128];   format(string,256,"|- PM: Üzenet küldte '%s(%d)': \\"%s\\" -|",PmReceiver,PMplayer1,text);   SendClientMessage(playerid,0x33AA33AA,string);    PlayerPlaySound(playerid,1057,0.0,0.0,0.0);               GetPlayerName(playerid, string, sizeof(string));   format(string, sizeof(string),"|- PM: Üzenet Neki: %s: \\"%s\\" -|",string,text);   SendClientMessage(recieverid,0xFFFF00AA,string);   #endif   return 1;}//==============================================================================//-------------------------------------------------// Hiba Üzenetek//-------------------------------------------------//==============================================================================stock ErrorMessages(playerid, errorID){if(errorID == 1)  return SendClientMessage(playerid,red,"Hiba:{FF0000}Nem Vagy Elég Magas Szintû Hogy ezt a Parancsot Használhasd!");if(errorID == 2)  return SendClientMessage(playerid,red,"Hiba:{057CEA}A Játékos Nincs Csatlakozva!");if(errorID == 3)  return SendClientMessage(playerid,red,"HIba:{33FF33}Játékos Nincs Csatlakozva, {CDF917}vagy Saját Magad Akartad");if(errorID == 4)  return SendClientMessage(playerid,red,"Hiba:{CDF917}Játékos Nincs Csatlakozva, {33FF33}vagy Saját Magad Akartad");if(errorID == 5)  return SendClientMessage(playerid,red,"Hiba:{FF0000}Nem Vagy Elég Magas Admin 4-es Szint Szükséges!");if(errorID == 6)  return SendClientMessage(playerid,red,"Hiba:{FF0000}Nem Vagy Elég Magas Admin 3-es Szint Szükséges!");if(errorID == 7)  return SendClientMessage(playerid,red,"Hiba:{33CCFF}Nem Vagy Elég Magas Admin 2-es Szint Szükséges!");if(errorID == 8)  return SendClientMessage(playerid,red,"Hiba:{33FF33}Nem Vagy Elég Magas Admin 1-es Szint Szükséges!");if(errorID == 9)  return SendClientMessage(playerid,red,"Hiba:{057CEA}Nem Vagy Elég Magas Admin 5-es Szint Szükséges!");if(errorID == 10) return SendClientMessage(playerid,red,"Hiba:{FF0000}Nem Vagy Jármûben!");return 1;}//==============================================================================//-------------------------------------------------// Magas Fény == HighLight//-------------------------------------------------//==============================================================================public HighLight(playerid){   if(!IsPlayerConnected(playerid))   return 1;      if(AccInfo[playerid][blipS] == 0)   {   SetPlayerColor(playerid, 0xFF0000AA);   AccInfo[playerid][blipS] = 1;   }   else   {   SetPlayerColor(playerid, 0xFFFF00AA);   AccInfo[playerid][blipS] = 0;   }   return 0;}//==============================================================================//-------------------------------------------------// PARANCSOK//-------------------------------------------------//==============================================================================#if USE_DIALOGS == truedcmd_CMD_REGISTER(playerid,params[]){    #pragma unused params       if (AccInfo[playerid][LoggedIn] == 1)   return SendClientMessage(playerid,red,"Hiba:Te Már Regisztráltál És Beléptél");      if (udb_Exists(PlayerName2(playerid)))   return SendClientMessage(playerid,red,"Hiba:Ez a Név Már Regisztrálva Van!") &&    SendClientMessage(playerid,orange,"Kérjük Jelentkezz Be ('/"#LoginCommand"').");       new rs2tring[256];   format(rs2tring,256,"Regisztráció: '%s'\\n\\nAdja Meg a Jelszót:",pName(playerid));   ShowPlayerDialog(playerid,DIALOGID+66,DIALOG_STYLE_PASSWORD,"Regisztráció",rs2tring,"Regisztrál","Kilép");   return 1;}dcmd_CMD_LOGIN(playerid,params[]){    #pragma unused params          new file[128];   format(file,sizeof(file),"/LuxAdmin/Accounts/%s.sav",udb_encode(PlayerName2(playerid)) );    if (AccInfo[playerid][LoggedIn] == 1)   return SendClientMessage(playerid,red,"Hiba:Te Már Be Vagy Jelentkezve!.");    if (!udb_Exists(PlayerName2(playerid))) return   SendClientMessage(playerid,red,"Hiba:Ez a Név Nincs Regisztrálva!") &&    SendClientMessage(playerid,orange,"Kérem Regisztráljon ('/"#RegisterCommand" [Jelszó]').");       new lstring[256];   format(lstring,256,"Belépés: %s\\n\\nKérem Adja Meg A Jelszót :",pName(playerid));   ShowPlayerDialog(playerid,DIALOGID+67,DIALOG_STYLE_PASSWORD,"Bejelentkezés",lstring,"Belép","Kilép");   return 1;}#elsedcmd_CMD_REGISTER(playerid,params[]){   if (AccInfo[playerid][LoggedIn] == 1)   return SendClientMessage(playerid,red,"Hiba:Te Már Regisztráltál És Beléptél!");    if (udb_Exists(PlayerName2(playerid)))   return SendClientMessage(playerid,red,"Hiba:Ez a Név Már Regisztrálva Van!") &&    SendClientMessage(playerid,orange,"Kérem Jelentkezzen Be ('/"#LoginCommand" [jelszó]').");    if (strlen(params) == 0)   return SendClientMessage(playerid,orange,"Használat: '/"#RegisterCommand" [Jelszó]'");    if (strlen(params) < 4 || strlen(params) > 20)   return SendClientMessage(playerid,red,"Hiba: A Jelszó Hosszának Nagyobnak Kell Lennie Mint 3 Karakter!");    if (udb_Create(PlayerName2(playerid)))   {        new file[256],name[MAX_PLAYER_NAME], buf[145],tmp3[100];       new strdate[20], year,month,day;      getdate(year, month, day);        WP_Hash(buf, sizeof(buf), params);      GetPlayerName(playerid,name,sizeof(name));      format(file,sizeof(file),"/LuxAdmin/Accounts/%s.sav",udb_encode(name));        GetPlayerIp(playerid,tmp3,100);        dini_Set(file,"Password",buf);       dini_Set(file,"Ip",tmp3);       dUserSetINT(PlayerName2(playerid)).("Registered",1);         format(strdate, sizeof(strdate), "%d/%d/%d",day,month,year);      dini_Set(file,"RegisteredDate",strdate);      dUserSetINT(PlayerName2(playerid)).("Loggedin",1);      dUserSetINT(PlayerName2(playerid)).("Banned",0);      dUserSetINT(PlayerName2(playerid)).("Level",0);      dUserSetINT(PlayerName2(playerid)).("AccountType",0);       dUserSetINT(PlayerName2(playerid)).("LastOn",0);       dUserSetINT(PlayerName2(playerid)).("Money",0);       dUserSetINT(PlayerName2(playerid)).("Kills",0);         dUserSetINT(PlayerName2(playerid)).("Deaths",0);         dUserSetINT(PlayerName2(playerid)).("WantedLevel",0);         #if SaveScore == true         dUserSetINT(PlayerName2(playerid)).("Score",0);         #endif         dUserSetINT(PlayerName2(playerid)).("Hours",0);         dUserSetINT(PlayerName2(playerid)).("Minutes",0);         dUserSetINT(PlayerName2(playerid)).("Seconds",0);       AccInfo[playerid][LoggedIn] = 1;       AccInfo[playerid][Registered] = 1;       SendClientMessage(playerid, green, "|- Most Már Regisztráltál És Automatikusan Bejelentkeztél -|");      PlayerPlaySound(playerid,1057,0.0,0.0,0.0);      return 1;   }    return 1;}dcmd_CMD_LOGIN(playerid,params[]){   new file[128], Pass[256];   format(file,sizeof(file),"/LuxAdmin/Accounts/%s.sav",udb_encode(PlayerName2(playerid)) );    if (AccInfo[playerid][LoggedIn] == 1)   return SendClientMessage(playerid,red,"Hiba:Te Már Be Vagy Jelentkezve!.");    if (!udb_Exists(PlayerName2(playerid))) return   SendClientMessage(playerid,red,"Hiba:Ez a Név Nincs Regisztrálva!") &&    SendClientMessage(playerid,orange,"Kérem Regisztráljon ('/"#RegisterCommand" [jelszó]').");    if (strlen(params)==0) return   SendClientMessage(playerid,orange,"Használat: '/"#LoginCommand" [Jelszó]'");   Pass = dini_Get(file, "Password");    new buf[145];    WP_Hash(buf, sizeof(buf), params);    if(strcmp(Pass, buf, false) == 0)   {    new tmp3[100], string[128];      format(file,sizeof(file),"/LuxAdmin/Accounts/%s.sav",udb_encode(PlayerName2(playerid)) );   GetPlayerIp(playerid,tmp3,100);   dini_Set(file,"Ip",tmp3);   LoginPlayer(playerid);   PlayerPlaySound(playerid,1057,0.0,0.0,0.0);   if(AccInfo[playerid][Level] > 0)   {      switch(AccInfo[playerid][Level])      {      case 1: AdmRank = "Kezdõ Adminisztrátor";      case 2: AdmRank = "Adminisztrátor";      case 3: AdmRank = "Moderátor";      case 4: AdmRank = "Mester Moderátor";      case 5: AdmRank = "Tulajdonos";      }      if(AccInfo[playerid][Level] > 5)      {         AdmRank = "Király Adminisztrátor";      }      if(AccInfo[playerid][pVip] > 0)      {         switch(AccInfo[playerid][pVip])         {         case 1: AccType = "Silver";         case 2: AccType = "Gold";         case 3: AccType = "Premium";         }         format(string,sizeof(string),"|- Sikeresen Bejelentkeztél! | Account: %s | Szint %d - %s -|", AccType, AccInfo[playerid][Level], AdmRank);         return SendClientMessage(playerid,0x00C378AA,string);      }      else      {         format(string,sizeof(string),"|- Sikeresen Bejelentkeztél! | Szint %d - %s -|", AccInfo[playerid][Level], AdmRank);         return SendClientMessage(playerid,green,string);      }   }   else   {      if(AccInfo[playerid][pVip] > 0)      {         switch(AccInfo[playerid][pVip])         {         case 1: AccType = "Silver";         case 2: AccType = "Gold";         case 3: AccType = "Premium";         }         format(string,sizeof(string),"|- Sikeresen Bejelentkeztél! | Account: %s -|", AccType);         return SendClientMessage(playerid,0x00C896AA,string);      }      else return SendClientMessage(playerid,green,"|- Sikeresen Bejelentkeztél! -|");      }   }   else   {      AccInfo[playerid][FailLogin]++;      printf("BELÉPÉS: Sikertelen Bejelentkezés: %s. Hibás Jelszó (%s) (%d)", PlayerName2(playerid), params, AccInfo[playerid][FailLogin] );      if(AccInfo[playerid][FailLogin] == MAX_FAIL_LOGINS)      {      new string[128]; format(string, sizeof(string), "|- Játékos %s Automatikusan Kirúgva (Reason: Sok KIsérletek Hibás Jelszóhoz) -|", PlayerName2(playerid) );      SendClientMessageToAll(red, string);      print(string);      Kick(playerid);      }      return SendClientMessage(playerid,red,"Hiba: Bejelentkezés Sikertelen. Hibás Jelszó!");   }}#endif//==============================================================================// Statisztikák//==============================================================================#if USE_STATS == truedcmd_resetstats(playerid,params[]){    #pragma unused params   if(AccInfo[playerid][LoggedIn] == 1)   {         dUserSetINT(PlayerName2(playerid)).("oldkills",AccInfo[playerid][Kills]);         dUserSetINT(PlayerName2(playerid)).("olddeaths",AccInfo[playerid][Deaths]);      AccInfo[playerid][Kills] = 0;      AccInfo[playerid][Deaths] = 0;      dUserSetINT(PlayerName2(playerid)).("Kills",AccInfo[playerid][Kills]);         dUserSetINT(PlayerName2(playerid)).("Deaths",AccInfo[playerid][Deaths]);        PlayerPlaySound(playerid,1057,0.0,0.0,0.0);      return SendClientMessage(playerid,yellow,"|- Sikeresen Törölted a Statisztikákat! -|");   }   else return SendClientMessage(playerid,red, "Hiba:Neked Nincs Accountod Ahoz hogy Használni Tudd Regisztrálj!");}#endif#if USE_STATS == truedcmd_stats(playerid,params[]){   new string[128];   new pDeaths;   new player1, h, m, s;   if(!strlen(params)) player1 = playerid;   else player1 = strval(params);   if(IsPlayerConnected(player1))   {    TotalGameTime(player1, h, m, s);   if(AccInfo[player1][Deaths] == 0) pDeaths = 1;   else pDeaths = AccInfo[player1][Deaths];   format(string, sizeof(string), "|- {FF0000}%s's {33FF33}Statisztikák -|",PlayerName2(player1));   SendClientMessage(playerid, green, string);   format(string, sizeof(string), "Gyilkolás: [%d] | Halálok: [%d] | Arány: [%0.2f] | Pénz: [$%d] | Idõ: [%d] H [%d] P [%d] M |", AccInfo[player1][Kills], AccInfo[player1][Deaths], Float:AccInfo[player1][Kills]/Float:pDeaths,GetPlayerMoney(player1), h, m, s);   return SendClientMessage(playerid, green, string);   } else   return SendClientMessage(playerid, red, "Hiba:Játkos Nincs Csatlakozva!!");}#endif//==============================================================================// Jelszó Parancs//==============================================================================dcmd_CMD_CHANGEPASS(playerid,params[]){   if(AccInfo[playerid][LoggedIn] == 1)   {      if(!strlen(params)) return      SendClientMessage(playerid, red, "Használat: /"#ChangePassCommand" [Új Jelszó]")      && SendClientMessage(playerid, orange, "Funkció:Evvel Modosithatod a Jelszavad Belépéskor!");      if(strlen(params) < 4) return SendClientMessage(playerid,red,"Hiba: Hibás a Jelszó hossza!");      new string[128];      new file[128], Pass[256];       format(file,sizeof(file),"/LuxAdmin/Accounts/%s.sav",udb_encode(PlayerName2(playerid)) );        new buf[145];        WP_Hash(buf, sizeof(buf), params);      Pass = dini_Get(file, "Password");      dini_Set(file, "Password", buf);      PlayerPlaySound(playerid,1057,0.0,0.0,0.0);        format(string, sizeof(string),"|- Sikeresen Megváltoztatta Fiók Jelszavát \\"%s\\" -|",params);      return SendClientMessage(playerid,yellow,string);   } else return SendClientMessage(playerid,red, "Hiba:Ahoz Hogy Ezt a Parancsot Használni Tudd Regisztrálnod Kell!");}dcmd_setpass(playerid,params[]){    if(AccInfo[playerid][Level] >= 5)   {       new string[128], tmp[256], tmp2[256], Index;      tmp = strtok(params,Index);      tmp2 = strtok(params,Index);       if(!strlen(tmp) || !strlen(tmp2)) return      SendClientMessage(playerid, red, "Használat: /setpass [Játékos Név] [Új Jelszó]") &&      SendClientMessage(playerid, orange, "Funkció: Evvel Mások Jelszavát Módosíthatod!");      if(strlen(tmp2) < 4 || strlen(tmp2) > MAX_PLAYER_NAME)      return SendClientMessage(playerid,red,"Hiba: Hibás a Jelszó Hossza!");      if(udb_Exists(tmp))      {         new file[128], Pass[256];           format(file,sizeof(file),"/LuxAdmin/Accounts/%s.sav",udb_encode(PlayerName2(playerid)));            new buf[145];            WP_Hash(buf, sizeof(buf), tmp2);          Pass = dini_Get(file, "Password");          dini_Set(file, "Password", buf);         PlayerPlaySound(playerid,1057,0.0,0.0,0.0);           format(string, sizeof(st

Nem elérhető sadox

  • 116
  • sadox
    • Profil megtekintése
Más lép fel az én nevemmel
« Válasz #3 Dátum: 2012. április 14. - 07:14:42 »
0 Show voters
használj RevAdmint. szerintem az jobb mint a luxadmin.
http://sampforum.hu/index.php?topic=23852.0
/ahelp a parancsok megnézéséhez

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal