Jump to content

darbka2002

Members
  • Posts

    91
  • Joined

  • Last visited

Everything posted by darbka2002

  1. المشكلة كانت فى mta مسحت اللعبة و عملتلها اعادة تصطيب و الان المشكلة اتحلت شكرا على مساعدتكم
  2. نعم معدلها الى .png و المشكلة لسا مستمرة
  3. نعم متئكد ان مسار الصورة images
  4. جربت الكود حقق و ما نفع لسا بردو بيظهر نفس الرسالة background.png failed to download هذا هوا الكود addEventHandler ( "onClientResourceStart", root, function () downloadFile ("images/background.png") end ) function onDownloadFinish ( file, success ) if ( source == resourceRoot ) then if ( success ) then if ( file == "images/background.png" ) then outputChatBox ( "background.png downloaded" ) end else if ( file == "images/background.png" ) then outputChatBox ( "background.png failed to download" ) end end end end addEventHandler ( "onClientFileDownloadComplete", root, onDownloadFinish )
  5. <meta> <min_mta_version client="1.5.4" server="1.5.4" /> <script src="client.lua" type="client" cache="false"/> <file src="images/background.jpg" download="false"/> </meta> #Edit: تمام انا حولت الصورة لى .png بس دلوقتى بيطلع فى الشات background.png failed to download اية الحل
  6. function onThisResourceStart ( ) downloadFile ( "images/background.jpg" ) end addEventHandler ( "onClientResourceStart", resourceRoot, onThisResourceStart ) function onDownloadFinish ( file, success ) if ( source == resourceRoot ) then if ( success ) then if ( file == "images/background.jpg" ) then outputChatBox ( "test.jpg downloaded" ) end else if ( file == "images/background.jpg" ) then outputChatBox ( "test.jpg failed to download" ) end end end end addEventHandler ( "onClientFileDownloadComplete", root, onDownloadFinish )
  7. استخدمتها من قبل و ما نفعت الملف بيتحمل و لكن لما اخش على اشوفة فى مكان التحميل فى \MTA San Andreas 1.5\mods\deathmatch\resources القى الصورة مساحتها صفر كيلو بيت و جربت هذا الموضوع مع الكثير من انواع الملفات و فيها نفس المشكلة
  8. صور من نوع png و استخدم downloadFile("test.png")
  9. hello, i have a problem in downloadFile when i use downloadFile("test.png") The file is loaded but the size is 0 byet and i add the file in meta and download="false" help.
  10. سلام عليكم , عندى مشكلة فى downloadFile انا بكتب اسم الملف اللى عايز احملة بس المشكلة ان الملف لما بيتحمل بيكون حجمة 0 مع العلم ان ضايف الملف فى meta و مخلى download="false"
  11. سلام عليكم معى مشكلة فى getDistanceBetweenPoints3D vehicle1x, vehicle1y, vehicle1z = getElementPosition ( vehicle ) stopX, stopY, stopZ = busStopsLS[stopNumberLS].x, busStopsLS[stopNumberLS].y, busStopsLS[stopNumberLS].z vehicle2x, vehicle2y, vehicle2z = busStopsLS[stopNumberLS].x, busStopsLS[stopNumberLS].y, busStopsLS[stopNumberLS].z local label4 = guiCreateLabel(511, 978, 175, 36, ""..tostring(getDistanceBetweenPoints3D( vehicle1x, vehicle1y, vehicle1z, vehicle2x,vehicle2y, vehicle2z )), false) local txx1 = dxDrawRectangle(512, 978, 174, 46, tocolor(0, 0, 0, 134), false) هذا الكود شغال تمام بس فية مشكلة صغيرة انا بدى اذا السيارة اتحركت تغير Distance لئنها ثانتة ما تتحرك على lable4
  12. اخى انا اقدر اعملك سيرفر يصل الى 7000 لاعب
  13. سلام عليكم احب اقدم لكم استضافة hixohost #vps# ---------- #vps 1# ram: 1G hardDisk: 60G cpu: core 1 Bandwidth : 1000G ddos protection : up to 900G support : 24 hour location : german / brazil / usa / london / australia 6$ paypal / orange money / vodafone cash ---------------------------------------------------------------------------------------------------------------- #vps 2# ram: 2G hardDisk: 80G cpu: core 2 Bandwidth: 2000G ddos protection : up to 1000G support : 24 hour location : german / brazil / usa / london / australia 11$ paypal / orange money / vodafone cash ---------------------------------------------------------------------------------------------------------------- #mta-servers# ---------- #mta1# players: 1024 hardDisk: unlimited ddos protection : up to 900G support : 24 hour location : german / brazil / usa / london / australia 1$ paypal / orange money / vodafone cash ---------------------------------------------------------------------------------------------------------------- #mta2# players: 2048 hardDisk: unlimited ddos protection : up to 900G support : 24 hour location : german / brazil / usa / london / australia 2$ paypal / orange money / vodafone cash ---------------------------------------------------------------------------------------------------------------- #mta3# players: 3500 hardDisk: unlimited ddos protection : up to 900G support : 24 hour location : german / brazil / usa / london / australia 3$ paypal / orange money / vodafone cash ---------------------------------------------------------------------------------------------------------------- #mta4# players: 5000 hardDisk: unlimited ddos protection : up to 900G support : 24 hour location : german / brazil / usa / london / australia 4$ paypal / orange money / vodafone cash ---------------------------------------------------------------------------------------------------------------- #ts3# ---------- #ts1# players: 32 ddos protection : up to 900G support : 24 hour location : german / brazil / usa / london / australia 2$ paypal / orange money / vodafone cash ---------------------------------------------------------------------------------------------------------------- #mincraft# ---------- #mincraft1# players: 100 hardDisk: unlimited ddos protection : up to 900G support : 24 hour location : german / brazil / usa / london / australia 2$ paypal / orange money / vodafone cash ---------- #mincraft2# players: 200 hardDisk: unlimited ddos protection : up to 900G support : 24 hour location : german / brazil / usa / london / australia 3$ paypal / orange money / vodafone cash ---------------------------------------------------------------------------------------------------------------- رابط اللوحة http://hixo2host.tk/ اى الشراء او لاستفسار skype: medoman175 / facebook:hamada.agooz1 / ahmed.skiy سلام عليكم
  14. سلام عليكم لدى مشكلة فى كود تاب انا كنت اريد اضا ضغطت على اسم التاب من فوق تقفل اللوحة كلها الكود هذا ما يشتغل guibutton = guiCreateButton ( ... ) addEventHandler ( "onClientGUIClick", tab1, function ( button, state ) if button == "left" and state == "up" then destroyElement ( guipanel ) -- Hide GUI end end, false )
  15. it still not work close1 = guiCreateTab("close", tabpanel) addEventHandler ( "onClientGUIClick", close1, function ( button, state ) if state == "up" then guiSetVisible( rule, false ) end end, false ) and i try to use your codes but it not work and this not work i just need if i click in the tab in the top in the tab name the gui close
  16. i dont mean button i mean tab in gui tabpanel
  17. hello, i want if player click on the tab with name close then close the gui please help
  18. اخى اى احداثيات تقصد يجب ان اغيرها
  19. ظبت لاكواد بس ما اشتغلت staticimage1 = guiCreateStaticImage(screenW - 300 - 10, (screenH - 200) / 2, 300, 550, "1.png", false) staticimage2 = guiCreateStaticImage(screenW - 282 - 10, (screenH - 35) / 2, 263, 401, "2.png", false, staticimage1)
  20. سلام عليكم عندى مشكلة فى لوحة gui staticimage الكود حقى staticimage1 = guiCreateStaticImage(screenW - 300 - 10, (screenH - 200) / 2, 300, 550, "1.png", false) staticimage2 = guiCreateStaticImage(screenW - 282 - 10, (screenH - 35) / 2, 263, 401, "2.png", false) اذا وضعتة هيك اذا ضغت على داخل الصورة رقم 1 تختفى الصورة رقم 2 المشكلة الثانية staticimage1 = guiCreateStaticImage(screenW - 300 - 10, (screenH - 200) / 2, 300, 550, "1.png", false) staticimage2 = guiCreateStaticImage(screenW - 282 - 10, (screenH - 35) / 2, 263, 401, "2.png", falseو staticimage1) و اذا عملت اللوحة هيك ما تظهر الصورة رقم 2 ممكن مساعدة
  21. darbka2002

    my vps bug

    hello, i have a vps with internet speed 14.3m/s and i install ogp on it and i make mta server but the ping high from 400~1000 can any one help me to make it low and on the mincraft server on this vps the ping 100 and when i ask my friend to play this server in mta his ping 600 so where 's the bug ?
  22. hello, i have a vps with internet speed 14.3m/s and i install ogp on it and i make mta server but the ping high from 400~1000 can any one help me to make it low and on the mincraft server on this vps the ping 100 and when i ask my friend to play this server in mta his ping 600 so where 's the bug ?
  23. no i ping it with cmd the ping from 80~90 i start mincraft server ping on it 80~ 100 idk why mta not work good on my vps the ping now 600~1000
  24. hello, i have a vps with internet speed 14.3m/s and i install ogp on it and i make mta server but the ping high from 400~1000 can any one help me to make it low and on the mincraft server on this vps the ping 100 and when i ask my friend to play this server in mta his ping 600 so where 's the bug ?
×
×
  • Create New...