skyturk.sgf
Members-
Posts
16 -
Joined
-
Last visited
Details
-
Gang
right
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
skyturk.sgf's Achievements
Square (6/54)
0
Reputation
-
Multi Theft Auto: San Andreas 1.6 is ready for testing!
skyturk.sgf replied to myonlake's topic in News
Sorry for not being able to read all commits. Have problems such as vehicle damage, vehicle modification cheats for Race-destruction derby modes been resolved in this update? Many players want to have equal opportunities with everyone in this game mode. This game mode is endangered as most players resort to cheats. Please, I request you to take steps for necessary solutions. Thanks.- 32 replies
-
- mtasa
- mtasa 1.6.x
-
(and 3 more)
Tagged with:
-
function deadplayer(showgui) local window1 = guiCreateWindow(0,4,432,251,"ddsh",false) guiSetVisible(window1,true) end addEventHandler("onClientPlayerWasted", getLocalPlayer(), deadplayer) function mapstart(closegui) guiSetVisible(window1, false) end addEventHandler("onClientMapStopping", getLocalPlayer(), mapstart)
-
ı make dxpanel look my gui https://www.youtube.com/watch%3Fv%3DKraf ... 8aU_StCuMg
-
translate it use code
-
go to my dxwindow tut http://www.mta-tr.com/index.php?topic=15572.0
-
COme topic my tutorial. http://www.mta-tr.com/index.php?topic=15572.0 gui Design window.
-
this is a simple addEventHandler("onClientResourceStart",resourceRoot, function() guitestwindow = guiCreateWindow(0.6837,0,0.315,0.9983,"windowname",true) end ) function guiopenclose () local IsWindowVisible = guiGetVisible(guitestwindow) if (IsWindowVisible == true) then guiSetVisible(guitestwindow, false) guiSetInputEnabled(false) showCursor(false) end if (IsWindowVisible == false) then guiSetVisible(guitestwindow, true) showCursor(true) end end bindKey("F7", "down", guiopenclose) addCommandHandler("opengui", guiopenclose)
-
This code try easy addEventHandler("onClientResourceStart",resourceRoot, function() guiwindow = guiCreateWindow(227,186,309,254,"test",false) guiSetVisible ( guiwindow, false ) guitabpanel = guiCreateTabPanel(0.0291,0.1063,0.9385,0.8583,true,guiwindow) guitab = guiCreateTab("Information",guitabpanel) guilabel1 = guiCreateLabel(0.0724,0.1031,0.5138,0.1443,"stats:",true,guitab) guilabel2 = guiCreateLabel(0.069,0.3299,0.4448,0.2268,"skill:",true,guitab) guilabel3 = guiCreateLabel(0.0724,0.5361,0.331,0.2216,"rank:",true,guitab) guitab2 = guiCreateTab("vehicles",guitabpanel) guigrid = guiCreateGridList(0.0138,0.0309,0.4655,0.9381,true,guitab2) guiGridListSetSelectionMode(guigrid,2) guibutton1 = guiCreateButton(0.5241,0.1082,0.4241,0.1959,"spawn",true,guitab2) guibutton2 = guiCreateButton(0.5207,0.3557,0.431,0.1907,"buy",true,guitab2) guibutton3 = guiCreateButton(0.5241,0.6237,0.431,0.1856,"sell",true,guitab2) end ) function windowcloseopen () local IsWindowVisible = guiGetVisible(guiwindow) if (IsWindowVisible == true) then guiSetVisible(guiwindow, false) guiSetInputEnabled(false) showCursor(false) end if (IsWindowVisible == false) then guiSetVisible(guiwindow, true) showCursor(true) end end bindKey("o", "down", windowcloseopen)
-
have dxGui.lua does not work?
-
this code click the button open window how to add? you know?
-
ghvj
-
addEventHandler("onClientResourceStart",resourceRoot, function() guiwindow = dxCreateWindow(0.6837,0,0.315,0.9983,"*SGF| Sidebar",true) guistats = dxCreateButton(44,24,164,66,"Stats",false,guiwindow) dxSetFont(guistats,"sans") dxSetProperty(guistats,"Font","sans") guishop = dxCreateButton(44,125,164,66,"Shop",false,guiwindow) dxSetFont(guishop,"sans") dxSetProperty(guishop,"Font","sans") guimap = dxCreateButton(44,225,164,68,"Map Shop",false,guiwindow) dxSetFont(guimap,"sans") dxSetProperty(guimap,"Font","sans") guiachie = dxCreateButton(44,320,164,65,"Achievement",false,guiwindow) dxSetFont(guiachie,"sans") dxSetProperty(guiachie,"Font","sans") guileader = dxCreateButton(43,417,166,65,"Leader Board",false,guiwindow) dxSetFont(guileader,"sans") dxSetProperty(guileader,"Font","sans") guioption = dxCreateButton(43,527,166,63,"Options",false,guiwindow) dxSetFont(guioption,"sans") dxSetProperty(guioption,"Font","sans") end ) function guiac () dxSetVisible(guiwindow, false) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), guiac) function guiac () local IsWindowVisible = dxGetVisible(guiwindow) if (IsWindowVisible == true) then dxSetVisible(guiwindow, false) dxSetInputEnabled(false) showCursor(false) end if (IsWindowVisible == false) then dxSetVisible(guiwindow, true) dxSetInputEnabled(true) showCursor(true) end end bindKey("F7", "down", guiac)
-
show/hide is not Can you show me an example?
-
map does not work list
-
Bug fix please.. addEventHandler("onClientResourceStart",resourceRoot, function() winMapBuy = guiCreateWindow(283,145,693,404,"MapBuyWindow",false) grlMaps = guiCreateGridList(11,32,667,338,false,winMapBuy) guiGridListSetSelectionMode(grlMaps,2) cmdBuyMap = guiCreateButton(14,377,98,17,"Buy ( 5000$ )",false,winMapBuy) guiSetVisible(winMapBuy,false) toggleWindow = false firstStart = false end ) function openmapgui() if firstStart == false then firstStart = true firstTimer = true start() end if toggleWindow == false then toggleWindow = true else toggleWindow = false end showCursor(toggleWindow) guiSetVisible(winMapBuy,toggleWindow) end addCommandHandler("i",openmapgui) function RequestMapList() triggerServerEvent("eClientRequestMapList",getLocalPlayer()) end function start() if firstTimer == true then firstTimer = false setTimer(RequestMapList,MapRequestInterval,0) end end function GetMapList(mapList) guiGridListClear(grlMaps) for list,map in string.gfind(mapList, "::") do maps = string.gsub(mapList,"::", " ") outputDebugString(maps) myrow = guiGridListAddRow(grlMaps) guiGridListSetItemText(grlMaps,myrow,0,map,false,false) end end addEvent("eGetMapList",true) addEventHandler("eGetMapList",getRootElement(),GetMapList) addCommandHandler("maps",RequestMapList)