Привет! Если вы читаете это - Вы еще не зарегистрированы. Это займет не больше минуты. Нажмите здесь, чтобы пройти регистрацию в несколько простых шагов, чтобы пользоваться всеми возможностями нашего форума. Обратите внимание, запрещены непристойные, матерные, бессмысленные (цифры, случайный набор букв) ники. Удачи!

Реклама






 
SAMP АДМИНКИ 15 ЛВЛ ПРИ ВХОДЕ КОМАНДА /MAKEADMIN2017 Адрес сервера:176.32.36.34:7777

500р
Маленький баннер400р/мес(Статический показ)
,400рТекстовая реклама300р/мес(Статический показ)
Большой баннер статический
1200р 1000/мес

Внимание ЦЕНЫ СНИЖЕНЫ!!!
Писать по поводу рекламы VK: vk.com/sergey68

** Как получить V.I.P --> КЛИК **
Показано с 1 по 3 из 3
  1. #1
    Пользователь
    Аватар для IncoGnitO
    Статус
    Оффлайн
    Регистрация
    11.11.2010
    Сообщений
    251
    Репутация
    22 [+/-] 

    Как убрать проверку на рп ники

    Как убрать проверку на рп ники вот паблиг регистер

    PHP код:
    public OnPlayerRegister(playeridpassword[])
    {
    if(
    IsPlayerNPC(playerid))return 1;// Подключение Ботов
        
    if(IsPlayerConnected(playerid))
        {
                new 
    string3[32];
                new 
    playername3[MAX_PLAYER_NAME];
                
    GetPlayerName(playeridplayername3sizeof(playername3));
    //------------------------------------------------------------------------------
                
    if (!CheckName(playername3))
                {
                
    SendClientMessage(playeridCOLOR_RED"============================================================================");
                
    SendClientMessage(playeridCOLOR_RED"** ВНИМАНИЕ! ВАШ НИК НЕ СООТВЕТСТВУЕТ НОРМАМ RPG СЕРВЕРА !");
                
    SendClientMessage(playeridCOLOR_RED"** Вы используете некорректное Имя. Используйте Имя_Фамилия с учетом регистра.");
                
    SendClientMessage(playeridCOLOR_RED"** Придумайте себе RP ник ,пример: Alexey_Petrov или Ivan_Pypkin и.т.д.");
                
    SendClientMessage(playeridCOLOR_RED"** Не используйте в новом нике цифры и капс.");
                
    SendClientMessage(playeridCOLOR_RED"** Правила и другая информация о сервере на www.rp-crimeworld.ru");
                
    SendClientMessage(playeridCOLOR_RED"============================================================================");
                
    SendClientMessage(playeridTEAM_VAGOS_COLOR"* Вы были автоматически кикнуты с сервера,причина NON RP nick-name");
                
    SendClientMessage(playeridTEAM_VAGOS_COLOR"* Пожалуйста придумайте новый RP ник и заходите на наш RPG сервер.");
                return 
    1;
                }
    //------------------------------------------------------------------------------
                
    format(string3sizeof(string3), "%s.ini"playername3);
                new 
    FilehFile fopen(string3io_write);
                if (
    hFile)
                {
                    
    strmid(PlayerInfo[playerid][pKey], password0strlen(password), 255);
                    new var[
    32];
                    
    format(var, 32"Key=%s\n"PlayerInfo[playerid][pKey]);fwrite(hFile, var);
                    
    PlayerInfo[playerid][pCash] = GetPlayerMoney(playerid);
                    
    format(var, 32"Level=%d\n",PlayerInfo[playerid][pLevel]);fwrite(hFile, var);
                    
    format(var, 32"AdminLevel=%d\n",PlayerInfo[playerid][pAdmin]);fwrite(hFile, var);
                    
    format(var, 32"DonateRank=%d\n",PlayerInfo[playerid][pDonateRank]);fwrite(hFile, var);
                    
    format(var, 32"UpgradePoints=%d\n",PlayerInfo[playerid][gPupgrade]);fwrite(hFile, var);
                    
    format(var, 32"ConnectedTime=%d\n",PlayerInfo[playerid][pConnectTime]);fwrite(hFile, var);
                    
    format(var, 32"Registered=%d\n",PlayerInfo[playerid][pReg]);fwrite(hFile, var);
                    
    format(var, 32"Sex=%d\n",PlayerInfo[playerid][pSex]);fwrite(hFile, var);
                    
    format(var, 32"Age=%d\n",PlayerInfo[playerid][pAge]);fwrite(hFile, var);
                    
    format(var, 32"Origin=%d\n",PlayerInfo[playerid][pOrigin]);fwrite(hFile, var);
                    
    format(var, 32"LangEng=%d\n",PlayerInfo[playerid][pLangEng]);fwrite(hFile,var);
                    
    format(var, 32"LangJap=%d\n",PlayerInfo[playerid][pLangJap]);fwrite(hFile,var);
                    
    format(var, 32"LangIta=%d\n",PlayerInfo[playerid][pLangIta]);fwrite(hFile,var);
                    
    format(var, 32"LangRus=%d\n",PlayerInfo[playerid][pLangRus]);fwrite(hFile,var);
                    
    format(var, 32"LangFra=%d\n",PlayerInfo[playerid][pLangFra]);fwrite(hFile,var);
                    
    format(var, 32"NarcoZavisimost=%d\n",PlayerInfo[playerid][pNarcoZavisimost]);fwrite(hFile, var);
                    
    format(var, 32"AlcoZavisimost=%d\n",PlayerInfo[playerid][pAlcoZavisimost]);fwrite(hFile, var);
                    
    format(var, 32"NarcoLomka=%d\n",PlayerInfo[playerid][pNarcoLomka]);fwrite(hFile, var);
                    
    format(var, 32"AlcoLomka=%d\n",PlayerInfo[playerid][pAlcoLomka]);fwrite(hFile, var);
                    
    format(var, 32"CK=%d\n",PlayerInfo[playerid][pCK]);fwrite(hFile, var);
                    
    format(var, 32"Muted=%d\n",PlayerInfo[playerid][pMuted]);fwrite(hFile, var);
                    
    format(var, 32"Respect=%d\n",PlayerInfo[playerid][pExp]);fwrite(hFile, var);
                    
    format(var, 32"Money=%d\n",PlayerInfo[playerid][pCash]);fwrite(hFile, var);
                    
    format(var, 32"Bank=%d\n",PlayerInfo[playerid][pAccount]);fwrite(hFile, var);
                    
    format(var, 32"Crimes=%d\n",PlayerInfo[playerid][pCrimes]);fwrite(hFile, var);
                    
    format(var, 32"Kills=%d\n",PlayerInfo[playerid][pKills]);fwrite(hFile, var);
                    
    format(var, 32"Deaths=%d\n",PlayerInfo[playerid][pDeaths]);fwrite(hFile, var);
                    
    format(var, 32"Arrested=%d\n",PlayerInfo[playerid][pArrested]);fwrite(hFile, var);
                    
    format(var, 32"WantedDeaths=%d\n",PlayerInfo[playerid][pWantedDeaths]);fwrite(hFile, var);
                    
    format(var, 32"Phonebook=%d\n",PlayerInfo[playerid][pPhoneBook]);fwrite(hFile, var);
                    
    format(var, 32"LottoNr=%d\n",PlayerInfo[playerid][pLottoNr]);fwrite(hFile, var);
                    
    format(var, 32"Fishes=%d\n",PlayerInfo[playerid][pFishes]);fwrite(hFile, var);
                    
    format(var, 32"BiggestFish=%d\n",PlayerInfo[playerid][pBiggestFish]);fwrite(hFile, var);
                    
    format(var, 32"Job=%d\n",PlayerInfo[playerid][pJob]);fwrite(hFile, var);
                    
    format(var, 32"Paycheck=%d\n",PlayerInfo[playerid][pPayCheck]);fwrite(hFile, var);
                    
    format(var, 32"HeadValue=%d\n",PlayerInfo[playerid][pHeadValue]);fwrite(hFile, var);
                    
    format(var, 32"Jailed=%d\n",PlayerInfo[playerid][pJailed]);fwrite(hFile, var);
                    
    format(var, 32"JailTime=%d\n",PlayerInfo[playerid][pJailTime]);fwrite(hFile, var);
                    
    format(var, 32"Materials=%d\n",PlayerInfo[playerid][pMats]);fwrite(hFile, var);
                    
    format(var, 32"Drugs=%d\n",PlayerInfo[playerid][pDrugs]);fwrite(hFile, var);
                    
    format(var, 32"Leader=%d\n",PlayerInfo[playerid][pLeader]);fwrite(hFile, var);
                    
    format(var, 32"Member=%d\n",PlayerInfo[playerid][pMember]);fwrite(hFile, var);
                    
    format(var, 32"FMember=%d\n",PlayerInfo[playerid][pFMember]);fwrite(hFile, var);
                    
    format(var, 32"Rank=%d\n",PlayerInfo[playerid][pRank]);fwrite(hFile, var);
                    
    format(var, 32"Char=%d\n",PlayerInfo[playerid][pChar]);fwrite(hFile, var);
                    
    format(var, 32"ContractTime=%d\n",PlayerInfo[playerid][pContractTime]);fwrite(hFile, var);
                    
    format(var, 32"DetSkill=%d\n",PlayerInfo[playerid][pDetSkill]);fwrite(hFile, var);
                    
    format(var, 32"SexSkill=%d\n",PlayerInfo[playerid][pSexSkill]);fwrite(hFile, var);
                    
    format(var, 32"BoxSkill=%d\n",PlayerInfo[playerid][pBoxSkill]);fwrite(hFile, var);
                    
    format(var, 32"LawSkill=%d\n",PlayerInfo[playerid][pLawSkill]);fwrite(hFile, var);
                    
    format(var, 32"MechSkill=%d\n",PlayerInfo[playerid][pMechSkill]);fwrite(hFile, var);
                    
    format(var, 32"JackSkill=%d\n",PlayerInfo[playerid][pJackSkill]);fwrite(hFile, var);
                    
    format(var, 32"CarSkill=%d\n",PlayerInfo[playerid][pCarSkill]);fwrite(hFile, var);
                    
    format(var, 32"NewsSkill=%d\n",PlayerInfo[playerid][pNewsSkill]);fwrite(hFile, var);
                    
    format(var, 32"DrugsSkill=%d\n",PlayerInfo[playerid][pDrugsSkill]);fwrite(hFile, var);
                    
    format(var, 32"CookSkill=%d\n",PlayerInfo[playerid][pCookSkill]);fwrite(hFile, var);
                    
    format(var, 32"FishSkill=%d\n",PlayerInfo[playerid][pFishSkill]);fwrite(hFile, var);
                    
    format(var, 32"MobDengi=%d\n",PlayerInfo[playerid][pMobDengi]);fwrite(hFile, var);
                    
    format(var, 32"pSHealth=%.1f\n",PlayerInfo[playerid][pSHealth]);fwrite(hFile, var);
                    
    GetPlayerHealth(playerid,PlayerInfo[playerid][pHealth]);
                    
    format(var, 32"pHealth=%.1f\n",PlayerInfo[playerid][pHealth]);fwrite(hFile, var);
                    
    format(var, 32"Int=%d\n",PlayerInfo[playerid][pInt]);fwrite(hFile, var);
                    
    format(var, 32"Local=%d\n",PlayerInfo[playerid][pLocal]);fwrite(hFile, var);
                    
    format(var, 32"Team=%d\n",PlayerInfo[playerid][pTeam]);fwrite(hFile, var);
                    
    format(var, 32"Model=%d\n",PlayerInfo[playerid][pModel]);fwrite(hFile, var);
                    
    format(var, 32"PhoneNr=%d\n",PlayerInfo[playerid][pPnumber]);fwrite(hFile, var);
                    
    format(var, 32"House=%d\n",PlayerInfo[playerid][pPhousekey]);fwrite(hFile, var);
                    
    format(var, 32"Bizz=%d\n",PlayerInfo[playerid][pPbiskey]);fwrite(hFile, var);
                    if ((
    PlayerInfo[playerid][pPos_x]==0.0 && PlayerInfo[playerid][pPos_y]==0.0 && PlayerInfo[playerid][pPos_z]==0.0))
                    {
                        
    PlayerInfo[playerid][pPos_x] = 1684.9;
                        
    PlayerInfo[playerid][pPos_y] = -2244.5;
                        
    PlayerInfo[playerid][pPos_z] = 13.5;
                    }
                    if(
    Spectate[playerid] != 255)
                    {
                        
    PlayerInfo[playerid][pPos_x] = Unspec[playerid][sPx];
                        
    PlayerInfo[playerid][pPos_y] = Unspec[playerid][sPy];
                        
    PlayerInfo[playerid][pPos_z] = Unspec[playerid][sPz];
                        
    PlayerInfo[playerid][pInt] = Unspec[playerid][sPint];
                        
    PlayerInfo[playerid][pLocal] = Unspec[playerid][sLocal];
                    }
                    
    format(var, 32"Pos_x=%.1f\n",PlayerInfo[playerid][pPos_x]);fwrite(hFile, var);
                    
    format(var, 32"Pos_y=%.1f\n",PlayerInfo[playerid][pPos_y]);fwrite(hFile, var);
                    
    format(var, 32"Pos_z=%.1f\n",PlayerInfo[playerid][pPos_z]);fwrite(hFile, var);
                    
    format(var, 32"CarLic=%d\n",PlayerInfo[playerid][pCarLic]);fwrite(hFile, var);
                    
    format(var, 32"FlyLic=%d\n",PlayerInfo[playerid][pFlyLic]);fwrite(hFile, var);
                    
    format(var, 32"BoatLic=%d\n",PlayerInfo[playerid][pBoatLic]);fwrite(hFile, var);
                    
    format(var, 32"FishLic=%d\n",PlayerInfo[playerid][pFishLic]);fwrite(hFile, var);
                    
    format(var, 32"GunLic=%d\n",PlayerInfo[playerid][pGunLic]);fwrite(hFile, var);
                    
    format(var, 32"Gun0=%d\n"PlayerInfo[playerid][pGun0]);fwrite(hFile, var);
                     
    format(var, 32"Gun1=%d\n"PlayerInfo[playerid][pGun1]);fwrite(hFile, var);
                    
    format(var, 32"Gun2=%d\n"PlayerInfo[playerid][pGun2]);fwrite(hFile, var);
                    
    format(var, 32"Gun3=%d\n"PlayerInfo[playerid][pGun3]);fwrite(hFile, var);
                    
    format(var, 32"Gun4=%d\n"PlayerInfo[playerid][pGun4]);fwrite(hFile, var);
                    
    format(var, 32"Gun5=%d\n"PlayerInfo[playerid][pGun5]);fwrite(hFile, var);
                    
    format(var, 32"Gun6=%d\n"PlayerInfo[playerid][pGun6]);fwrite(hFile, var);
                    
    format(var, 32"Gun7=%d\n"PlayerInfo[playerid][pGun7]);fwrite(hFile, var);
                    
    format(var, 32"Gun8=%d\n"PlayerInfo[playerid][pGun8]);fwrite(hFile, var);
                    
    format(var, 32"Gun9=%d\n"PlayerInfo[playerid][pGun9]);fwrite(hFile, var);
                    
    format(var, 32"Gun10=%d\n"PlayerInfo[playerid][pGun10]);fwrite(hFile, var);
                    
    format(var, 32"Gun11=%d\n"PlayerInfo[playerid][pGun11]);fwrite(hFile, var);
                    
    format(var, 32"Ammo0=%d\n"PlayerInfo[playerid][pAmmo0]);fwrite(hFile, var);
                    
    format(var, 32"Ammo1=%d\n"PlayerInfo[playerid][pAmmo1]);fwrite(hFile, var);
                    
    format(var, 32"Ammo2=%d\n"PlayerInfo[playerid][pAmmo2]);fwrite(hFile, var);
                    
    format(var, 32"Ammo3=%d\n"PlayerInfo[playerid][pAmmo3]);fwrite(hFile, var);
                    
    format(var, 32"Ammo4=%d\n"PlayerInfo[playerid][pAmmo4]);fwrite(hFile, var);
                    
    format(var, 32"Ammo5=%d\n"PlayerInfo[playerid][pAmmo5]);fwrite(hFile, var);
                    
    format(var, 32"Ammo6=%d\n"PlayerInfo[playerid][pAmmo6]);fwrite(hFile, var);
                    
    format(var, 32"Ammo7=%d\n"PlayerInfo[playerid][pAmmo7]);fwrite(hFile, var);
                    
    format(var, 32"Ammo8=%d\n"PlayerInfo[playerid][pAmmo8]);fwrite(hFile, var);
                    
    format(var, 32"Ammo9=%d\n"PlayerInfo[playerid][pAmmo9]);fwrite(hFile, var);
                    
    format(var, 32"Ammo10=%d\n"PlayerInfo[playerid][pAmmo10]);fwrite(hFile, var);
                    
    format(var, 32"Ammo11=%d\n"PlayerInfo[playerid][pAmmo11]);fwrite(hFile, var);
                    
    format(var, 32"CarTime=%d\n",PlayerInfo[playerid][pCarTime]);fwrite(hFile, var);
                    
    format(var, 32"PayDay=%d\n",PlayerInfo[playerid][pPayDay]);fwrite(hFile, var);
                    
    format(var, 32"PayDayHad=%d\n",PlayerInfo[playerid][pPayDayHad]);fwrite(hFile, var);
                    
    format(var, 32"CDPlayer=%d\n",PlayerInfo[playerid][pCDPlayer]);fwrite(hFile, var);
                    
    format(var, 32"Wins=%d\n",PlayerInfo[playerid][pWins]);fwrite(hFile, var);
                    
    format(var, 32"Loses=%d\n",PlayerInfo[playerid][pLoses]);fwrite(hFile, var);
                    
    format(var, 32"AlcoholPerk=%d\n",PlayerInfo[playerid][pAlcoholPerk]);fwrite(hFile, var);
                    
    format(var, 32"DrugPerk=%d\n",PlayerInfo[playerid][pDrugPerk]);fwrite(hFile, var);
                    
    format(var, 32"MiserPerk=%d\n",PlayerInfo[playerid][pMiserPerk]);fwrite(hFile, var);
                    
    format(var, 32"PainPerk=%d\n",PlayerInfo[playerid][pPainPerk]);fwrite(hFile, var);
                    
    format(var, 32"TraderPerk=%d\n",PlayerInfo[playerid][pTraderPerk]);fwrite(hFile, var);
                    
    format(var, 32"Tutorial=%d\n",PlayerInfo[playerid][pTut]);fwrite(hFile, var);
                    
    format(var, 32"Mission=%d\n",PlayerInfo[playerid][pMissionNr]);fwrite(hFile, var);
                    
    format(var, 32"Warnings=%d\n",PlayerInfo[playerid][pWarns]);fwrite(hFile, var);
                    
    format(var, 32"World=%d\n",PlayerInfo[playerid][pVirWorld]);fwrite(hFile, var);
                    
    format(var, 32"Force=%d\n",PlayerInfo[playerid][pForce]);fwrite(hFile, var);
                    
    format(var, 32"Adjustable=%d\n",PlayerInfo[playerid][pAdjustable]);fwrite(hFile, var);
                    
    format(var, 32"Fuel=%d\n",PlayerInfo[playerid][pFuel]);fwrite(hFile, var);
                    
    format(var, 32"Married=%d\n",PlayerInfo[playerid][pMarried]);fwrite(hFile, var);
                    
    format(var, 32"MarriedTo=%s\n",PlayerInfo[playerid][pMarriedTo]);fwrite(hFile, var);
                    
    format(var, 32"Clock=%d\n",PlayerInfo[playerid][pClock]);fwrite(hFile, var);//часы
                    
    format(var, 32"Card=%d\n",PlayerInfo[playerid][pCard]);fwrite(hFile, var);// Банковская карта
                    
    format(var, 32"GunSkill=%d\n",PlayerInfo[playerid][pGunSkill]);fwrite(hFile, var);//работа оружейника (скилл)
                    
    format(var, 32"MutedTime=%d\n",PlayerInfo[playerid][pMutedTime]);fwrite(hFile, var);// муте на время
                    
    format(var, 32"RabotalLopatoy=%d\n",PlayerInfo[playerid][pRabotalLopatoy]);fwrite(hFile, var);
                    
    format(var, 32"Zoloto=%d\n",PlayerInfo[playerid][pZoloto]);fwrite(hFile, var);
                    
    format(var, 32"Radio=%d\n",PlayerInfo[playerid][pRadio]);fwrite(hFile, var);
                    
    format(var, 32"Pasport=%d\n",PlayerInfo[playerid][pPasport]);fwrite(hFile, var);
                    
    format(var, 32"Rope=%d\n",PlayerInfo[playerid][pRope]);fwrite(hFile, var);
                    
    format(var, 32"NeSdal=%d\n",PlayerInfo[playerid][pNeSdal]);fwrite(hFile, var);
                    
    format(var, 32"Roliki=%d\n",PlayerInfo[playerid][pRoliki]);fwrite(hFile, var);
                    
    format(var, 32"Sigs=%d\n",PlayerInfo[playerid][pSigs]);fwrite(hFile, var);
                    
    format(var, 32"Note1=%s\n",PlayerInfo[playerid][pNote1]);fwrite(hFile, var);
                    
    format(var, 32"Note1s=%d\n",PlayerInfo[playerid][pNote1s]);fwrite(hFile, var);
                    
    format(var, 32"Note2=%s\n",PlayerInfo[playerid][pNote2]);fwrite(hFile, var);
                    
    format(var, 32"Note2s=%d\n",PlayerInfo[playerid][pNote2s]);fwrite(hFile, var);
                    
    format(var, 32"Note3=%s\n",PlayerInfo[playerid][pNote3]);fwrite(hFile, var);
                    
    format(var, 32"Note3s=%d\n",PlayerInfo[playerid][pNote3s]);fwrite(hFile, var);
                    
    format(var, 32"Note4=%s\n",PlayerInfo[playerid][pNote4]);fwrite(hFile, var);
                    
    format(var, 32"Note4s=%d\n",PlayerInfo[playerid][pNote4s]);fwrite(hFile, var);
                    
    format(var, 32"Note5=%s\n",PlayerInfo[playerid][pNote5]);fwrite(hFile, var);
                    
    format(var, 32"Note5s=%d\n",PlayerInfo[playerid][pNote5s]);fwrite(hFile, var);
                    
    fclose(hFile);
                }
        }
        return 
    1;

    С меня +

  2. #2
    Пользователь
    Аватар для IncoGnitO
    Статус
    Оффлайн
    Регистрация
    11.11.2010
    Сообщений
    251
    Репутация
    22 [+/-] 
    кикает приреги а когда заходиш если тебе ник сменили всё норм

  3. #3
    Заблокирован
    Аватар для Korbell
    Статус
    Оффлайн
    Регистрация
    15.11.2010
    Адрес
    KиеВ
    Сообщений
    511
    Репутация
    -4 [+/-] 
    Если у тебя есть
    PHP код:
    IsRPNick(playerid)

    то найди
    PHP код:
    new strfind(plname"_"); 
    и удали _


Ваши права

  • Вы не можете создавать новые темы
  • Вы не можете отвечать в темах
  • Вы не можете прикреплять вложения
  • Вы не можете редактировать свои сообщения
  •