undefined
Members-
Posts
500 -
Joined
-
Last visited
Everything posted by undefined
-
Thank you all. It's solved...
-
local x,y = guiGetScreenSize() addEventHandler("onClientResourceStart", resourceRoot, function() sWindow = guiCreateWindow((x/2)-100, (y/2)-75, 200, 150, "Deneme", false) guiWindowSetSizable(sWindow, false) guiSetVisible(sWindow, false) guiSetAlpha(sWindow, 0.65) egg_deneme = guiCreateStaticImage(88, 55, 25, 35, "images/egg.png", false, sWindow) close = guiCreateButton(30, 123, 139, 17, "Close", false, sWindow) end ) addEventHandler( "onClientMouseEnter", getRootElement(), function() guiStaticImageLoadImage(egg_deneme, "images/egg_sel.png" ) guiSetAlpha(egg_deneme, 0.65) end ) addEventHandler( "onClientMouseLeave", getRootElement(), function() guiStaticImageLoadImage(egg_deneme, "images/egg.png" ) guiSetAlpha(egg_deneme, 1.00) end ) function open() if (guiGetVisible (sWindow) == true) then guiSetVisible(sWindow, false) showCursor(false) elseif (guiGetVisible (sWindow) == false) then guiSetVisible(sWindow, true) showCursor(true) end end bindKey ("L", "down", open) function close() if source == close then guiSetVisible ( sWindow,false ) showCursor(false) end end addEventHandler("onClientGUIClick",root,close ) I've done it. The image is changing when I comes to the window but i want to changing when I comes to on the image. How to fix it?
-
What do I use for this? "onClientGuiClick"? And pointing to the picture, how do I change the transparency and how do change image when i clicked?
-
Hi guys. I will be a question. How to create image button?
-
Im solved it Thank you Castillo...
-
Ok. I've used the gui Set Text. But the Upgrade button and how can I correct the image? They come on top. ....
-
Hi Guys! I have a problem. I bought "colt-45". Then the I bought "deagle". But when i get deagle, "colt-45" was destroyed. How to fix this problem?
-
I will try it tomorow
-
It's began to fail. Its not change stats and not take player money Pff Client-Side Client Side Server-Side Server Side And its give this error on debugscript3
-
Im fixed this problem. Thank you Castillo.
-
Hi Guys. I have a problem. For example; When I click two times to Level 1, doesn't close "HPGridLev1". Where is my mistake? Help me pls...
-
Solid, i dont understand. Can you help me, pls?
-
I do not understand. All translations sucks.
-
Only just got destroyelement problems.
-
Thank solid. But I've got a problem. Client-Side addEvent( "zorqrok" ,true) addEventHandler( "zorqrok" , getRootElement(), function send() local sWidth, sHeight = guiGetScreenSize() dxDrawRectangle(0, sHeight-29, sWidth, sHeight, tocolor(0, 0, 0, 150), true) yazi1 = dxDrawText("text zone", 0, sHeight-29, sWidth, sHeight, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, true, true, false) setTimer ( function() local sWidth, sHeight = guiGetScreenSize() destroyElement(yazi1) yazi2 = dxDrawText("text zone", 0, sHeight-29, sWidth, sHeight, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, true, true, false) end, 10000, 1 ) destroyElement(yazi2) end send() addEvent("gorevBitti",true) addEventHandler("gorevBitti", getRootElement(), function() gorevgrid = guiCreateGridList((sWidth/2)+(sWidth/4), (sHeight/2)+(sHeight/4), 301, 229, false) guiSetAlpha(gorevgrid, 0.65) tebrikler = guiCreateLabel(10, 10, 281, 37, "Congrulations", false, gorevgrid) local font_0 = guiCreateFont("fonts/bloody.ttf", 15) guiSetFont(tebrikler, font_0) guiLabelSetHorizontalAlign(tebrikler, "center", false) guiLabelSetVerticalAlign(tebrikler, "center") alacaklar = guiCreateLabel(10, 47, 281, 37, "You Will Get;", false, gorevgrid) guiSetFont(alacaklar, font_0) guiLabelSetHorizontalAlign(alacaklar, "center", false) guiLabelSetVerticalAlign(alacaklar, "center") odul1 = guiCreateLabel(10, 84, 281, 37, "25.000 $", false, gorevgrid) guiSetFont(odul1, font_0) guiLabelSetHorizontalAlign(odul1, "center", false) guiLabelSetVerticalAlign(odul1, "center") odul2 = guiCreateLabel(10, 121, 281, 37, "75 Shotgun - 250 Deagle", false, gorevgrid) guiSetFont(odul2, font_0) guiLabelSetHorizontalAlign(odul2, "center", false) guiLabelSetVerticalAlign(odul2, "center") odul3 = guiCreateLabel(10, 158, 281, 37, "and 350 exp!", false, gorevgrid) guiSetFont(odul3, font_0) guiLabelSetHorizontalAlign(odul3, "center", false) guiLabelSetVerticalAlign(odul3, "center") close = guiCreateButton(83, 199, 135, 20, "Close", false, gorevgrid) showCursor(true) playSound("gorev.mp3") end ) function Jose() if source == close then guiSetVisible ( gorevgrid,false ) showCursor( false ) end end addEventHandler("onClientGUIClick",root,Jose ) ) Server-Side ... triggerClientEvent(p, "zorqrok" , getRootElement()) ...
-
Hi Guys. Im create a mission system. Giving weapons at the end of the mission, but does not give exp. .... givePlayerMoney ( p, 25000,true ) giveWeapon(p,25,75,true) giveWeapon(p,24,250,true) local _, addexp = exports [ "Jack" ]:addPlayerExp ( exp ) if ( addexp ) then addPlayerExp (source, 353, true) end .... Jack\mission.lua:50: call: failed to call 'Jack:addPlayerExp' and give this error on Castillo's exp_system.
-
Pff Help me pls
-
I think you gave me is not what I want. -50p
-
How can I give without the player in this animation? http://www.dailymotion.com/video/x1k2o81_forum-mtasa_videogames
-
Give a running motion animation of maverick or hunter. For example, like to move up and down. (Im use google translate)
-
Turning propeller goes as a top-down or bottom-up.
-
Hi Guys! How to give animation to the vehicle? For Example maverick. Please give me the code on wiki.
