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
FPS Counter
Grade: Commander DavidJrDate: Saturday, 16 May 15, 1:02 PM | Message # 1
Commander
Clan: Executive
Experience: 2256
Status: Offline
How to Install
1. Buat project baru
2. Pilih Menu > Global Function
3. Klik kanan pada editor lalu pilih Advance > Import
4. Cari FPS_Counter.lua lalu klik open

How to Use
1. Buat sebuah object paragraph, secara default namanya adalah "Paragraph1"
2. Double click page, lalu gulir ke tab Show
3. Pada tab Show isi script timer. Page.StartTimer(10)
4. Pindah ke Tab Timer lalu isikan script berikut
Code
FPS_Update(100); // Limit FPS di 100

Paragraph.SetText("Paragraph1", "FPS: " .. FPS_Retrieve());


Attachments: FPS_Counter.rar (0.9 Kb) · 9820436.jpg (68.6 Kb)


posted via BlackBerry

Personal Site | CSF Website
 
Grade: Sergeant Nouris_Hamada_103Date: Saturday, 16 May 15, 7:40 PM | Message # 2
Sergeant
Clan: Member
Experience: 50
Status: Offline
Yey Pertamax biggrin
izin nyoba


Regards,

By Nouriez Hamada BC

 
Grade: Commander DavidJrDate: Sunday, 17 May 15, 7:03 PM | Message # 3
Commander
Clan: Executive
Experience: 2256
Status: Offline
Quote Nouris_Hamada_103 ()
Yey Pertamax biggrinizin nyoba
happy


posted via BlackBerry

Personal Site | CSF Website
 
Grade: Trainee bluelilsoxDate: Friday, 03 July 15, 9:28 PM | Message # 4
Trainee
Clan: Member
Experience: 1
Status: Offline
There is a few problems with this, for one AMS is Window Form based, for two your using the timer page a little wrong I see so many posts like this.

On Timer is ID based so start your timer and then check for timer 

Code
--On Show

--Page.StartTimer(TIME_IN_MILLSEC, TIMER_ID);
Page.StartTimer(10, 15);

--On Timer  

if e_ID == 15 then
    -- Do Action
end


This lets you use many timers at once, don't go crazy as AMS been single threaded but that is how you would do it.


Wee bit of a programmer
 
Grade: Commander DavidJrDate: Saturday, 04 July 15, 9:33 AM | Message # 5
Commander
Clan: Executive
Experience: 2256
Status: Offline
bluelilsox, thank you for the correction wink

posted via BlackBerry

Personal Site | CSF Website
 
  • Page 1 of 1
  • 1
Search:

Mirum
sample map