6RB|AccenT
Members-
Posts
23 -
Joined
-
Last visited
Details
-
Gang
Go For Fight =G4F
6RB|AccenT's Achievements
Civilian (7/54)
0
Reputation
-
ohh thanks solid
-
ok i need codes hunter reached i have this code only TotalHunters = guiCreateLabel(18,285,205,15,"Total hunters reached: N/A",false,GUIEditor_Image[2]) guiSetText (lblTotalHunters,"Total hunters reached: "..totalHunters)
-
Is there a defect
-
need time hunter reached only i cant get in resource:race please help me to get
-
Hi Guys ,, How Are You to day please I need Help need Codes Hunter Reached this my cod showCursor ( true ) function gui ( ) GUIEditor_Label = {} GUIEditor_Image = {} local x,y =guiGetScreenSize() GUIEditor_Image[1] = guiCreateStaticImage(x/2-287,y/2-297,574,594,"images/minedp.png",false) GUIEditor_Image[2] = guiCreateStaticImage(2,3,572,591,"images/ldp.png",false,GUIEditor_Image[1]) guiSetProperty( GUIEditor_Image[2], "RiseOnClick", "False" ) ----Name playerName = guiCreateLabel(160,230,300,70,'Name : ',false,GUIEditor_Image[2]) guiSetText ( playerName, getPlayerName(source)) guiLabelSetColor(playerName,255,120,0) function refreshStats() if guiGetVisible(GUIEditor_Image[2],true) then playerName(playerName," "..getPlayerName(getLocalPlayer())) else guiSetText(playerName,"Name : "..getPlayerName(getLocalPlayer())) end end addEventHandler("onClientRender", getRootElement(), refreshStats) ----Cash playermoney = guiCreateLabel(160,260,300,70,'Cash : ',false,GUIEditor_Image[2]) guiSetText ( playermoney, getPlayerMoney(source)) guiLabelSetColor(playermoney,255,120,0) function refreshStats() if guiGetVisible(GUIEditor_Image[2],true) then playermoney(playermoney," "..getPlayerMoney(getLocalPlayer())) else guiSetText(playermoney,"Cash : "..getPlayerMoney(getLocalPlayer())) end end addEventHandler("onClientRender", getRootElement(), refreshStats) ----Serial playerserial = guiCreateLabel(160,290,300,70,'Serial : ',false,GUIEditor_Image[2]) guiSetText ( playerserial, getPlayerSerial(source)) guiLabelSetColor(playerserial,255,120,0) function refreshStats() if guiGetVisible(GUIEditor_Image[2],true) then playerserial(playerserial," "..getPlayerSerial(getLocalPlayer())) else guiSetText(playerserial,"Serial : "..getPlayerSerial(getLocalPlayer())) end end addEventHandler("onClientRender", getRootElement(), refreshStats) ----Hunter Reached ---- GUIEditor_Image[3] = guiCreateStaticImage(2,3,572,591,"images/mdp.png",false,GUIEditor_Image[1]) guiSetProperty( GUIEditor_Image[3], "RiseOnClick", "False" ) GUIEditor_Image[4] = guiCreateStaticImage(2,3,572,591,"images/gdp.png",false,GUIEditor_Image[1]) guiSetProperty( GUIEditor_Image[4], "RiseOnClick", "False" ) GUIEditor_Image[5] = guiCreateStaticImage(2,3,572,591,"images/ndp.png",false,GUIEditor_Image[1]) guiSetProperty( GUIEditor_Image[5], "RiseOnClick", "False" ) GUIEditor_Image[6] = guiCreateStaticImage(2,3,572,591,"images/sdp.png",false,GUIEditor_Image[1]) guiSetProperty( GUIEditor_Image[6], "RiseOnClick", "False" ) guiSetVisible( GUIEditor_Image[1] ,true) guiSetVisible( GUIEditor_Image[2] ,true) guiSetVisible( GUIEditor_Image[3] ,false) guiSetVisible( GUIEditor_Image[4] ,false) guiSetVisible( GUIEditor_Image[5] ,false) guiSetVisible( GUIEditor_Image[6] ,false) GUIEditor_Label[1] = guiCreateLabel(9,252,106,35,"",false,GUIEditor_Image[1]) GUIEditor_Label[2] = guiCreateLabel(12,304,114,30,"",false,GUIEditor_Image[1]) GUIEditor_Label[3] = guiCreateLabel(11,348,112,38,"",false,GUIEditor_Image[1]) GUIEditor_Label[4] = guiCreateLabel(11,401,115,29,"",false,GUIEditor_Image[1]) GUIEditor_Label[5] = guiCreateLabel(12,450,132,32,"",false,GUIEditor_Image[1]) GUIEditor_Label[6] = guiCreateLabel(13,513,55,61,"",false,GUIEditor_Image[1]) bindKey ( "F7", "down", show_gui ) end addEventHandler( "onClientResourceStart", getResourceRootElement(), gui ) addEventHandler( "onClientPlayerJoin", getLocalPlayer(), gui ) ----------------- ----------------- function show_gui ( ) if ( guiGetVisible ( GUIEditor_Image[1] ) == true ) then guiSetVisible ( GUIEditor_Image[1], false ) showCursor ( false ) else guiSetVisible ( GUIEditor_Image[1], true ) showCursor ( true ) end end -------- function someFunction() if source == GUIEditor_Label[1] then guiSetVisible( GUIEditor_Image[2] ,true) guiSetVisible( GUIEditor_Image[3] ,false) guiSetVisible( GUIEditor_Image[4] ,false) guiSetVisible( GUIEditor_Image[5] ,false) guiSetVisible( GUIEditor_Image[6] ,false) elseif source == GUIEditor_Label[2] then guiSetVisible( GUIEditor_Image[2] ,false) guiSetVisible( GUIEditor_Image[3] ,true) guiSetVisible( GUIEditor_Image[4] ,false) guiSetVisible( GUIEditor_Image[5] ,false) guiSetVisible( GUIEditor_Image[6] ,false) elseif source == GUIEditor_Label[3] then guiSetVisible( GUIEditor_Image[2] ,false) guiSetVisible( GUIEditor_Image[3] ,false) guiSetVisible( GUIEditor_Image[4] ,true) guiSetVisible( GUIEditor_Image[5] ,false) guiSetVisible( GUIEditor_Image[6] ,false) elseif source == GUIEditor_Label[4] then guiSetVisible( GUIEditor_Image[2] ,false) guiSetVisible( GUIEditor_Image[3] ,false) guiSetVisible( GUIEditor_Image[4] ,false) guiSetVisible( GUIEditor_Image[5] ,true) guiSetVisible( GUIEditor_Image[6] ,false) elseif source == GUIEditor_Label[5] then guiSetVisible( GUIEditor_Image[2] ,false) guiSetVisible( GUIEditor_Image[3] ,false) guiSetVisible( GUIEditor_Image[4] ,false) guiSetVisible( GUIEditor_Image[5] ,false) guiSetVisible( GUIEditor_Image[6] ,true) elseif source == GUIEditor_Label[6] then guiSetVisible( GUIEditor_Image[1] ,false) showCursor ( false ) end end addEventHandler("onClientGUIClick", root, someFunction) this my panel please help me
-
this code ? btnOutput = guiCreateButton( 25, 30, 100, 40, "", false ,stats) outopentab = guiCreateTab( "", panelwindow, stats) addEventHandler ( "onClientGUIClick", btnOutput, outopentab, false )
-
Thanks ..# Help me Other Players
-
i need code I want those who click on any image opens up to me tab only Click image open tab
-
Hi guys How Are you Help me Plz My Panel ScreenShot : i need code : I want those who click on any image opens up to me tab Exmple :
-
this Client.lua showCursor ( true ) myWindow = guiCreateWindow (300,200,600,430, "Welcome To Your UserPanel,", false ) tabPanel = guiCreateTabPanel ( 0, 0.1, 1, 1, true, myWindow ) tabMap = guiCreateTab( "Maps", tabPanel ) tabMaps = guiCreateLabel( 380, 10, 300, 50, "Search Maps:", false , tabMap) guiLabelSetColor(tabMaps,0,255,0) mapssearch = guiCreateEdit(377,30,200,29,"",false,tabMap) mapspriceLabel = guiCreateLabel(380,60,320,18,"Price : 4000$",false,tabMap) guiLabelSetColor(mapspriceLabel,255,150,0) refreshmapButton = guiCreateButton(375,80,200,30,"Refresh Map List",false,tabMap) mapsbyLabel = guiCreateLabel(380,120,320,18,"UserPanel By : MiX#",false,tabMap) guiCreateStaticImage (400,160,119,100,"img/logo.png",false,tabMap ) buynextButton = guiCreateButton(375,300,200,30,"Buy As Next Map",false,tabMap) local maplist = guiCreateGridList ( 5, 5, 350, 340, false , tabMap) local column = guiGridListAddColumn( maplist, "Name Map :", 0.85 ) local row = guiGridListAddRow ( maplist ) guiGridListSetItemText ( maplist, row, 1, tostring ( getResourceInfo ( map, 'name' ) ), false, false ) function greetingCommand ( commandName ) triggerServerEvent ( "onGreeting", getLocalPlayer(), "Hello World!" ) -- getLocalPlayer instead of getRootElement makes the client player the 'source' on the server function, eliminating the need for an additional player argument to be transferred. end addCommandHandler ( "greet", greetingCommand ) addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function() triggerServerEvent("example", getLocalPlayer()) end ) This Server.lua function greetingHandler ( message ) outputChatBox ( "The client says: " .. message, source ) end addEvent( "onGreeting", true ) addEventHandler( "onGreeting", getRootElement(), greetingHandler ) addEvent("example",true) addEventHandler("example", getRootElement(), function() ----Here the complement-------- end ) i edit map not show in grid list
-
yes already guiGridListAddColumn guiGridListAddRow guiGridListSetItemText
-
help me plz how to show maps in gridlist
-
how to edit plz edit my code