Jump to content
  • 0

Cand intru pe serverul meu de samp nu mi se salveaza parola in baza de date Ajutati-ma va rog!!


Dumby 24

Question

Cand intru pe serverul meu de samp nu mi se salveaza parola in baza de date Ajutati-ma va rog!!

// ONGAMEMODEINIT 
public OnGameModeInit()
{
    mysql_log(LOG_ERROR | LOG_WARNING, LOG_TYPE_HTML);
    SQL = mysql_connect("localhost", "root", "panel", "");
    SetNameTagDrawDistance(30);
    EnableStuntBonusForAll(0);
    ShowPlayerMarkers(2);
    LimitPlayerMarkerRadius(5.0);
    countdown = 0;
    textile = TextDrawCreate(102.000000, 193.000000, " ");
    TextDrawBackgroundColor(textile, 255);
    TextDrawFont(textile, 2);
    TextDrawLetterSize(textile, 0.500000, 2.399999);
    TextDrawColor(textile, -6749953);
    TextDrawSetOutline(textile, 0);
    TextDrawSetProportional(textile, 1);
    TextDrawSetShadow(textile, 1);
    TextDrawSetSelectable(textile, 0);
    for(new c=0;c<CAR_AMOUNT;c++)
    {
        Gas[c] = GasMax;
    }
    LoadTextdraws();
    LoadSystems();
    OnLoadAllCars();
    LoadAllDynamicObjects();
    LoadAllObjects();
    skinlist = LoadModelSelectionMenu("skins.txt");
    skinlist1 = LoadModelSelectionMenu("skins1.txt");
    skinlist2 = LoadModelSelectionMenu("skins2.txt");
    skinlist3 = LoadModelSelectionMenu("skins3.txt");
    skinlist4 = LoadModelSelectionMenu("skins4.txt");
    skinlist5 = LoadModelSelectionMenu("skins5.txt");
    skinlist6 = LoadModelSelectionMenu("skins6.txt");
    skinlist8 = LoadModelSelectionMenu("skins8.txt");
    skinlist9 = LoadModelSelectionMenu("skins9.txt");
    skinlist10 = LoadModelSelectionMenu("skins10.txt");
    skinlist11 = LoadModelSelectionMenu("skins11.txt");
    skinlist12 = LoadModelSelectionMenu("skins12.txt");
    skinlist13 = LoadModelSelectionMenu("skins13.txt");
    skinlist14 = LoadModelSelectionMenu("skins14.txt");
    skinlist15 = LoadModelSelectionMenu("skins15.txt");
    skinlist16 = LoadModelSelectionMenu("skins16.txt");
    skinlist17 = LoadModelSelectionMenu("skins17.txt");
    SetGameModeText(SERVER_VERSION);
    SendRconCommand("mapname LS, LV");
    SendRconCommand("scripter s4uriK");
    format(objstore, sizeof(objstore), "MOLE: I got nothing, check back with me later.");
    format(cbjstore, sizeof(cbjstore), "HQ: There is nothing in your Vicinity, Out.");

    xhq[1] = 1568.6251;      yhq[1] = -1690.5358;          zhq[1] = 5.8906;
    xhq[2] = 328.8737;       yhq[2] = -1513.1195;          zhq[2] = 36.0391;
    xhq[3] = 627.6160;       yhq[3] = -571.7920;           zhq[3] = 17.6242;
    xhq[4] = 1456.7423;      yhq[4] = 2773.3423;             zhq[4] = 10.8203;
    xhq[5] = 2495.3271;       yhq[5] = -1690.6740;         zhq[5] = 14.7656;
    xhq[6] = 725.6769;      yhq[6] = -1440.4506;         zhq[6] = 13.5391;
    xhq[7] = 689.9420;       yhq[7] = -1275.9573;           zhq[7] = 13.5595;
    xhq[8] = 2287.1047;       yhq[8] = 2431.7996;           zhq[8] = 10.8203;
    xhq[9] = -329.5258;      yhq[9] = 1536.7759;          zhq[9] = 76.6117;
    xhq[10] = 1455.2687;     yhq[10] = 750.8684;          zhq[10] = 11.0234;
    xhq[11] = 1081.1794;      yhq[11] = -345.3979;           zhq[11] = 73.9825;
    xhq[12] = 2435.3064;     yhq[12] = 1671.0139;          zhq[12] = 10.8203;
    xhq[13] = 2475.7747;     yhq[13] = -1750.5632;       zhq[13] = 13.5469;
    xhq[14] = 1173.2563;     yhq[14] = -1323.3102;       zhq[14] = 15.3943;
    xhq[15] = 2637.3118;     yhq[15] = 2352.0276;           zhq[15] = 10.8203;

    //Create3DTextLabel
    Create3DTextLabel("Parachute Cost: 10,000$\nType /buyparachute to buy Parachute",0xFFFFFFFF,-2231.2058,-1736.1578,480.8620,20.0, 0, 1);
    //Create3DTextLabel("Materials Los Santos\nType /buymaterials to buy materials",0xFFFFFFFF,1449.2723,-1848.4255,13.7721,10.0, 0, 1);
    Create3DTextLabel("Gate 1\nType /opengate 1 to open",0xFFFFFFFF,1767.5348,-1581.2784,1742.5024,5.0, 0, 1);
    Create3DTextLabel("{FFFF6B}Driving School!\n \nType /exam\nto start the test!",0xFFFFFFFF,1219.0502,-1812.7823,16.5938,20.0, 0, 1);
    CreateStreamed3DTextLabel("LS DealerShip!\n\nType /buycar to buy a car\nor /sellcar to sell an existing car!",COLOR_LIGHTGREEN2,328.3534,-1513.1687,36.0391,20.0,0);
    Create3DTextLabel("Get Drugs\nType /getdrugs to get drugs",0xFFFFFFFF,322.9745,1119.4409,1083.8828,20.0, 0, 1);
    Create3DTextLabel("Los Santos Police Departament's HQ",COLOR_BLUE,1554.7621,-1675.5870,16.1953,20.0, 0, 1);
    Create3DTextLabel("Las Venturas Police Departament's HQ",COLOR_BLUE,2287.1047,2431.7996,10.8203,20.0, 0, 1);
    Create3DTextLabel("Federal Bureau Of Investigation's HQ",COLOR_BLUE,627.6160,-571.7920,17.6242,20.0, 0, 1);
    //Create3DTextLabel("City Hall\nPress enter to enter",0xFFFFFFFF,1481.1063,-1771.2532,18.7958,20.0, 0, 1);
    Create3DTextLabel("{FFFF99}Los Santos Police Department\nGroup Safe",0x33CCFFFF,256.9322,64.7314,1003.6406,20.0, 0, 1);
    Create3DTextLabel("{FFFF99}Las Venturas Police Department\nGroup Safe",0x33CCFFFF,256.9322,64.7314,1003.6406,20.0, 3, 1);
    Create3DTextLabel("{FFFFFF}ID:{C00A13}09\n{FFFFFF}Job:{C00A13}Arms Deaeler\n{FFFFFF}Use {C00A13}/getjob {FFFFFF}to get job.",0x33CCFFFF,1365.8931,-1289.0779,13.5469,20.0, 0, 1);
    Create3DTextLabel("{FFFFFF}ID:{C00A13}04\n{FFFFFF}Job:{C00A13}Drugs Dealer\n{FFFFFF}Use {C00A13}/getjob {FFFFFF}to get job.",0x33CCFFFF,2130.0400,-1700.1396,15.0784,20.0, 0, 1);
    Create3DTextLabel("{FFFFFF}ID:{C00A13}06\n{FFFFFF}Job:{C00A13}Farmer\n{FFFFFF}Use {C00A13}/getjob {FFFFFF}to get job.",0x33CCFFFF,-367.1633,-1412.3904,25.7266,20.0, 0, 1);
    Create3DTextLabel("{FFFFFF}ID:{C00A13}07\n{FFFFFF}Job:{C00A13}Bus Driver\n{FFFFFF}Use {C00A13}/getjob {FFFFFF}to get job.",0x33CCFFFF,1653.4697,-2239.6372,13.5239,20.0, 0, 1);
    Create3DTextLabel("{FFFFFF}ID:{C00A13}10\n{FFFFFF}Job:{C00A13}Garbage Man\n{FFFFFF}Use {C00A13}/getjob {FFFFFF}to get job.",0x33CCFFFF,2503.0581,2778.7229,10.8203,20.0, 0, 1);
    Create3DTextLabel("{FFFFFF}ID:{C00A13}01\n{FFFFFF}Job:{C00A13}Detective\n{FFFFFF}Use {C00A13}/getjob {FFFFFF}to get job.",0x33CCFFFF,607.8375,-1438.1827,14.0654,20.0, 0, 1);
    Create3DTextLabel("{FFFFFF}ID:{C00A13}08\n{FFFFFF}Job:{C00A13}Mechanic\n{FFFFFF}Use {C00A13}/getjob {FFFFFF}to get job.",0x33CCFFFF,1621.6411,2210.4629,15.1959,20.0, 0, 1);
    Create3DTextLabel("{FFFFFF}ID:{C00A13}05\n{FFFFFF}Job:{C00A13}Pizza Boy\n{FFFFFF}Use {C00A13}/getjob {FFFFFF}to get job.",0x33CCFFFF,2123.0237,-1788.8237,13.5547,20.0, 0, 1);
    Create3DTextLabel("{FFFFFF}ID:{C00A13}13\n{FFFFFF}Job:{C00A13}FisherMan\n{FFFFFF}Use {C00A13}/getjob {FFFFFF}to get job.",0x33CCFFFF,391.8376,-2064.3474,7.8359,20.0, 0, 1);
    Create3DTextLabel("{FFFFFF}ID:{C00A13}13\n{FFFFFF}Job:{C00A13}FisherMan\n{FFFFFF}Use {C00A13}/getjob {FFFFFF}to get job.",0x33CCFFFF,2000.7855,1564.9432,15.3672,20.0, 0, 1);
    Create3DTextLabel("{FFFFFF}ID:{C00A13}14\n{FFFFFF}Job:{C00A13}Trucker\n{FFFFFF}Use {C00A13}/getjob {FFFFFF}to get job.",0x33CCFFFF,2434.8606,-2110.4429,13.5469,20.0, 0, 1);
    Create3DTextLabel("{FFFFFF}ID:{C00A13}02\n{FFFFFF}Job:{C00A13}Car Jacker\n{FFFFFF}Use {C00A13}/getjob {FFFFFF}to get job.",0x33CCFFFF,2850.9663,891.8728,10.7500,20.0, 0, 1);
     Create3DTextLabel("{0E7BE9}Materials Pickup!\n\nType /getmats as an Arms Dealer\nto collect materials",COLOR_WHITE,597.5396,-1246.9562,18.2512,20.0, 0, 1);
    Create3DTextLabel("{26C4EC}Door ID: 11\nPD Garage | /garage",COLOR_WHITE,1594.7660,-1619.7109,13.4093,20.0, 0, 1);
    Create3DTextLabel("{26C4EC}Door ID: 37\nRestricted to faction(Los Santos Police Department)\nLSPD Staff HQ",COLOR_WHITE,242.4025,66.4760,1003.6406,20.0, 0, 1);
    Create3DTextLabel("{26C4EC}Door ID: 38\nRestricted to faction(Las Venturas Police Department)\nLVPD Staff HQ",COLOR_WHITE,242.4025,66.4760,1003.6406,20.0, 3, 1);
    Create3DTextLabel("{26C4EC}/garage",COLOR_WHITE,1292.7828,6.8377,1001.0078,20.0, 0, 1);
    Create3DTextLabel("{26C4EC}/exitgaragehitman",COLOR_WHITE,1292.7828,6.8377,1001.0078,20.0, 676, 1);
    Create3DTextLabel("Press enter to exit from LSPD Staff",COLOR_WHITE,238.5806,138.9213,1003.0234,20.0, 333, 1);
    Create3DTextLabel("Press enter to exit from LVPD Staff",COLOR_WHITE,238.5806,138.9213,1003.0234,20.0, 343, 1);
    Create3DTextLabel("{26C4EC}Door ID: 12\nRestricted to faction(Hitman Agency)\nHitman Garage | /garage",COLOR_WHITE,1059.6315,-344.6857,73.9922,20.0, 0, 1);
    Create3DTextLabel("Hitman Agency HQ",COLOR_WHITE,1081.1794,-345.3979,73.9825,20.0, 0, 1);
    Create3DTextLabel("National Guard HQ\n(locked)",COLOR_BLUE,200.8692,1869.5511,13.1470,20.0, 0, 1);
    Create3DTextLabel("Los Vagos HQ\n(locked)",COLOR_BLUE,725.7441,-1440.0914,13.5391,20.0, 0, 1);
    Create3DTextLabel("Grove Street HQ\n(locked)",COLOR_BLUE,2495.2434,-1690.6366,14.7656,20.0, 0, 1);
    Create3DTextLabel("Los Aztecas HQ\n(locked)",COLOR_BLUE,1457.0563,2773.3521,10.8203,20.0, 0, 1);
    Create3DTextLabel("The Rifa HQ\n(locked)",COLOR_BLUE,2637.3118,2352.0276,10.8203,20.0, 0, 1); // gata
    Create3DTextLabel("The Rifa HQ\n(locked)",COLOR_BLUE,2637.3118,2352.0276,10.8203,20.0, 0, 1);
    Create3DTextLabel("The Russian Mafia HQ\n(locked)",COLOR_BLUE,1123.0795,-2037.1305,69.8937,20.0, 0, 1);
    Create3DTextLabel("Taxi LV HQ\n(locked)",COLOR_BLUE,937.5077,1733.2762,8.8516,20.0, 0, 1);
    Create3DTextLabel("School Instructors LV HQ\n(locked)",COLOR_BLUE,2435.2900,1671.1409,10.8203,20.0, 0, 1);
    Create3DTextLabel("News Reporters HQ\n(locked)",COLOR_BLUE,-329.5621,1536.5757,76.6117,20.0, 0, 1);
    Create3DTextLabel("Las Venturas Paramedic Deparament HQ\n(locked)",COLOR_BLUE,1607.3318,1815.9183,10.8203,20.0, 0, 1);
    Create3DTextLabel("Taxi Los Santos HQ\n(locked)",COLOR_BLUE,1753.4095,-1903.1362,13.5633,20.0, 0, 1);
    areap = Create3DTextLabel("{2A98F2}Event Place\n{FFFFFF}Business {2A98F2}#100\n{FFFFFF}Owner: {2A98F2}AdmBot\n{FFFFFF}Please wait...",0xFFFFFFFF,1510.3986,-1059.5723,25.0625,5.0, 0, 1);
    Create3DTextLabel("{26C4EC}LSPD | /elevator",0xFFFFFFFF,1564.8662,-1666.4962,28.3956,20.0, 0, 1);
    Create3DTextLabel("{26C4EC}LVPD Roof | /elevator",0xFFFFFFFF,2339.3237,2461.2197,38.6837,20.0, 0, 1);
    Create3DTextLabel("{26C4EC}Door ID: 30\nRestricted to faction(Los Santos Police Department)\nLSPD Roof | /elevator",0xFFFFFFFF,1568.5891,-1690.3262,5.8906,20.0, 0, 1);
    Create3DTextLabel("{26C4EC}Door ID: 24\nRestricted to faction(Las Venturas Police Department)\nLVPD Roof | /elevator",0xFFFFFFFF,2340.2810,2456.5625,14.9688,20.0, 0, 1);
    Create3DTextLabel("{26C4EC}Los Santos Police Department\nProcessing Entrance\n \n(/arrest)",0xFFFFFFFF,1526.3739,-1678.0635,5.8906,20.0, 0, 1);
    Create3DTextLabel("{26C4EC}Las Venturas Police Department\nProcessing Entrance\n \n(/arrest)",0xFFFFFFFF,2282.1289,2425.7620,3.4692,20.0, 0, 1);
    Create3DTextLabel("Paintball !\n\n\nType /paint\nto enter the paintball arena!",0xFFFF00CC,1154.4122,-1440.0548,15.7969,10.0, 0, 1);
    Create3DTextLabel("{26C4EC}Door ID: 1\n{26C4EC}Restricted to STAFF(Admin/Helpers)\n{26C4EC}Press F for enter.",COLOR_WHITE,1016.5494,1050.5697,11.0000,10.0, 0, 1);
       Create3DTextLabel("{26C4EC}Door ID: 2\nRestricted to STAFF(Helpers/Admins)\nHELPER / ADMIN HQ | /staffgarage",COLOR_WHITE,1087.9738,997.1158,11.0000,20.0, 0, 1);
       Create3DTextLabel("{26C4EC}Exit from Garage #STAFF\nUse /exitgaragestaff for exit.",COLOR_WHITE,1292.8011,6.5901,1001.0078,20.0, 133, 1);

 

Edited by Dumby 24
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Content

    • By Wreeper
      Salut, am o problema recenta cu un gamemode de stunt. Nu mi se salveaza conturiile in baza de date, tin sa spun ca am host pe Ultra-H si serverul este un fork al gamemode-ului asta
       
      Acum aici vad ca e diferit fata de alte gamemode-uri de stunt vad ca are 2 chestii la baza de date pentru localhost si pentru cand nu e localhost daca am inteles-o bine
      Inregistrarea merge, iti inregistreaza contul, cand vii inapoi te loghezi frumos dar stats le ai ca la inceput daca dai relog se duce tot stats pe p**a. inclusiv admin vip tot ce ai
      Observ ca e o eroare de tip (error #1130) Host 'n8.ultra-h.com' is not allowed to connect to this MariaDB server , problema nu e de la gamemode, problema e de la baza din cate pot observa, si aici vreau sa intreb pe cineva cu experienta in Ultra-H daca ma poate ajuta sa rezolv problema, sa vada daca el poate pune gamemode pe Ultra-H cu baza cu tot si sa-i mearga.. Motiv pentru toti sarantocii ca nu am de gand sa platesc pentru un server cu 0 on, il las sa vad cum merge si dupa platesc pentru host daca merita. Iar motiv pentru ca de ce nu fac un gamemode de la 0 pentru ca e mult de munca si poti foarte usor si simplu sa rezolvi tu buguriile daca apar cateva
    • By OZMO1
      Salut. Are cineva o baza de date de la gta samp functionala? va rog frumos
    • By juuzou001
      Buna seara tuturor,alaltaieri mi-am instalat SAMP si de fiecare data cand intru pe el nu pot vedea pe nimeni.Deci chat-ul de sus il pot vedea in rest nici un player nu pot.Mi l-am reinstalat de 3 ori de pe diferite site-uri si tot asa face.Credeti ca e ceva din setari?
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.