Jump to content

كيف اخلي الصورة تدور في سيرفر


GnKeZ

Recommended Posts

مثال :



local screenW, screenH = guiGetScreenSize()
Animition = 0
addEventHandler("onClientRender", root,
    function()
	Animition = Animition + 3
        dxDrawImage((screenW - 79) / 2, (screenH - 91) / 2, 79, 91, ":guieditor/images/reset.png", Animition, 0, 0, tocolor(255, 255, 255, 255), false)
    end
)

Note : شغل الاديتور ولا تسوي شيء بس شغل المود لان الصورة من الاديتور 

Edited by yasin0
Link to comment

مثال :

?

 
  1.  
  2.  
  3. local screenW, screenH = guiGetScreenSize()
  4. Animition = 0
  5. addEventHandler("onClientRender", root,
  6. function()
  7. Animition = Animition + 3
  8. dxDrawImage((screenW - 79) / 2, (screenH - 91) / 2, 79, 91, ":guieditor/images/reset.png", Animition, 0, 0, tocolor(255, 255, 255, 255), false)
  9. end
  10. )

Note : شغل الاديتور ولا تسوي شيء بس شغل المود لان الصورة من الاديتور 

Link to comment
9 minutes ago, yasin0 said:

مثال :

?


 
  1.  
  2.  
  3. local screenW, screenH = guiGetScreenSize()
  4. Animition = 0
  5. addEventHandler("onClientRender", root,
  6. function()
  7. Animition = Animition + 3
  8. dxDrawImage((screenW - 79) / 2, (screenH - 91) / 2, 79, 91, ":guieditor/images/reset.png", Animition, 0, 0, tocolor(255, 255, 255, 255), false)
  9. end
  10. )

Note : شغل الاديتور ولا تسوي شيء بس شغل المود لان الصورة من الاديتور 

طيب شيل كلمة جيو اديتور ويظبط دون م يشغله 
كذا يعني :
 

dxDrawImage((screenW - 79) / 2, (screenH - 91) / 2, 79, 91, "images/reset.png", Animition, 0, 0, tocolor(255, 255, 255, 255), false)

 

Link to comment
2 hours ago, GnKeZ said:

images/reset.png استبدل الكود ذا ب رابط الصوره ؟

 

images/reset.png

هدا موقع الصورة في ملفك اللي انت عامله يعني

على سبيل المتال انت حاط الصوره مع ملفات الكلنت وملف الميتا بتجي تكتب كدا

reset.png

وreset

اسم الصورة

png صيغة الصورة

فقط

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...