13.11.2015, 12:36
@Su37Erich: Hi, thanks for you feedback. You will not have to deal with any AMX-Crashes when you use java only, but there are some problem when using AmxInterfaces. I will try to fix these as soon as possible.
@dusk:
1. If you want to compare Player, you should use ==. This will give you an unique result.
2. Yes, you should use Shoebill's timers, because they run on the samp thread. You can use Java's timers, but you will need to use Shoebill.get().runOnSampThread() or the server might crash.
3. Nothing special will happen, except that the Event will not be dispatched on the main thread which can be problematic (see 2.)
(If you want to find functions in Pawn, you'll need to use getPublic(), getNative() is for plugin and internal functions only )
I replied you on Github, because I like it way more.
@dusk:
1. If you want to compare Player, you should use ==. This will give you an unique result.
2. Yes, you should use Shoebill's timers, because they run on the samp thread. You can use Java's timers, but you will need to use Shoebill.get().runOnSampThread() or the server might crash.
3. Nothing special will happen, except that the Event will not be dispatched on the main thread which can be problematic (see 2.)
(If you want to find functions in Pawn, you'll need to use getPublic(), getNative() is for plugin and internal functions only )
I replied you on Github, because I like it way more.