Jump to content

#Al-Ha[J]aRii

Members
  • Posts

    482
  • Joined

  • Last visited

Everything posted by #Al-Ha[J]aRii

  1. I want him just create file and it's not do it
  2. nope it's just a Trick and I do file delet for client I want just show for they Are You Try To Steal The Mode ?-- in lua because for the noob baby stealing client from mods\deathmatch\resources
  3. hi all I do a create file he doesn't create the file is this wrong with meta if there somethink need to add it on the meta for the create this is mine code I check it when resource start he should to createfile but he is not create local file = fileCreate("fileDecompilede.lua") if (file) then fileWrite(file,'LoL Are You Try To Steal The Mode? -- ') outputChatBox("DoneHelp") end meta -- script src="Read.lua" type="server" />
  4. How is it useful? useful means player do the function and put it in the wiki https://wiki.multitheftauto.com/wiki/DxDrawColorText see down https://wiki.multitheftauto.com/wiki/Useful_Functions
  5. تبي ايي زر يضغط عليه تصير الشاشه مو سوداء + انت تبيه تختفي النافذه لين ضغط على هذه الزر؟
  6. just one player when I select in his name and I do when the player click in the button blow hide the window and player blow
  7. اكثر من زر راح تصير كذا addEventHandler("onClientGUIClick", root, function( state, absoluteX, absolutey ) if (source == GUIEditor.button[4]) then elseif(source == اسم زر)then elseif(source == اسم زر)then elseif(source == اسم زر)then end end,false) دامك محدد الزر سؤال يطرح نفسة لية تسوي false? لول ... عدلتها لان كتبته بسرعه ذذ
  8. is my code now server is true? Client Side! changeGridListItemToPlayersName = function ( GridList, Column ) if GridList and Column then if getElementType ( GridList ) == "gui-gridlist" then if guiGridListClear ( GridList ) then for i, v in next, getElementsByType ( "player" ) do guiGridListSetItemText ( GridList, guiGridListAddRow ( GridList ), Column, getPlayerName ( v ), false, false ); end; end; end; end; end; GUIEditor = { gridlist = {}, button = {}, } wnd = guiCreateWindow(434, 133, 254, 304, "Window Explosion !", false) guiWindowSetSizable(wnd, false) guiSetAlpha(wnd, 0.90) GridList = guiCreateGridList(9, 19, 221, 226, false, wnd) guiGridListAddColumn(GridList, "Name", 0.9) changeGridListItemToPlayersName(GridList,1) Explosion = guiCreateButton(14, 253, 221, 36, "Explosion", false, wnd) addEventHandler("onClientGUIClick", root, function() if (source == NameButtonShop) then guiSetVisible ( wnd, true ) showCursor(true) guiSetInputEnabled(true) end end) addEventHandler("onClientGUIClick", root, function() if (source == Explosion) then triggerServerEvent("Explosion",localPlayer()) guiSetVisible ( wnd, false ) showCursor(false) guiSetInputEnabled(false) end end) Server Side ! addEvent("Explosion", true) addEventHandler("Explosion", root, function () for k,v in ipairs(getElementsByType("player"))do local x, y, z = getElementPosition ( source ) createExplosion ( x , y , z , 0 ,nil , source ) end end)
  9. so now I don't need the guiGridListSetItemText
  10. اكثر من زر راح تصير كذا addEventHandler("onClientGUIClick", root, function( state, absoluteX, absolutey ) if (source == GUIEditor.button[4]) then elseif(source == اسم زر)then elseif(source == اسم زر)then elseif(source == اسم زر)then end end)
  11. GUIEditor = { gridlist = {}, button = {}, } wnd = guiCreateWindow(434, 133, 254, 304, "Window Explosion !", false) guiWindowSetSizable(wnd, false) guiSetAlpha(wnd, 0.90) GridList = guiCreateGridList(9, 19, 221, 226, false, wnd) guiGridListAddColumn(GridList, "Name", 0.9) for i = 1, 30 do guiGridListAddRow(GridList) end guiGridListSetItemText(GridList, 0, 1, "-", false, false) guiGridListSetItemText(GridList, 1, 1, "-", false, false) guiGridListSetItemText(GridList, 2, 1, "-", false, false) guiGridListSetItemText(GridList, 3, 1, "-", false, false) guiGridListSetItemText(GridList, 4, 1, "-", false, false) guiGridListSetItemText(GridList, 5, 1, "-", false, false) guiGridListSetItemText(GridList, 6, 1, "-", false, false) guiGridListSetItemText(GridList, 7, 1, "-", false, false) guiGridListSetItemText(GridList, 8, 1, "-", false, false) guiGridListSetItemText(GridList, 9, 1, "-", false, false) guiGridListSetItemText(GridList, 10, 1, "-", false, false) guiGridListSetItemText(GridList, 11, 1, "-", false, false) guiGridListSetItemText(GridList, 12, 1, "-", false, false) guiGridListSetItemText(GridList, 13, 1, "-", false, false) guiGridListSetItemText(GridList, 14, 1, "-", false, false) guiGridListSetItemText(GridList, 15, 1, "-", false, false) guiGridListSetItemText(GridList, 16, 1, "-", false, false) guiGridListSetItemText(GridList, 17, 1, "-", false, false) guiGridListSetItemText(GridList, 18, 1, "-", false, false) guiGridListSetItemText(GridList, 19, 1, "-", false, false) guiGridListSetItemText(GridList, 20, 1, "-", false, false) guiGridListSetItemText(GridList, 21, 1, "-", false, false) guiGridListSetItemText(GridList, 22, 1, "-", false, false) guiGridListSetItemText(GridList, 23, 1, "-", false, false) guiGridListSetItemText(GridList, 24, 1, "-", false, false) guiGridListSetItemText(GridList, 25, 1, "-", false, false) guiGridListSetItemText(GridList, 26, 1, "-", false, false) guiGridListSetItemText(GridList, 27, 1, "-", false, false) guiGridListSetItemText(GridList, 28, 1, "-", false, false) guiGridListSetItemText(GridList, 29, 1, "-", false, false) GUIEditor.button[1] = guiCreateButton(14, 253, 221, 36, "Explosion", false, wnd) changeGridListItemToPlayersName = function ( GridList, Column ) if GridList and Column then if getElementType ( GridList ) == "gui-gridlist" then if guiGridListClear ( GridList ) then for i, v in next, getElementsByType ( "player" ) do guiGridListSetItemText ( GridList, guiGridListAddRow ( GridList ), Column, getPlayerName ( v ), false, false ); end; end; end; end; end;
  12. I understand all but the getPlayerName I did't understand how to put the name player in the Row and I create guiGridListSetItemText
  13. أجل يمنع فك التشفير أي هين كلام آول مآيمشي ._. يآمآ قآلو مآينفك وينفك ذذ كلهم ينفكو -_-"
  14. عطني مثال على : setPedControlState + getDistanceBetweenPoints2D Edit : + FindRotation setPedControlState ( ped ,اسم الكونترول ,true ) تقدر تاخدها من https://wiki.multitheftauto.com/wiki/Control_names getDistanceBetweenPoints2D ( x, y, x2, y2) x y احداثيات النقطة الاولى x2 y2 احداثيات النقطة الثانيه findRotation(x1 , y1 , x2 , y2) x1 + y1 احداثيات البدايه x2 + y 2 نقطة الهدف
  15. Hi All what function I wil use it for to do this bomb when I press in button open window and I do the window and in this window get all player's name it's in the shop see this picture -_-" and this picture what I wil use function in it it's put on u bomb and after 5 sec she wil Explode this is the picture
  16. اضن قصده تضغط على زر English زر يخلي الكلام انجليزي Arabic زر يخلي الكلام عربي في المود الي هو امسويه
  17. وين الموضوع مو شايفه هو مو موضوع بس كتب في موضوع تابل الي اسمه هام حتى لايحدف موضوعك https://forum.multitheftauto.com/viewtopic.php?f=119&t=55785
  18. مُــُبُدع‘ـُ يُــُآطُــُلالُ ۅ لآهـُـنُــُتُ عُــُلُــُى آلُــُطُــُرح
  19. اهــنــيــكــ علــــى الســكــربــت و واصــــل بــدونـ فــوآصــل
×
×
  • Create New...