Jump to content

abu5lf

Members
  • Posts

    2,193
  • Joined

  • Last visited

Everything posted by abu5lf

  1. الكود الي معطيك كامل مغير حطه في ملف الكلنت وشغل المود يا عاشق المود مافيه لا ملف واحد الي هو server حطه في اي مود فيه ملف كلنت مثل الادمنية او الفري روم
  2. الكود الي معطيك كامل مغير حطه في ملف الكلنت وشغل المود
  3. bindKey( 'l', 'down', 'lights', '1' ) أو bindKey( 'l', 'down', 'lights', '2' ) حطه في ملف كلنت
  4. onClientGUIClick - تنفيذ وظيفة GUI عند الضغط على . guiCreateStaticImage - انشاء صورة .
  5. All proofs are into a hidden section. If you say I'm not respect the members, Why don't ban me by administrator? Stop false accusation.
  6. You have proof? How I help a lot of people and I don't respect the members? Stop false accusation.
  7. وعليكم السلام بدال ماتسوي موضوع جديد عن كل اضافة او خبر للأستضافةة يمكنك اكماله في موضوع واحد : viewtopic.php?f=119&t=47498
  8. -- Client Side GUIEditor_Window = {} GUIEditor_Grid = {} GUIEditor_Window[1] = guiCreateWindow(478, 201, 296, 372, "Select a vehicle", false) guiSetVisible ( GUIEditor_Window[1] , false ) GUIEditor_Grid[1] = guiCreateGridList(9, 21, 278, 243, false, GUIEditor_Window[1]) guiGridListSetSelectionMode(GUIEditor_Grid[1],2) guiGridListAddColumn(GUIEditor_Grid[1], "Available vehicles :", 0.9) aCars = { --[[{ 'Car Name', Id Car };]] { 'Camry', 411 }; } for _, aCar in ipairs( aCars )do local gRow = guiGridListAddRow( GUIEditor_Grid[1] ) guiGridListSetItemText( GUIEditor_Grid[1], gRow, 1, tostring( aCar[ 1 ] ), false, false ) guiGridListSetItemData( GUIEditor_Grid[1], gRow, 1, tostring( aCar[ 2 ] ) ) end addEventHandler( 'onClientGUIDoubleClick', GUIEditor_Grid[1], function( ) local iRow, iCol = guiGridListGetSelectedItem( GUIEditor_Grid[1] ) if( iRow and iCol and iRow ~= -1 and iCol ~= -1 )then local ID_Car = tonumber( guiGridListGetItemData( GUIEditor_Grid[1], iRow, 1 ) ) if ID_Car ~= '' then triggerServerEvent( 'giveCar', localPlayer, ID_Car ) guiSetVisible( GUIEditor_Window[1], false ) showCursor( false ) end end end, false ) Marker1 = createMarker( 0, 0, 4, 'arrow', 2.5, 0, 0, 255, 150 ) addEventHandler( 'onClientMarkerHit', Marker1, function( hitPlayer ) if hitPlayer == localPlayer then guiSetVisible( GUIEditor_Window[1], true ) showCursor( true ) end end ) -- Server Side vehicle = { } addEvent( 'giveCar', true ) addEventHandler( 'giveCar', getRootElement( ), function( ID ) if isElement( vehicle[ source ] ) then destroyElement( vehicle[ source ] ) vehicle[ source ] = nil end vehicle[ source ] = createVehicle( ID , getElementPosition( source ) ) warpPedIntoVehicle( source, vehicle[ source ] ) end ) addEventHandler( 'onPlayerQuit', getRootElement( ), function( ) if isElement( vehicle[ source ] ) then destroyElement( vehicle[ source ] ) vehicle[ source ] = nil end end )
  9. أضغط على الوظيفة رآح يظهر لك شرح .
  10. I have the ability to communicate in English I understand the Forum Rules I'm friendly and helpful every time I have good knowledge of scripting and I have helped a lot of people You can see that I have helped a lot of people in 99% of topics and I'm always online 24/7.
  11. abu5lf

    Team veh.?

    onVehicleStartEnter getPlayerTeam
  12. abu5lf

    Team veh.?

    Yes, it possible you must use: setAccountData getAccountData
  13. داري ي أخي انا معطيه مثال ومعطيه الوظيفة عشان يسوي خط خارج اللعبةة .
  14. يمديه يسوي الزر كذا for _, button in ipairs( getElementsByType( 'gui-button', g_ResRoot ) )do guiSetFont( button, 'default-bold-small' ) end نفس طريقة أضافة الكود إلي فوق
  15. Show Your code then fix problem.
  16. abu5lf

    need code

    viewtopic.php?f=119&t=52526
  17. Stolen my script: https://community.multitheftauto.com/index.php?p= ... ls&id=6276 DONE
  18. Button = guiCreateButton( 0.6, 0.95, 0.30, 0.25,'Show Chat', true ) addEventHandler( 'onClientGUIClick', Button, function( ) if not( i ) then showChat( true ) else showChat( false ) end i = not i end, false )
  19. guiCreateFont - يمديك بهذا الوظيفة تنشيء خط خآرج اللعب
  20. خط أيش؟ guiSetFont - عشان تحط خط . guiCreateFont - يمديك بهذا الوظيفة تنشيء خط خآرج اللعبة مثال : for _, label in ipairs( getElementsByType( 'gui-label', g_ResRoot ) )do guiSetFont( label, 'default-bold-small' ) end حطه في ملف الفري روم fr_client.lua السطر 1577 راح يغير خط الليبل
×
×
  • Create New...