event onPlayerShoot
This event is triggered when player shoot using ranged weapon.
Original: onPlayerShoot
Parameters
dictkwargs:intplayerid: the id of the player who just shot.str | nullmunition: the item instance from Daedalus scripts.
Usage
import pyg2o as g2o
@g2o.event('onPlayerShoot')
async def onShoot(playerid, munition):
print(playerid, 'made a shot.')