View previous topic :: View next topic |
Author |
Message |
___obmib___ How do I cheat? Reputation: 0
Joined: 03 Aug 2015 Posts: 5 Location: qatar
|
Posted: Tue Aug 04, 2015 2:16 pm Post subject: background image |
|
|
hello everyone need some help to insert a background image on this trainer.ive been searching for some thread and trying to follow some tutorials but still i cant insert an image....thanks in advance
Description: |
|
Filesize: |
36.15 KB |
Viewed: |
4185 Time(s) |
|
|
|
Back to top |
|
|
JirkaCZS How do I cheat? Reputation: 0
Joined: 18 Jul 2015 Posts: 8
|
Posted: Wed Aug 05, 2015 12:33 pm Post subject: |
|
|
If you want background image you can add in form designer image and add buttons or something on it. If you want do it with lua, then idk how.
|
|
Back to top |
|
|
3kokocam Newbie cheater Reputation: 0
Joined: 22 Dec 2014 Posts: 22 Location: 127.0.0.1
|
Posted: Thu Sep 03, 2015 8:30 am Post subject: |
|
|
Put This In The Starting Of Your Trainer
Code:
Code: | function attachBackground(wc,tblFile)
local p = createPicture()
p.loadFromStream(findTableFile(tblFile).Stream)
wc.OnPaint = function(sender)
local c = sender.getCanvas()
local bitmap = p.getBitmap()
c.draw(0,0,bitmap)
end
end |
And Put This In The Properties
Code:
Code: | setProperty(MainGUI[1] , "color", Background)
attachBackground(MainGUI[1],[[your pic name.jpg]]) |
Quote: | @JirkaCZS
If you want background image you can add in form designer image and add buttons or something on it. If you want do it with lua, then idk how. |
This Trainer is made of ready LUA script and can't be designed in form designer
|
|
Back to top |
|
|
|