Posts: 37
Threads: 1
Joined: Aug 2013
Reputation:
0
How should interrupt() and disallow() methods work in PlayerTextEvent? Because when I use interrupt() in the middle of event handler, the code in this event handler doesn't interrupt in the place, where I used interrupt(), but another event handler (with lower priority) doesn't work.
And when I use disallow(), my message sends in chat.
Posts: 319
Threads: 4
Joined: Jul 2007
Reputation:
0
23.01.2015, 16:40
(
Последний раз редактировалось mk124; 23.01.2015 в 17:23.
)
@SetupDLL: Ok, I'm sorry for the problems. Please update shoebill-runtime (switch to onlineMode -> Start Server -> Switch back to offlineMode) and then it should work.
//Edit: Ok, now it's working. Please update the plugin with update-shoebill.bat. (and shoebill-runtime as mentioned above)
Posts: 37
Threads: 1
Joined: Aug 2013
Reputation:
0
thank you for quick fixes!
Posts: 27
Threads: 2
Joined: Jul 2013
Reputation:
0
Can anyone explain me how to call a native of a plugin such as streamer?
Posts: 319
Threads: 4
Joined: Jul 2007
Reputation:
0
@stokdam: In the current build you can only call functions from a pawn file. But I made a update today, and I will push it tomorrow, and then you can call native functions. But there is a streamer for shoebill. You can get it with this dependency:
<dependency>
<groupId>net.gtaun</groupId>
<artifactId>shoebill-streamer</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
And use it like this:
DynamicSampObject.create(...)
I will write you a private message tomorrow.
Posts: 319
Threads: 4
Joined: Jul 2007
Reputation:
0
What do you mean? Are you in offlineMode?
Posts: 27
Threads: 2
Joined: Jul 2013
Reputation:
0
It seems that it cant find the dependency
Posts: 319
Threads: 4
Joined: Jul 2007
Reputation:
0
Which repositories do you use right now?
Posts: 319
Threads: 4
Joined: Jul 2007
Reputation:
0
Ok, looks fine. Are you sure that you use the correct dependency?
Can you access DynamicSampObject? Do you get in error in the console?
Posts: 319
Threads: 4
Joined: Jul 2007
Reputation:
0
These are my settings, and I can access DynamicSampObject and it's members:
<repositories>
<repository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
<repository>
<id>gtaun-public-repo</id>
<name>GTAUN Public Repository</name>
<url>http://repo.gtaun.net/content/groups/public</url>
</repository>
</repositories>
and the dependency:
<dependency>
<groupId>net.gtaun</groupId>
<artifactId>shoebill-streamer</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
The dynamic object is located in this package: net.gtaun.shoebill.object.*
Other people can access it too, which IDE are you using? Maybe you need to reimport the maven project.
Posts: 37
Threads: 1
Joined: Aug 2013
Reputation:
0
I'm getting "Unknown command" messages, but cmds work correctly