Dragging Without a Border??

Post your topics and discussions here that you can't find a good section for.
Post Reply
DazHaven
Noobzor
Noobzor
Posts: 7
Joined: Sat Oct 05, 2024 12:55 am
Reputation: 0

Dragging Without a Border??

Post by DazHaven »

no matter what i seem to do i do not seem to be able to get a trainer to drag with a border removed, i am attempting to us this code

Code: Select all

function ImageMouseDown(sender, button, x, y)
  CETrainer.dragNow()
end

function FormMouseDown(sender, button, x, y)
  CETrainer.dragNow()
end 
i started off with the first part and it didnt work, then i figured since i was using a image for the background maybe that was stopping me from clicking the main screen with it been in front, so i added the second part, that doesnt seem to work either so i tried different slight variations with no luck.
is CETrainer even the correct part to have in there?

Image

i tried adding almost everything from here just hoping to get lucky, and i also have that chunk of script at the very bottom of the lua if that makes any difference. well you guyz have been great so far with your solutions lets hope i hit lucky again haba

DazHaven
Noobzor
Noobzor
Posts: 7
Joined: Sat Oct 05, 2024 12:55 am
Reputation: 0

Re: Dragging Without a Border??

Post by DazHaven »

for anybody else having the same issue i fixed it with this code

Code: Select all

function CETrainer_CEImage1MouseDown(sender, button, x, y)
   CETrainer.dragNow()
end
and you can see from the image were to correct parts needed to go.

Post Reply

Who is online

Users browsing this forum: SemrushBot