Counter-Strike Federation Welcome , Leecher | RSS | Monday, 25 November 24
A Place Where Player Becomes Developer Home | Sign Up | Log In
[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
[Share] How 2 make Loading use Image & SildeShow Object
Grade: Sergeant Nouris_Hamada_103Date: Saturday, 06 June 15, 8:12 PM | Message # 1
Sergeant
Clan: Member
Experience: 50
Status: Offline
Kali ini ane mau bagi" tutor Cara membuat loading menggunakan Objek Image & SlideShow
Langsung saja

- Buka Autoplay Media Studio
- Tambahkan 1 Object Button / xButton
- Tambahkan 1 Object SlideShow / Image
Silahkan input gambarnya sesuka hati
kemudian masukan script di bawah ini pada "Button" lebih tepatnya di "On Click"

Untuk SlideShow =
Code
Codepos = 0 ;
min = 0 ;
max = 350 ;
for bar = min, max do
SlideShow.SetSize("SlideShow1", pos, 9);
pos = pos+1
Application.Sleep(100);
end


Untuk Image =

Code
Codepos = 0 ;
min = 0 ;
max = 350 ;
for bar = min, max do
Image.SetSize("Image1", pos, 9);
pos = pos+1
Application.Sleep(100);
end

Catatan =
- Ganti *max = " "* sesuai dengan panjang (Width) Image / Slide Show
- Ganti *, pos, 9); * angka 9 sesuai dengan lebar (Height) Image / Slide Show
- untuk Application.Sleep(' ') <--- (Milli Second) atur waktunya sesuai keinginan


Regards,

By Nouriez Hamada BC



Message edited by Nouris_Hamada_103 - Tuesday, 11 August 15, 8:39 PM
 
  • Page 1 of 1
  • 1
Search:

Mirum
sample map