Jump to content

CapY

Members
  • Posts

    1,646
  • Joined

  • Last visited

Everything posted by CapY

  1. CapY

    Mysql

    Server side ? Errors., lua:2 bad argument getPlayerAccount lua:40 bad argument getPlayerAccount
  2. CapY

    Mysql

    It needs to be on login to load playerdata
  3. Yep , i was remembered it now , after you has said it , because i have 2 PC's and obiously mine is not localhost.
  4. CapY

    Mysql

    I will be do some save system. Btw is any of MTA official resources have any kind of savesystem ?
  5. CapY

    Mysql

    So Turismo you can do it via teamviewer ?
  6. CapY

    Mysql

    How i can create a database throught mysql will be connect ?
  7. CapY

    Mysql

    Lucky for me i have 2 PC's and i am curenntly on that one where Xampp works , so i am now on PHPMyAdmin...and do i need to create database first ?
  8. CapY

    Mysql

    Read Jaysds1 last post.
  9. CapY

    Mysql

    You mean the database from Community ?
  10. CapY

    Mysql

    I dont have , idk how to create it too -.-
  11. CapY

    Mysql

    Maybe you didn't understand me, but i didn't solve problem yet. I'm not lucky afaik, many Windows services use port 80 and 443 , like www, http , etc,..
  12. CapY

    Mysql

    Problem is skype , he's using the same ports as apache and when i was closed Skype and install xampp again the same thing shows up.
  13. CapY

    Gui.lua

    Jaysds1 It doesn't want to start now, lol !
  14. CapY

    Mysql

    Searching it....
  15. CapY

    Gui.lua

    Cadu12 this is different code what you was posted . I solved gui1 , what you was posted. I need help with gui2 .
  16. CapY

    Mysql

    I was tried it on C: disk too .
  17. CapY

    Mysql

    Beginning : http://imageshack.us/f/231/3beginning.png/ 2nd : http://imageshack.us/photo/my-images/217/10835883.png/[ Starting start.exe: http://imageshack.us/f/405/39971112.png/ Starting control panel : http://imageshack.us/f/856/31940712.png/ It says apache service started but it's not started : http://imageshack.us/f/8/99688259.png
  18. CapY

    Gui.lua

    Gui.lua:22: '}' expected near '='
  19. CapY

    Gui.lua

    And what bout this ? ------------------------------------- -- Code generated by DKR QT to Lua 0.1.7 -- -- Source: gui2.ui -- -- Date: 01/08/2011 - 08:20:50 -- ------------------------------------- function build_TabWidget() local gui = {} gui._placeHolders = {} local screenWidth, screenHeight = guiGetScreenSize() local windowWidth, windowHeight = 800, 615 local left = screenWidth/2 - windowWidth/2 local top = screenHeight/2 - windowHeight/2 gui["_root"] = guiCreateWindow(left, top, windowWidth, windowHeight, "TabWidget", false) guiWindowSetSizable(gui["_root"], false) return gui, windowWidth, windowHeight end function build_tab(parent) local gui = {} gui._placeHolders = {} gui["label"] = guiCreateLabel(372, 50, 61, 41, "Rules", false, parent) guiSetFont(gui["label"], "default-bold-small") guiLabelSetHorizontalAlign(gui["label"], "left", false) guiLabelSetVerticalAlign(gui["label"], "center") gui._placeHolders["textBrowser"] = {left = 12, top = 110, width = 781, height = 411, parent = parent} gui["pushButton"] = guiCreateButton(262, 550, 91, 41, "Accept", false, parent) if on_pushButton_clicked then addEventHandler("onClientGUIClick", gui["pushButton"], on_pushButton_clicked, false) end gui["pushButton_2"] = guiCreateButton(422, 550, 91, 41, "Decline", false, parent) if on_pushButton_2_clicked then addEventHandler("onClientGUIClick", gui["pushButton_2"], on_pushButton_2_clicked, false) end gui["checkBox"] = guiCreateCheckBox(12, 530, 361, 21, "I accept the Rules and Conditions and i will be play fair !", false, false, parent) guiSetFont(gui["checkBox"], "default-bold-small") gui["label_2"] = guiCreateLabel(22, 190, 101, 31, "*DONT HACK!", false, parent) guiSetFont(gui["label_2"], "default-bold-small") guiLabelSetHorizontalAlign(gui["label_2"], "left", false) guiLabelSetVerticalAlign(gui["label_2"], "center") gui["label_3"] = guiCreateLabel(22, 220, 101, 31, "*DONT ABUSE!", false, parent) guiSetFont(gui["label_3"], "default-bold-small") guiLabelSetHorizontalAlign(gui["label_3"], "left", false) guiLabelSetVerticalAlign(gui["label_3"], "center") gui["label_4"] = guiCreateLabel(22, 250, 161, 31, "*DONT FLOOD THE CHAT!", false, parent) guiSetFont(gui["label_4"], "default-bold-small") guiLabelSetHorizontalAlign(gui["label_4"], "left", false) guiLabelSetVerticalAlign(gui["label_4"], "center") gui["label_5"] = guiCreateLabel(22, 280, 101, 31, "*DONT BOTHER!", false, parent) guiSetFont(gui["label_5"], "default-bold-small") guiLabelSetHorizontalAlign(gui["label_5"], "left", false) guiLabelSetVerticalAlign(gui["label_5"], "center") gui["label_6"] = guiCreateLabel(22, 310, 211, 31, "*DONT USE MODIFIED HANDLING!", false, parent) guiSetFont(gui["label_6"], "default-bold-small") guiLabelSetHorizontalAlign(gui["label_6"], "left", false) guiLabelSetVerticalAlign(gui["label_6"], "center") gui["label_7"] = guiCreateLabel(22, 350, 171, 21, "*DONT USE VISUAL MODS!", false, parent) guiSetFont(gui["label_7"], "default-bold-small") guiLabelSetHorizontalAlign(gui["label_7"], "left", false) guiLabelSetVerticalAlign(gui["label_7"], "center") gui._placeHolders["line"] = {left = 12, top = 359, width = 781, height = 91, parent = parent} gui["label_8"] = guiCreateLabel(32, 420, 101, 31, "Have Fun !", false, parent) guiSetFont(gui["label_8"], "default-bold-small") guiLabelSetHorizontalAlign(gui["label_8"], "left", false) guiLabelSetVerticalAlign(gui["label_8"], "center") gui["label_9"] = guiCreateLabel(282, 480, 751, 61, "Every rule break will result ban or permaban .", false, parent) guiSetFont(gui["label_9"], "default-small") guiLabelSetHorizontalAlign(gui["label_9"], "left", false) guiLabelSetVerticalAlign(gui["label_9"], "center") return gui end function on_pushButton_clicked(button, state, absoluteX, absoluteY) if (button ~= "left") or (state ~= "up") then return end --TODO: Implement your button click handler here end function on_pushButton_2_clicked(button, state, absoluteX, absoluteY) if (button ~= "left") or (state ~= "up") then return end --TODO: Implement your button click handler here end function build_tab(parent) local gui = {} gui._placeHolders = {} gui["label_10"] = guiCreateLabel(12, 60, 121, 51, "Admins", false, parent) guiSetFont(gui["label_10"], "default-bold-small") guiLabelSetHorizontalAlign(gui["label_10"], "left", false) guiLabelSetVerticalAlign(gui["label_10"], "center") return gui end -- End of DKR QT to Lua code --
  20. CapY

    Gui.lua

    Yep ..and Kayl is not active on MTA anymore
  21. CapY

    Gui.lua

    Cadu , the same thing shows up : http://imageshack.us/f/853/mtascreen20110731101030.png/
  22. CapY

    Mysql

    When i finish choosing the services.
  23. CapY

    Gui.lua

    I get this : http://imageshack.us/f/853/mtascreen20110731101030.png/ And it's supposted/must be like this : http://imageshack.us/f/6/lol1sz.png/
  24. CapY

    Gui.lua

    Results: http://imageshack.us/f/692/mtascreen20110731084834ph.png/ Only that window pop-ups
×
×
  • Create New...