Y_INI parameter query
#3

Quote:
Originally Posted by ******
Посмотреть сообщение
If it is true, y_ini uses CallLocalFunction. If it is false, it uses CallRemoteFunction. The first will only call your load callback in one script (the local script), otherwise it will call it in all scripts. I'm not writing an example.

Also, you can't have a static public function. I've had a few instances where it would have been nice, instead I've just resorted to the convention of prefixing them with "_" (though I'm recently preferring the suffix, as that as a prefix should be reserved for the compiler and system libraries).
Thank you. I wasn't expecting a response from ****** himself. Man am I honored.

Quote:
Originally Posted by Misiur
Посмотреть сообщение
Local in this context means "in the current filterscript/gamemode", not "current file". If you want keep loading constrained to this file only, I'd recommend y_inline (search the forums for an example).

#e: Welp, too slow again
Thanks for opening my mind to a whole new set of things to discover. Y_Inline. Seems like more work needs to be done and learnt.


This can be set to answered/archived.
~iSpark.
Reply


Messages In This Thread
Y_INI parameter query - by iSpark - 06.09.2017, 10:48
Re: Y_INI parameter query - by Misiur - 06.09.2017, 11:10
Re: Y_INI parameter query - by iSpark - 06.09.2017, 11:23

Forum Jump:


Users browsing this thread: 1 Guest(s)