21.04.2018, 07:16
Quote:
Maybe you could extend this to textdraws/playertextdraws as well?
|
Quote:
What's different with y_timers or default SetTimer function? and can you explain what is inline? Thank you.
|
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 TimerTest, 3000, false);
}