[Include] inline-timers: Use y_inline functions with timers!
#6

Quote:
Originally Posted by Pottus
View Post
Maybe you could extend this to textdraws/playertextdraws as well?
Inline textdraw click callbacks? It's possible, but I'd say it doesn't belong to this include, since this is dedicated to timers. I'll take a look though.

Quote:
Originally Posted by Dice_
View Post
What's different with y_timers or default SetTimer function? and can you explain what is inline? Thank you.
y_timers is a part of the YSI libraries, it basically extends/simplifies what you can do with normal timers, you can read more about it here: https://sampforum.blast.hk/showthread.php?tid=571044

Inline functions are also a part of the YSI libraries, y_inline, it's sort of similar to anonymous functions in JavaScript or any other language, it can be used with y_dialog, BlueG's MySQL plugin and timers with this include.

PHP Code:
main() 
{
    
inline TimerTest()
    {
        
printf("called");
    }
    
SetInlineTimer(using inline TimerTest3000false);

Reply


Messages In This Thread
inline-timers: Use y_inline functions with timers! - by iKarim - 27.03.2018, 14:10
Re: inline-timers: Use y_inline functions with timers! - by NelsonC - 27.03.2018, 14:13
Re: inline-timers: Use y_inline functions with timers! - by iKarim - 20.04.2018, 19:23
Re: inline-timers: Use y_inline functions with timers! - by Pottus - 21.04.2018, 04:42
Re: inline-timers: Use y_inline functions with timers! - by Fairuz - 21.04.2018, 06:35
Re: inline-timers: Use y_inline functions with timers! - by iKarim - 21.04.2018, 07:16

Forum Jump:


Users browsing this thread: 1 Guest(s)