Mr.Hugin Posted December 7, 2021 Share Posted December 7, 2021 (edited) السلام عليكم ورحمه الله وبركاته شباب عندي مشكله طبعن سويت مود بس ماعرفت اكمله هوه عباره عن توب الاعبين تكتيك فه ماعرفت اكمله فه اتمنه انو يكون واحد فاهم وساعدني بهاذا المود طبعن صوره المود مو لي المود هاذا هاذي صوره للمود و الأكواد --Client side GUIEditor = { gridlist = {}, window = {} } local screenW, screenH = guiGetScreenSize() GUIEditor.window[1] = guiCreateWindow((screenW - 862) / 2, (screenH - 570) / 2, 862, 570, "TOP | 100 | Players", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF0000") guiSetVisible(GUIEditor.window[1],false) GUIEditor.gridlist[1] = guiCreateGridList(9, 29, 843, 531, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "Rank", 0.1) guiGridListAddColumn(GUIEditor.gridlist[1], "Last Nick", 0.1) guiGridListAddColumn(GUIEditor.gridlist[1], "Account", 0.1) guiGridListAddColumn(GUIEditor.gridlist[1], "Kills", 0.1) guiGridListAddColumn(GUIEditor.gridlist[1], "Deaths", 0.1) guiGridListAddColumn(GUIEditor.gridlist[1], "K/D", 0.1) guiGridListAddColumn(GUIEditor.gridlist[1], "Status", 0.1) ------------------------------------------------------------ bindKey ( "F6" , "down" , function() if ( guiGetVisible ( GUIEditor.window[1] ) == true ) then guiSetVisible ( GUIEditor.window[1] ,false ) showCursor (false ) elseif ( guiGetVisible ( GUIEditor.window[1] ) == false ) then guiSetVisible ( GUIEditor.window[1] ,true ) showCursor (false ) end end ) --Server side addEventHandler("onPlayerWasted", root, function() for i, v in ipairs (getElementsByType("Player")) do if v then local acc = getPlayerAccount(v) if acc then local accName = tostring(getAccountName(acc)) local kills = tonumber(getAccountData(acc, "kills")) or 0 local deaths = tonumber(getAccountData(acc, "deaths")) or 0 local headshots = tonumber(getAccountData(acc, "headshots")) or 0 if accName and kills and deaths and headshots then triggerClientEvent(source, "updateList", source, accName, kills, deaths, headshots) function() setAccountData(acc, "kills", getElementData(source, "kills")) setAccountData(acc, "deaths", getElementData(source, "deaths")) setAccountData(acc, "headshots", getElementData(source, "headshots")) end, 180, 1) end end end end ) شو يلي ناقص عشان اقدر اكمله وحدد المكان اذا مافي عليك امر Edited December 7, 2021 by [T][O][P]CoCo Link to comment
Moderators Vinyard Posted December 8, 2021 Moderators Share Posted December 8, 2021 Moving this to the Arabic section. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now