Добро пожаловать на Pro Pawn - Портал о PAWN-скриптинге.

Реклама


**Как получить V.I.P** (Перейти)
Чтобы заказать рекламу на Pro-Pawn.Ru, обращайтесь в Skype.
Баннерная реклама 200руб/мес, Текстовая 100руб/мес.
Показано с 1 по 4 из 4
  1. #1
    Аватар для djbond
    Пользователь

    Статус
    Оффлайн
    Регистрация
    16.05.2016
    Сообщений
    7
    Репутация:
    0 ±

    Окно регистрации

    Не работает окно регистрации,все подключил базу,плагины,всеровно тоже самое...

    Вот код
    PHP код:
    ---------- 
    Loaded log file"server_log.txt"
    ---------- 

    SA-MP Dedicated Server 
    ---------------------- 
    v0.3.7-R2, (C)2005-2015 SA-MP Team 

    [10:36:15query 1  (bool) 
    [
    10:36:15]  
    [
    10:36:15Server Plugins 
    [10:36:15] -------------- 
    [
    10:36:15]  Loading plugindc_cmd.dll 
    [10:36:15]   Daniel's CMD plugin v2.8 
    [10:36:15]     (c) 2014 Daniel_Cortez 
    [10:36:15]     www.pro-pawn.ru 
    [10:36:15]   Loaded. 
    [10:36:15]  Loading plugin: mysql.dll 
    [10:36:15]  >> plugin.mysql: running on 1 thread. 
    [10:36:15]  >> plugin.mysql: R31 successfully loaded. 
    [10:36:15]   Loaded. 
    [10:36:15]  Loading plugin: sscanf.dll 
    [10:36:15]  

    [10:36:15]  =============================== 

    [10:36:15]       sscanf plugin loaded.      

    [10:36:15]          Version:  2.8.1         

    [10:36:15]    (c) 2012 Alex "Y_Less" Cole   

    [10:36:15]  =============================== 

    [10:36:15]   Loaded. 
    [10:36:15]  Loading plugin: streamer.dll 
    [10:36:15]  

    *** Streamer Plugin v2.7.4 by Incognito loaded *** 

    [10:36:15]   Loaded. 
    [10:36:15]  Loaded 4 plugins. 

    [10:36:15]  
    [10:36:15] Filterscripts 
    [10:36:15] --------------- 
    [10:36:15]   Loading filterscript '
    0.amx'... 
    [10:36:15]   Unable to load filterscript '
    0.amx'. 
    [10:36:15]   Loaded 0 filterscripts. 

    [10:36:16] MySQL server has gone away 
    [10:36:16] Number of vehicle models: 76 
    [10:36:44] [connection] 192.168.0.103:59152 requests connection cookie. 
    [10:36:45] [connection] incoming connection: 192.168.0.103:59152 id: 0 
    [10:36:45] [join] Vlad_Shturmak has joined the server (0:192.168.0.103) 
    PHP код:
    lanmode 0 
    rcon_password changemeplz 
    hostname SA
    -MP 0.3 Server 
    gamemode0 srpfuse 1 
    filterscripts base gl_actions gl_property gl_realtime 
    announce 0 
    weburl www
    .sa-mp.com 
    maxnpc 0 
    onfoot_rate 40 
    incar_rate 40 
    weapon_rate 40 
    stream_distance 300.0 
    stream_rate 1000 
    plugins dc_cmd
    .dll mysql.dll sscanf.dll streamer.dll  
    audio
    .dll FileFunctions.dll pleoinput.dll regex.dll 
    maxplayers 100 
    port 7777 
    query 1 
    Паблик OnPlayerConnect
    PHP код:
    public OnPlayerConnect(playerid


        
    Players[players++]=playerid
        
    //if(SERVERTEST) SendMes(playerid,COLOR_BLUE,"CONNECT: PLAYERID - %i",playerid); 
        
    format(string,90"{33AA33}Склад армии ЛВ: {FFFFFF}%i"armmatbi); 
        
    UpdateDynamic3DTextLabelText(LvaLable0xFFFF00FFstring); 
        
    SetPVarInt(playerid"AntiBreik"500); 
        
    SetPVarInt(playerid"WarnCarShot"2); 
        
    SDuty[playerid] = 0
        
    Duty[playerid] = 0
        
    PTEMP[playerid][pLogin] = 0
        
    PTEMP[playerid][pTut] = 0
        
    format(PTEMP[playerid][pvIp],16,"no"); 
        
    ChatOOC[playerid] = 1
        
    shotTime[playerid] = 0
        
    KillList[playerid] = false
        
    shot[playerid] = 0
        
    SetPlayerHealthAC(playerid100); 
        
    GangZoneShowForPlayer(playeridSFaCOLOR_YELLOW2); 
        
    GangZoneShowForPlayer(playeridLSportCOLOR_YELLOW2); 
        
    TextDrawHideForPlayer(playeridSpeed); 
        
    TextDrawHideForPlayer(playeridDRAP); 
        
    GetPlayerName(playeridPTEMP[playerid][pName], MAX_PLAYER_NAME); 
        if(
    strcmp(PTEMP[playerid][pName],"None",true) == 0) return kick(playerid); 
        
    PlayerArmor[playerid] = 0
        new 
    unixtime GetTickCount(), ip[32]; 
        
    GetPlayerIp(playerid,ip,32); 
        for(new 
    0MAX_PLAYERSi++) 
        { 
            if(!
    strcmp(ExitInfo[i][ExitIP],iptrue)) 
            { 
                if(
    unixtime ExitInfo[i][ExitTime] <= 15000) return Kick(playerid) ,SendClientMessage(playeridCOLOR_LIGHTRED"Повторный вход на сервер возможен не раньше, чем через 15 секунд"), SetTimerEx("NewKick"100false"d"playerid); 
                else 
    strmid(ExitInfo[i][ExitIP], "None"0strlen("None"), 32), ExitInfo[i][ExitTime] = 0
            } 
        } 
        
    // 
        //************************ anti gm 
        /*for(new i = 0; i <13; i++ ) pAmmo1[playerid][i] = 0; 
        pHealth[playerid] = 0.0; 
        pArmor[playerid] = 0.0; 
        HWarning[playerid] = 0; 
        AWarning[playerid] = 0;*/ 
        //************************************* 
        // лвл и клист для ботов 
        
    new randombot Random(0,14); 
        if(
    randombot == 0) { SetPlayerScore(playerid1); SetPlayerColor(playeridTEAM_HIT_COLOR); } // 0 
        
    if(randombot == 1) { SetPlayerScore(playerid2); SetPlayerColor(playerid0x089401FF); } // 1 
        
    if(randombot == 2) { SetPlayerScore(playerid2); SetPlayerColor(playerid0x2A9170FF); } // 4 
        
    if(randombot == 3) { SetPlayerScore(playerid2); SetPlayerColor(playerid0xFFDE24FF); } // 25 
        
    if(randombot == 4) { SetPlayerScore(playerid2); SetPlayerColor(playerid0x0CD7E7FF); } // 18 
        
    if(randombot == 5) { SetPlayerScore(playerid2); SetPlayerColor(playerid0xB313E7FF); } // 23 
        
    if(randombot == 6) { SetPlayerScore(playerid3); SetPlayerColor(playerid0x003366FF); } // 7 
        
    if(randombot == 7) { SetPlayerScore(playerid3); SetPlayerColor(playerid0xB30000FF); } // 12 
        
    if(randombot == 8) { SetPlayerScore(playerid3); SetPlayerColor(playerid0x110CE7FF); } // 17 
        
    if(randombot == 9) { SetPlayerScore(playerid3); SetPlayerColor(playerid0x139BECFF); } // 19 
        
    if(randombot == 10) { SetPlayerScore(playerid4); SetPlayerColor(playerid0xFF0606FF); } // 8 
        
    if(randombot == 11) { SetPlayerScore(playerid4); SetPlayerColor(playerid0xDDB201FF); } // 27 
        
    if(randombot == 12) { SetPlayerScore(playerid4); SetPlayerColor(playerid0x868484FF); } // 30 
        
    if(randombot == 13) { SetPlayerScore(playerid5); SetPlayerColor(playerid0x333333FF); } // 32 
        //============================================================ 
        
    SpecAd[playerid] = 65535
        
    SpecID[playerid] = 65535
        
    TimeNumberShot[playerid] = 0
        
    TimeNumberShotTarget[playerid] = 0
        
    Spectate[playerid] = 0
        
    LastReconClick[playerid][0] = 0
        
    LastReconClick[playerid][1] = 0
        
    ReconSelect[playerid] = INVALID_TEXT_DRAW
        
    ReconSelectSub[playerid] = INVALID_TEXT_DRAW

        
    SetPlayerArmourAC(playerid0); 
        
    //SetPlayerColor(playerid, TEAM_HIT_COLOR); 
        
    TextDrawShowForPlayer(playeridURL); 
        
    PTEMP[playerid][SalonCar] = INVALID_VEHICLE_ID
        
    PTEMP[playerid][SalonTime] = 0
        
    SetPVarInt(playerid,"SelectAvto",-1); 

        
    //---------------------------------- 
        
    SERIU[playerid][sID] = INVALID_PLAYER_ID
        for(new 
    s3s++) 
        { 
            
    SERIU[playerid][SShout][s] = 0
            
    SERIU[playerid][SAFK][s] = 0
        } 
        
    SERIU[playerid][SShout][3] = 0
        
    //pTimer[playerid] = SetTimerEx("OnPlayerUpdateEx",1000,true,"i",playerid); 
        // 

        //========================================================================== 
        
    return true

    stock LoadRecon(playerid

        
    ReconPlayer[0] = CreatePlayerTextDraw(playerid,530.000000180.000000"x"); 
        
    PlayerTextDrawBackgroundColor(playeridReconPlayer[0], 0x000000AA); 
        
    PlayerTextDrawFont(playeridReconPlayer[0], 3); 
        
    PlayerTextDrawLetterSize(playerid,ReconPlayer[0], 0.00000020.600000); 
        
    PlayerTextDrawColor(playerid,ReconPlayer[0], 0xE1E1E1AA); 
        
    PlayerTextDrawSetOutline(playerid,ReconPlayer[0], 1); 
        
    PlayerTextDrawSetProportional(playerid,ReconPlayer[0], 1); 
        
    PlayerTextDrawSetShadow(playerid,ReconPlayer[0], 2); 
        
    PlayerTextDrawUseBox(playerid,ReconPlayer[0], 1); 
        
    PlayerTextDrawBoxColor(playerid,ReconPlayer[0], 0x00000055); 
        
    PlayerTextDrawTextSize(playerid,ReconPlayer[0], 640.0000.000000); 
        
    ReconPlayer[1] = CreatePlayerTextDraw(playerid,529.000000179.000000"x"); 
        
    PlayerTextDrawBackgroundColor(playerid,ReconPlayer[1], 0x000000AA); 
        
    PlayerTextDrawFont(playerid,ReconPlayer[1], 3); 
        
    PlayerTextDrawLetterSize(playerid,ReconPlayer[1], 0.00000020.600000); 
        
    PlayerTextDrawColor(playerid,ReconPlayer[1], 0xE1E1E1AA); 
        
    PlayerTextDrawSetOutline(playerid,ReconPlayer[1], 1); 
        
    PlayerTextDrawSetProportional(playerid,ReconPlayer[1], 1); 
        
    PlayerTextDrawSetShadow(playerid,ReconPlayer[1], 2); 
        
    PlayerTextDrawUseBox(playerid,ReconPlayer[1], 1); 
        
    PlayerTextDrawBoxColor(playerid,ReconPlayer[1], 0xAAAAAA33); 
        
    PlayerTextDrawTextSize(playerid,ReconPlayer[1], 641.0000000.000000); 
        
    ReconPlayer[2] = CreatePlayerTextDraw(playerid,0.000180.000"x"); 
        
    PlayerTextDrawBackgroundColor(playerid,ReconPlayer[2], 0x000000AA); 
        
    PlayerTextDrawFont(playerid,ReconPlayer[2], 3); 
        
    PlayerTextDrawLetterSize(playerid,ReconPlayer[2], 0.00000018.540); 
        
    PlayerTextDrawColor(playerid,ReconPlayer[2], 0xE1E1E1AA); 
        
    PlayerTextDrawSetOutline(playerid,ReconPlayer[2], 1); 
        
    PlayerTextDrawSetProportional(playerid,ReconPlayer[2], 1); 
        
    PlayerTextDrawSetShadow(playerid,ReconPlayer[2], 2); 
        
    PlayerTextDrawUseBox(playerid,ReconPlayer[2], 1); 
        
    PlayerTextDrawBoxColor(playerid,ReconPlayer[2], 0x00000055); 
        
    PlayerTextDrawTextSize(playerid,ReconPlayer[2], 70.0000.000000); 
        
    ReconPlayer[3] = CreatePlayerTextDraw(playerid,0.000179.000"x"); 
        
    PlayerTextDrawBackgroundColor(playerid,ReconPlayer[3], 0x000000AA); 
        
    PlayerTextDrawFont(playerid,ReconPlayer[3], 3); 
        
    PlayerTextDrawLetterSize(playerid,ReconPlayer[3], 0.00000018.746); 
        
    PlayerTextDrawColor(playerid,ReconPlayer[3], 0xE1E1E1AA); 
        
    PlayerTextDrawSetOutline(playerid,ReconPlayer[3], 1); 
        
    PlayerTextDrawSetProportional(playerid,ReconPlayer[3], 1); 
        
    PlayerTextDrawSetShadow(playerid,ReconPlayer[3], 2); 
        
    PlayerTextDrawUseBox(playerid,ReconPlayer[3], 1); 
        
    PlayerTextDrawBoxColor(playerid,ReconPlayer[3], 0xAAAAAA33); 
        
    PlayerTextDrawTextSize(playerid,ReconPlayer[3], 71.0000.000000); 
        
    ReconPlayer[4] = CreatePlayerTextDraw(playerid,535.000210.000"~n~~g~::Level:~n~~g~::Warns:~n~~r~::Armour:~n~~r~::Health:~n~~b~::CarHP:~n~~b~::Speed:~n~~y~::Ping:~n~~y~::Ammo:~n~~p~::Shot:~n~~p~::TimeShot:~n~~g~::AFKTime:~n~~g~::Engine:"); 
        
    PlayerTextDrawBackgroundColor(playerid,ReconPlayer[4], 0x000000AA); 
        
    PlayerTextDrawSetProportional(playerid,ReconPlayer[4], 1); 
        
    PlayerTextDrawLetterSize(playerid,ReconPlayer[4], 0.2001.100); 
        
    PlayerTextDrawColor(playerid,ReconPlayer[4], 0xFFFFFFAA); 
        
    PlayerTextDrawFont(playerid,ReconPlayer[4], 1); 
        
    PlayerTextDrawSetShadow(playerid,ReconPlayer[4], 2); 
        
    PlayerTextDrawSetOutline(playerid,ReconPlayer[4], 1); 
        
    PlayerTextDrawUseBox(playerid,ReconPlayer[4], 0); 
        
    ReconPlayer[5] = CreatePlayerTextDraw(playerid,575.000210.000" "); 
        
    PlayerTextDrawBackgroundColor(playerid,ReconPlayer[5], 0x000000AA); 
        
    PlayerTextDrawSetProportional(playerid,ReconPlayer[5], 1); 
        
    PlayerTextDrawLetterSize(playerid,ReconPlayer[5], 0.2001.100); 
        
    PlayerTextDrawColor(playerid,ReconPlayer[5], 0xFFFFFFAA); 
        
    PlayerTextDrawFont(playerid,ReconPlayer[5], 1); 
        
    PlayerTextDrawSetShadow(playerid,ReconPlayer[5], 2); 
        
    PlayerTextDrawSetOutline(playerid,ReconPlayer[5], 1); 
        
    PlayerTextDrawUseBox(playerid,ReconPlayer[5], 0); 
        
    ReconPlayer[6] = CreatePlayerTextDraw(playerid,585.000000190.000000" "); 
        
    PlayerTextDrawBackgroundColor(playerid,ReconPlayer[6], 0x000000AA); 
        
    PlayerTextDrawSetProportional(playerid,ReconPlayer[6], 1); 
        
    PlayerTextDrawLetterSize(playerid,ReconPlayer[6], 0.3001.400); 
        
    PlayerTextDrawColor(playerid,ReconPlayer[6], 0xFFFFFFAA); 
        
    PlayerTextDrawFont(playerid,ReconPlayer[6], 1); 
        
    PlayerTextDrawAlignment(playerid,ReconPlayer[6], 2); 
        
    PlayerTextDrawSetShadow(playerid,ReconPlayer[6], 2); 
        
    PlayerTextDrawSetOutline(playerid,ReconPlayer[6], 1); 
        
    PlayerTextDrawUseBox(playerid,ReconPlayer[6], 0); 
        
    CreateReconButtonn(playerid,35.000195.000"Change"7); 
         
    CreateReconButtonn(playerid,35.000212.000"Check >>"8); 
        
    CreateReconButtonn(playerid,35.000229.000"Drop >>"9); 
        
    CreateReconButtonn(playerid,35.000246.000"Kick >>"10); 
        
    CreateReconButtonn(playerid,35.000263.000"Warn"11); 
        
    CreateReconButtonn(playerid,35.000280.000"Ban >>"12); 
        
    CreateReconButtonn(playerid,35.000297.000"Stats >>"13); 
        
    CreateReconButtonn(playerid,35.000314.000"Refresh"14); 
        
    CreateReconButtonn(playerid,35.000331.000"Exit"15); 
        
    CreateReconButtonn(playerid,100.000212.000"Check-GM"16);//Check >> 
        
    CreateReconButtonn(playerid,100.000229.000"Check-GM2"17);//Check >> 
        
    CreateReconButtonn(playerid,100.000246.000"Check-GMCar"18);//Check >> 
        
    CreateReconButtonn(playerid,100.000263.000"ResetShot"19);//Check >> 
        
    CreateReconButtonn(playerid,100.000229.000"Mute"20);//Drop >> 
        
    CreateReconButtonn(playerid,100.000246.000"Slap"21);//Drop >> 
        
    CreateReconButtonn(playerid,100.000263.000"Prison"22);//Drop >> 
        
    CreateReconButtonn(playerid,100.000280.000"Freeze"23);//Drop >> 
        
    CreateReconButtonn(playerid,100.000297.000"UnFreeze"24);//Drop >> 
        
    CreateReconButtonn(playerid,100.000246.000"SKick"25);//Kick >> 
        
    CreateReconButtonn(playerid,100.000263.000"Kick"26);//Kick >> 
        
    CreateReconButtonn(playerid,100.000280.000"Ban"27);//Ban >> 
        
    CreateReconButtonn(playerid,100.000297.000"SBan"28);//Ban >> 
        
    CreateReconButtonn(playerid,100.000314.000"IBan"29);//Ban >> 
        
    CreateReconButtonn(playerid,100.000297.000"Stats"30);//Stats >> 
        
    CreateReconButtonn(playerid,100.000314.000"IWep"31);//Stats >> 
        
    CreateReconButtonn(playerid,100.000331.000"GetIP"32);//Stats >> 
        
    CreateReconButtonn(playerid,100.000348.000"Serial/S0b"33);//Stats >> 
        
    CreateReconButtonn(playerid,585.00350.00"Help"34); // Рекон клавиша 
        
    Seriu[playerid][0] = CreatePlayerTextDraw(playerid,589.00145.00"Nik Anson~n~ID: 666"); 
        
    PlayerTextDrawAlignment(playerid,Seriu[playerid][0], 2); 
        
    PlayerTextDrawLetterSize(playerid,Seriu[playerid][0],  0.2400000.899999); 
        
    Seriu[playerid][1] = CreatePlayerTextDraw(playerid,578.00165.00"1 : 1 / 8~n~0~n~0~n~50~n~0~n~0 / 0~n~86~n~0 : 0 ~n~0 / 0 : 0%~n~0 / 0 : 0%~n~23 : 0"); 
        
    PlayerTextDrawLetterSize(playerid,Seriu[playerid][1], 0.1999990.899999); 
        for(new 
    h2++) 
        { 
            
    PlayerTextDrawBackgroundColor(playerid,Seriu[playerid][h], 255); 
            
    PlayerTextDrawFont(playerid,Seriu[playerid][h], 1); 
            
    PlayerTextDrawColor(playerid,Seriu[playerid][h], -1); 
            
    PlayerTextDrawSetOutline(playerid,Seriu[playerid][h], 1); 
            
    PlayerTextDrawSetProportional(playerid,Seriu[playerid][h], 1); 
            
    PlayerTextDrawSetShadow(playerid,Seriu[playerid][h],0); 
        } 

    stock UpdateFish(playerid

        if(
    GetPVarInt(playerid,"fish_sonar")) format(string,128,"~y~Tackle: ~w~%i~n~~y~Worms: ~w~%i~n~~y~Sonar: ~w~%.2f~n~~n~~y~Press: ~g~L.ALT",GetPVarInt(playerid,"fish_gear"),GetPVarInt(playerid,"fish_worms"),Sonar[IsAtFishPlace(playerid)]); 
        else 
    format(string,128,"~y~Tackle: ~w~%i~n~~y~Worms: ~w~%i~n~~n~~y~Press: ~g~L.ALT",GetPVarInt(playerid,"fish_gear"),GetPVarInt(playerid,"fish_worms")); 
        
    PlayerTextDrawSetString(playerid,FishingText[playerid],string); 
        return 
    true


  2. #2
    Аватар для Osetin
    •Администратор•

    Статус
    Оффлайн
    Регистрация
    26.03.2013
    Адрес
    Pro-Pawn.Ru
    Сообщений
    3,428
    Репутация:
    1079 ±
    Неправильно подключились к базе данных.

  3. #3
    Аватар для vovandolg
    Пользователь

    Статус
    Оффлайн
    Регистрация
    17.11.2015
    Адрес
    Stavropol
    Сообщений
    1,360
    Репутация:
    113 ±
    Цитата Сообщение от djbond Посмотреть сообщение
    PHP код:
    connection cookie
     )))

    [Anticheat]___Invisible Fly Hack
    [Anticheat]____Weapon/Ammo Hack
    [Function]______ResetPlayerWeaponSlot
    [Function]_______FIX_SetPlayerAmmo
    [ServerMod]______TDM | Zombie Apokalypse

  4. #4
    Аватар для Sp1ke
    Пользователь

    Статус
    Оффлайн
    Регистрация
    01.03.2015
    Сообщений
    239
    Репутация:
    50 ±
    Цитата Сообщение от vovandolg Посмотреть сообщение
     )))

    Как всегда - кратко и главное по теме. Ита жи риальна смищно!

  5. Пользователь сказал cпасибо:
    $continue$ (16.05.2016)
 

 

Информация о теме

Пользователи, просматривающие эту тему

Эту тему просматривают: 1 (пользователей: 0 , гостей: 1)

Ваши права

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