-
Posts
877 -
Joined
-
Last visited
Everything posted by denny199
-
last part epic, I'm a m*ther f*cker monster from coone why is nobody makin a map with hardstyle ;-(
-
i didn't wrote that they wroted on youtube I like ur critic on maps I'm enoying it
-
eyah right,... nice for v1 don't liste to that ugly benamix on forum sergesieniejo1 3 dagen geleden [ youtube ]
-
Good job
-
hmmm, this worked for me but only 1 problem. i don't see tha water [ i'm using runcode [client side] first i typed /crun water1 = createWater(685, -2420, 105, 700, -2420, 105, 685, -2350, 105, 700, -2350, 105) then: /crun setElementInterior(water1,1) then /crun setElementPosition(water1,-731.66,494.58,1371.97) [ using freeroam ] then i was typing /sp -731.66 494.58 1371.97 i was moving in the water, but it was in GTA III world pic: whole pic go tho this link. http://imageshack.us/photo/my-images/26 ... ybs1k.jpg/
-
Hey there, i was wondering, can i change the color off the gridlist example vehicles: I'm using this: guiGridListSetItemColor (wndCreateVehicle, rows, columns, 255,0,0) but now a error, btw, i don't know what the gridlist is. error: attempt to call a boolean value error: expected gui element @ argument 1 --------------------------- -- Create vehicle window --------------------------- function createSelectedVehicle(leaf) if not leaf then leaf = getSelectedGridListLeaf(wndCreateVehicle, 'vehicles') if not leaf then return end end server.giveMeVehicles(leaf.id) end wndCreateVehicle = { 'wnd', text = 'Create vehicle', width = 300, controls = { { 'lst', id='vehicles', width=280, height=340, columns={ {text='Vehicle', attr='name'} }, rows={xml='vehicles.xml', attrs={'id', 'name'}}, onitemdoubleclick=createSelectedVehicle }, --Error here --guiGridListSetItemColor (wndCreateVehicle, rows, columns, 255,0,0) -- i setted this but a error:/ {'btn', id='create', onclick=createSelectedVehicle}, {'btn', id='close', closeswindow=true} } }
-
Link is working for me.
-
Gheh gheh, I've got a life but i like that
-
createBlip ?
-
i never worked with xml files but this should be learned if i made it, questions: -Must I create onmyself a xml file with accounts or useing xmlcreateFile -How can i import the saved things -how save the positions? [ gimme just the function ] caus i'm not understanding much about the xml at the moment
-
A Sexmode/ pornmode for the guys who are horney ?
-
Oke, i was out off editor removed some objects what i not needed like trees[.map trees ]. and there was no alpha floor anymore
-
Well. i not using mods, only for cars, but this is the ground off thegrovestreet with a map in the middle i show y whole map. red = obejcts blue = carmods http://imageshack.us/photo/my-images/35/dezasda.png/
-
evry player has got it. i show you the groove, with a costum map ofc in map editor http://imageshack.us/photo/my-images/833/deze.png/ i using: 360 objects. only in the groove
-
Hi there i got a small question i was making a own radar but now i got a problem how can i save the gui position my code: I wont give evrything cause u don't need it. local screenWidth,screenHeight = guiGetScreenSize() local sx,sy = guiGetScreenSize() local posx = sy * 0.0600 local posy = sy * 0.585 local height = sy * 0.322 -- u don't need anything here local centerleft = posx + height / 2 local centertop = posy + height / 2 local blipsize = height / 16 local huntersizex = height / 9 local huntersizey = height / 7 local lpsize = height / 8 local range = 120 --gui stuff GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Scrollbar = {} GUIEditor_Window[1] = guiCreateWindow(147,378,487,364,"Advanced Radar By Denz",false) guiSetAlpha(GUIEditor_Window[1],1) guiWindowSetMovable(GUIEditor_Window[1],true) GUIEditor_Button[1] = guiCreateButton(14,254,202,43,"Radar On",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(274,253,197,43,"Radar Off",false,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(94,220,303,35,"Radar is: ..status..",false,GUIEditor_Window[1]) guiLabelSetVerticalAlign(GUIEditor_Label[1],"center") guiLabelSetHorizontalAlign(GUIEditor_Label[1],"center",false) guiSetFont(GUIEditor_Label[1],"default-bold-small") GUIEditor_Scrollbar[1] = guiCreateScrollBar(63,61,413,30,true,false,GUIEditor_Window[1]) GUIEditor_Scrollbar[2] = guiCreateScrollBar(63,127,413,30,true,false,GUIEditor_Window[1]) guiSetProperty(GUIEditor_Scrollbar[2],"StepSize",0.1/19.5) guiSetProperty(GUIEditor_Scrollbar[1],"StepSize",0.1/19.5) GUIEditor_Label[2] = guiCreateLabel(20,30,450,25,"Move it to:",false,GUIEditor_Window[1]) GUIEditor_Label[3] = guiCreateLabel(13,64,54,29,"Up/Down",false,GUIEditor_Window[1]) guiLabelSetVerticalAlign(GUIEditor_Label[3],"center") guiLabelSetHorizontalAlign(GUIEditor_Label[3],"center",false) GUIEditor_Label[4] = guiCreateLabel(10,127,54,29,"Left/Right",false,GUIEditor_Window[1]) guiLabelSetVerticalAlign(GUIEditor_Label[4],"center") guiLabelSetHorizontalAlign(GUIEditor_Label[4],"center",false) GUIEditor_Label[5] = guiCreateLabel(196,165,105,37,"Size Off The Radar",false,GUIEditor_Window[1]) guiSetFont(GUIEditor_Label[5],"default-bold-small") GUIEditor_Scrollbar[3] = guiCreateScrollBar(17,188,461,33,true,false,GUIEditor_Window[1]) guiSetEnabled ( GUIEditor_Button[1], false ) GUIEditor_Button[3] = guiCreateButton(18,308,445,47,"Close",false,GUIEditor_Window[1]) guiSetVisible ( GUIEditor_Window[1], false ) function onScroll3() height = sy * (guiScrollBarGetScrollPosition(source)*0.01) centerleft = posx + height / 2 centertop = posy + height / 2 end addEventHandler("onClientGUIScroll",GUIEditor_Scrollbar[3],onScroll3) function onScroll2() posx = sy * (guiScrollBarGetScrollPosition(source)*0.01) --outputChatBox(tostring(guiScrollBarGetScrollPosition(source)*0.01)) centerleft = posx + height / 2 centertop = posy + height / 2 end addEventHandler("onClientGUIScroll",GUIEditor_Scrollbar[2],onScroll2) function onScroll() posy = sy * (guiScrollBarGetScrollPosition(source)*0.01) centerleft = posx + height / 2 centertop = posy + height / 2 --outputChatBox(tostring(guiScrollBarGetScrollPosition(source)*0.01)) end addEventHandler("onClientGUIScroll",GUIEditor_Scrollbar[1],onScroll) -- here goes the radar stuff u don't need this --here is the guiclick event. addEventHandler("onClientGUIClick",getRootElement(), function (player) if (source == GUIEditor_Button[3]) then guiSetVisible (GUIEditor_Window[1],false) outputChatBox ("Radar Changed, Pres F3 to change it.",225,0,0) showCursor (false) elseif (source == GUIEditor_Button[1]) then money = getPlayerMoney (source) if (money < 0) then outputChatBox ("error contact denz",225,0,0) else player = getLocalPlayer() guiSetEnabled ( GUIEditor_Button[1], false ) guiSetEnabled ( GUIEditor_Button[2], true ) addEventHandler("onClientRender", getRootElement(), renderit ) addEventHandler("onClientRender",root,renderFrame) end elseif (source == GUIEditor_Button[2]) then money = getPlayerMoney (source) if (money < 0) then outputChatBox ("error contact denz",225,0,0) else player = getLocalPlayer() guiSetEnabled ( GUIEditor_Button[2], false ) guiSetEnabled ( GUIEditor_Button[1], true ) removeEventHandler("onClientRender", getRootElement(), renderit ) removeEventHandler("onClientRender",root,renderFrame) end end end) but i want to save the HEIGHT and posY and posX off the radar. but dunno how to start Example. i pres close it saves the position and the height off the radar when i rejoin it's still that size
-
Need bit of help with a clothing shop script error
denny199 replied to Grimaexreaper's topic in Scripting
use /debugscript 3 -
Thank you working, u can close this
-
Hey there, i was making a new gamemode but now i got a error @ setPlayerTeam Using triggering, but i got a error when i double click on the image, works, but setPlayerTeam is not working I want that the player who clicked on the Image gets in that team. Client lp = getLocalPlayer () -- u don't need gui stuff function maaskantje (player) outputChatBox ( "Maaskantje" ) showCursor ( false ) triggerServerEvent( 'maaskantjeteam',lp ) end addEventHandler ( "onClientGUIDoubleClick", GUIEditor_Image[2], maaskantje) function schijndel (player) outputChatBox ( "Schijndel" ) showCursor ( false ) triggerServerEvent( 'schijndelteam',lp ) end addEventHandler ( "onClientGUIDoubleClick", GUIEditor_Image[3], schijndel) Server function createTeamsOnStart () maaskantje = createTeam ( "Maaskantje", 250, 0, 0 ) schijndel = createTeam ( "Schijndel", 0, 0, 255 ) end addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), createTeamsOnStart ) function maaskantje (source, maaskantje) setPlayerTeam ( source,getTeamFromName( 'Maaskantje' ) ) setElementModel ( source, 280 ) end addEvent ( "maaskantjeteam", true ) addEventHandler ( "maaskantjeteam", root, maaskantje ) function schijndel ( source, schijndel ) setPlayerTeam ( source,getTeamFromName( 'Schijndel' ) ) setElementModel ( source, 280 ) end addEvent ( "schijndelteam", true ) addEventHandler ( "schijndelteam", root, schijndel ) Thanks.
-
thank you kenix for help .. and my resource in scoreboard . idk why does not work for me He sayd: are you sure that your'e resource name off ur scoreboard is "scoreboard" ?
-
all my bugs what i saw... This alpha by a map very strange only in LS Bug1 ground [ with costum map ] [ not much objects ] http://imageshack.us/photo/my-images/26/bugsn.jpg/ Without any trees http://imageshack.us/photo/my-images/15/bug2uo.png/ with trees http://imageshack.us/photo/my-images/687/bug1tq.png/ Somebody can help me? i got only this problem in LS Mayby a script?? Regards danny **edit my specs From DXDIAG [ playing mta on HD ] [ 1080p ]
