-
Posts
1,646 -
Joined
-
Last visited
Everything posted by CapY
-
Install Win 7 Ultimate 64bit and that's it .
-
Thanks , and what's wrong with this ? -- Code generated by DKR QT to Lua 0.1.7 -- -- Source: gui2.ui -- -- Date: 31/07/2011 - 07:51:20 -- ------------------------------------- addEventHandler("onClientResourceStart",resourceRoot, function() 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(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
-
Because when i install it, it shows:" apache ports 80 and 443 are already in use, apache installation failed"
-
Where is memo here ?
-
Pozdrav! Pocni sa MTA wiki-om kao sto je predlozio NikDelgad|GodFather i citaj pazljivo i nece biti problema. Hello! Start with MTA wiki like NikDelgad|GodFather was suggested, read it carefully and there will no problems
-
So i have this , generated by DKR QTtoLua and it doesn't want to start me when i join on the server. Anybody can help ? ------------------------------------- -- Code generated by DKR QT to Lua 0.1.7 -- -- Source: GUI.ui -- -- Date: 31/07/2011 - 01:29:51 -- ------------------------------------- addEventHandler("onClientResourceStart",resourceRoot, function() local gui = {} gui._placeHolders = {} local screenWidth, screenHeight = guiGetScreenSize() local windowWidth, windowHeight = 800, 600 local left = screenWidth/2 - windowWidth/2 local top = screenHeight/2 - windowHeight/2 gui["_root"] = guiCreateWindow(left, top, windowWidth, windowHeight, "Dialog", false) guiWindowSetSizable(gui["_root"], false) gui[""] = guiCreateButton(125, 268, 75, 24, "Accept", false, gui["_root"]) if on__clicked then addEventHandler("onClientGUIClick", gui[""], on__clicked, false) end gui[""] = guiCreateButton(206, 268, 75, 24, "Decline", false, gui["_root"]) if on__clicked then addEventHandler("onClientGUIClick", gui[""], on__clicked, false) end gui["checkBox"] = guiCreateCheckBox(10, 225, 341, 41, "I accept the rules and i will be play fair, will not bother others!", false, false, gui["_root"]) gui["tabWidget"] = guiCreateTabPanel(20, 45, 361, 181, false, gui["_root"]) gui["tab"] = guiCreateTab("Rules", gui["tabWidget"]) gui._placeHolders["textEdit"] = {left = 0, top = 0, width = 361, height = 161, parent = gui["tab"]} gui["tab_2"] = guiCreateTab("Staff", gui["tabWidget"]) gui["scrollArea"] = guiCreateScrollPane(339, 0, 121, 171, false, gui["tab_2"]) return gui, windowWidth, windowHeight end function on__clicked(button, state, absoluteX, absoluteY) if (button ~= "left") or (state ~= "up") then return end --TODO: Implement your button click handler here end function on__clicked(button, state, absoluteX, absoluteY) if (button ~= "left") or (state ~= "up") then return end --TODO: Implement your button click handler here end -- End of DKR QT to Lua code --
-
@Zango i want to set up in on my server , but not on my computer , it is on internet like DKR and yes, i think via phpMyAdmin @Jaysds1 I can't install apache on Xampp . Anybody can help ?
-
Please can somebody make a video how to set up and run mysql on server, because i really don't understand how to do it .
-
In your MTA:SA\Server\Mods\Deathmatch\resources create folder there and name it how you want .
-
Same thing with me .
-
When i type localhost on Chrome this appears : http://imageshack.us/f/7/32815745.png/ and then it redirects me on : http://www.iis.net/ Why is that , any help ? P.S. I'm using the latest version .
-
Can i get the download link of that Qt Designer ?
-
Guys , it doesn't works , if you wanna come to the server to see what is the problem , name is : Fg Clan ... P.S. Resedit added , so if you will come to server, you can edit that resource in-game.
-
Jaysds1 , first test resource when you wrote it . Error on 2 and 12 line .
-
I am admin and i'm not logged in and hydra missiles is still available for everyone.
-
Doesn't works , anyway, thanks for help .
-
It says Error:?:0 attempt to call userdata value
-
This is like : Server : function disableFireForHydra ( theVehicle, seat, jacked ) if ( getElementModel ( theVehicle ) == 520 ) then -- if they entered a hydra if hasObjectPermissionTo (source, "function.banPlayer", false) then setVehicleGunsEnabled ( theVehicle, true) else setVehicleGunsEnabled ( theVehicle, false) end end end addEventHandler ( "onPlayerVehicleEnter", getRootElement(), disableFireForHydra ) Client: -- CLIENT SIDE addEvent("disableHydraGuns", true) addEventHandler("disableHydraGuns", root, function(veh) setVehicleGunsEnabled(veh, false) end) Meta: Mby . I was done something wrong.
-
It's still shows nil at line 6. Can you post the whole script .
-
You have nil on : setVehicleGunsEnabled(veh,false) end) I got it from debugscript ..
-
Ehh, you see , you didn't posted a client - side .