Jump to content

تعديل كود


Recommended Posts

local screenWidth, screenHeight = guiGetScreenSize()

img = "xx.gif"

addEventHandler("onClientRender", root,

function()

local seconds = getTickCount() / 1000

local R = math.sin(seconds) * 80

dxDrawImage( (screenWidth / 800) 645, (screenHeight / 600) 157, (screenWidth / 800) 93, (screenHeight / 600) 68, img , R)

end

)

فيه مشكلة ممكن حلها

Link to comment

local screenWidth, screenHeight = guiGetScreenSize() 
  
img = "xx.gif" 
  
addEventHandler("onClientRender", root, function() 
local seconds = getTickCount() / 1000 
local R = math.sin(seconds) * 80 
dxDrawImage( (screenWidth / 800) * 645, (screenHeight / 600) * 157, (screenWidth / 800) * 93, (screenHeight / 600) * 68, img , R) 
end 
) 
Link to comment
local screenWidth, screenHeight = guiGetScreenSize() 
  
img = "xx.gif" 
  
addEventHandler("onClientRender", root, function() 
local seconds = getTickCount() / 1000 
local R = math.sin(seconds) * 80 
dxDrawImage( (screenWidth / 800) * 645, (screenHeight / 600) * 157, (screenWidth / 800) * 93, (screenHeight / 600) * 68, img , R) 
end 
) 

بردو ما اشتغل خوي

Link to comment
انسخ كودي زين ولا تعدل عليه , انا مجربه وشغال معي تأكد من مسار الصوره واسم الصوره

وانك ضايفها في الميتا

local screenWidth, screenHeight = guiGetScreenSize()

img = "xx.gif"

addEventHandler("onClientRender", root, function()

local seconds = getTickCount() / 1000

local R = math.sin(seconds) * 80

dxDrawImage( (screenWidth / 800) * 645, (screenHeight / 600) * 157, (screenWidth / 800) * 93, (screenHeight / 600) * 68, img , R)

end

)

_____________

META

_____________

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...