SA-MP Forums Archive
Y_Inline usage - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Y_Inline usage (/showthread.php?tid=622784)



Y_Inline usage - hoonz - 26.11.2016

Hi, I have a question about y_inline usage. Is it possible to use it with simple dialogs or u can only use it with y_dialogs include? example: http://imgur.com/a/99Crr I'm curious, because I'm gettin error ( error 035: argument type mismatch (argument 2) )


Re: Y_Inline usage - woot - 26.11.2016

you need to use y_dialog if you want to use inline functions with dialogs. you cant just use inline with every function.


Re: Y_Inline usage - hoonz - 26.11.2016

Quote:
Originally Posted by woot
Посмотреть сообщение
you need to use y_dialog if you want to use inline functions with dialogs. you cant just use inline with every function.
another problem is that, if I include y_dialogs pawn compiler crashes, and I cannot find a solution for this...


Re: Y_Inline usage - woot - 26.11.2016

Quote:
Originally Posted by hoonz
Посмотреть сообщение
another problem is that, if I include y_dialogs pawn compiler crashes, and I cannot find a solution for this...
that's pretty hard to figure out, try using the latest ysi includes and try changing the order of your #include lines