BabY
Members-
Posts
138 -
Joined
-
Last visited
About BabY
- Birthday 02/11/1996
Details
-
Gang
CIT
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
BabY's Achievements
Poot-butt (14/54)
0
Reputation
-
Actually that's EXACTLY what I use. And that's EXACTLY what made me discover this problem lol
-
I tried to avoid this path, but seems like it's the only way then. Thanks for your time and support. Good luck with dxLib.
-
My problem isn't positioning the label, my problem is housing it with more-than-what-my-screen-height-can-house lines. I tried a bunch of methods to move the label around, but this doesn't affect the said limit sadly. And I need to use a label instead of dxText because I'm dealing with CEGUI, and the main theme of my script is CEGUI because I heavily use GUI functions.
-
Draw labels in a render target? Seems like I can't find out how to do it, I only managed to draw dxText which isn't really flexible in my case.
-
If I use this dummy code for example, testLabel = guiCreateLabel(0, 0, 5000, 5000, "1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30\n31\n32\n33\n34\n35\n36\n37\n38\n39\n40\n41\n42\n43\n44\n45\n46\n47\n48\n49\n50", false) addCommandHandler("sl", function() -- scroll label guiSetProperty(testLabel, "AbsoluteYPosition", guiGetProperty(testLabel, "AbsoluteYPosition") - 20) end) addCommandHandler("add", function() local text = guiGetText(testLabel) text = text .. "\nHello world!" guiSetText(testLabel, text) end) I cannot add more lines after the line that 'fills' my screen height perfectly. Even if I scroll the label using /sl Any ideas? I tried the properties: - ClippedByParent - The Unified family - VertExtent - Margin It doesn't seem to cause errors when the text is added, because if I move the label down on the Y axis, and scroll it up again the text is still there. Seems like it's a default limitation. I have reasons to use a label instead of a ReadOnly Edit.
-
It isn't a resource that you can look up, it's embedded into the client. If you're interested in how it works try looking at the source code EDIT: And look for function signatures, they'll mostly have the implementations.
- 2 replies
-
- outputchatbox
- original
-
(and 1 more)
Tagged with:
-
People tried to help you, and you were a douchbad to them and started yelling. It is a label, when it's hovered you change its color. When you hover away you reset its color. When it's clicked you invoke whatever function you want to be called. You set its position relatively, because you want to ensure it sticks to the edges of the main window. You set its ClippedByParent property to False so that the title bar doesn't hide it. Show more respect to those who try to help you, otherwise nobody will give a about you. EDIT: And that function signature you posted is just a ready-to-use one, but I bet its internals have all what we've been telling you.
-
So CrystalMV means that I should use isElementStreamedIn and if not isElementStreamedIn when replacing the .dff and .txd ? Or just replace the object which I replaced it's ID far than same ID of the object I replaced ? Simple way : What I mean is if I did what Crystal means so That will be right (Object I replaced) ------------------------------------------------------------------------- (Object with same ID) And that will be wronge ? (Objet I replaced) ----------------------- (Object with same ID)
-
Excuse me, I hear "Stream" alot.. but I don't know what it means.. What's the meaning of Stream in and Stream out ?
-
I don't know what is MySQL If it's like xml, then you can use it to save \ load data ! And you can register the saved items as a new element, and make new functions for it... Tips : Identify ammo and weapon slots, vehicles and it's health etc...
-
You need to make it using .xml file. Try to do something yourself, what's the binfit of Wiki IYO?
-
Better way! : function attach (Player, Command, ID, rotX, rotY, rotZ) local car = getPedOccupiedVehicle(Player) local posX, posY, posZ = getElementPosition(car) local object = createObject (ID, 0, 0, 0, 0, 0, 0) attachElements (object, car, posX, posY, posZ, rotX, rotY, rotZ) else outputChatBox ("* Error!", Player, 255, 0, 0) end addCommandHandler("attach", attach) addCommandHandler("removeattach", function(Player, command) destroyElement(getElementsAttachedTo(getPedOccupiedVehicle(Player))) end You should enter the ID of the object you want to attach to your car, then enter rotation X, Y and Z Example : /attach 12450 0 0 90 To remove attached elements, type /removeattach Hope it works for you! I put some effort on that!
-
I though It's damaged \ burned ...?
-
I will help you little bit in that *WARN* This is not the full script, I'm just making some steps to help you making the script : health = getElementHealth (player) setElementHealth (player, health - 10) ---------------------------------------------------------------------------------------------------------- setTimer (NAMEofFUNCTION, 60000) ---------------------------------------------------------------------------------------------------------- peeTimer = setTimer (nameOfPeeingScript, 30000) ---------------------------------------------------------------------------------------------------------- if (nameOfPeeingScript) then killTimer (peeTimer)