Jump to content

Help me With my code


jamelnassar

Recommended Posts

Posted

hello i have code make my photo come from left

i want to make the photo come from right

i tried a lot but it doesnt work

this is the code

function mapwindowa() 
local hours = getRealTime() .hour 
local minutes = getRealTime() .minute 
local seconds = getRealTime() .second 
local sec = getTickCount() / 1 
local rotate = math.ceil(sec) * 0.20 
deltaTime = (getTickCount()) - startTimess 
  
if deltaTime <= 1000 then 
    beta = sx - ((deltaTime/1000)*400) 
elseif (deltaTime > 1000) and (deltaTime < 4000) then 
    beta = sx-400  
end 

Help me !!!!

i want to make the photo come from right

Posted

Ye Neither do I it doesn't look like a full code and i think he means that the image comes from the left but he wants it to come from the right

Skype: Jordan_Nymph

  • Moderators
Posted
Try line 10: + instead of -.

- and - = +

- and + = -

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

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