Jump to content

iMr.SFA7

Members
  • Posts

    2,013
  • Joined

  • Last visited

Everything posted by iMr.SFA7

  1. الي فهمته أنك تبي صورة فوق اللاعب getElementPosition getDistanceBetweenPoints3D getScreenFromWorldPosition dxDrawImage
  2. زر الرتبة ؟ زر الكونسل ؟
  3. سكربت جميل .. بالتوفيق , عقبال مانشوفك من كبار المبرمجين هنا
  4. أطرح الكود كآمل وين المتغير Bu1 ؟ ووين المتغير serial ؟
  5. -- Client Side marker = createMarker(-2415.28369,-594.33514,132.57285,'cylinder',5,0,0,255,255) addEventHandler ( "onClientMarkerHit", marker, function ( element ) if ( element == localPlayer ) then triggerServerEvent ("Give",localPlayer) end end ) -- Server Side addEvent('Give',true) addEventHandler('Give', root, function ( player ) giveWeapon ( player, 31, 200 ) outputChatBox ( "تم اعطائك سلاح", player, 255, 0, 0, true ) end )
  6. ليه ضايف giveWeapon بالحدث ؟ وليه معرف السورس ؟ السورس معرف من حاله لازم تسوي تحقق أن الي دخل الماركر هو اللاعب والسورس بذا الحدث هو الماركر نفسه فـ لا تحط سورس تعطي الماركر سلاح ؟ marker = createMarker(-2408.04541,-596.83728,132.64844,'cylinder',5,0,0,255,255) addEventHandler ("onMarkerHit",marker, function ( player ) if ( getElementType ( source ) == "player" ) then giveWeapon ( player, 31, 200 ) outputChatBox ( "تم اعطائك سلاح", source, 255, 0, 0, true ) end end )
  7. وش الي ما صار ؟ أطرح الي سويته ؟
  8. https://community.multitheftauto.com/in ... ils&id=761 createMarker "onClientMarkerHit" setWeather
  9. فكرة رائعة .. Nice Idea لاهنت ع المجهود وبالتوفيق ..
  10. لاحول ولا قوة الا بالله Clinet ^ Client
  11. لازم تعطيه صلاحيات أضافة حساب لـ قروب
  12. نفس الخطأ الي صححته onClientGUIClick
  13. addEventHandler ( "onClientGUIClick",resourceRoot, function ( ) if ( source == اسم الزر ) then AccName = guiGetText ( اسم الايديت ) if AccName and AccName ~= "" then triggerServerEvent ( "GiveAdmin", getRootElement(), AccName ) end end end )
  14. GUIEditor = { window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(353, 234, 340, 296, "", false) guiWindowSetSizable(GUIEditor.window[1], false) btn = guiCreateButton(109, 66, 101, 36, "adw", false, GUIEditor.window[1]) end ) addEventHandler ( "onClientGUIClick",btn, function () local x,y,z = getElementPosition( localPlayer ) createMarker ( x, y, z, "cylinder", 1.0, 0, 0, 255,255 ) end,false )
  15. حياك الله و بالتوفيق في سكربتات ثانية .. ..
  16. -- يسوي ماتريكس لادخل اللاعب addEventHandler("onResourceStart",resourceRoot, function( ) setCameraMatrix ( source , x , y , z ) end) -- يظهر النافذة لاخلص التحميل addEventHandler ("onClientDownloadFinish",root, function ( ) guiSetVisible ( wnd , true ) end ) -- عموما تقدر تستخدم " onClientResourceStart "
  17. تقدر تستفيد من ذا السكربت https://community.multitheftauto.com/in ... ls&id=7613
×
×
  • Create New...