03.02.2015, 18:35
You can take a look at the example gamemode: https://github.com/Shoebill/example-lvdm
Eventhandeling is pretty easy:
The event names are like in pawn, for example: PlayerConnectEvent.class, PlayerUpdateEvent.class, PlayerTextEvent.class.
Also, you can take a look at shoebill-common. In this package are many functions to make developing a gamemode much easier.
Eventhandeling is pretty easy:
Код:
eventManager.registerHandler(EventName.class, (e) -> { //Handle event, get player or vehicle etc. like: e.getPlayer() });
Also, you can take a look at shoebill-common. In this package are many functions to make developing a gamemode much easier.