API_DOCS: Shot End Event

Questions, comments, and news on the server side plug-ins and it's API
Post Reply
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5173
Joined: Fri Dec 13, 2002 4:11 am
Location: https://discord.gg/NN9uAvx
Contact:

API_DOCS: Shot End Event

Post by JeffM » Fri Feb 02, 2007 8:47 pm

I have added an event for shot end

Code: Select all

bz_eShotEndedEvent
Will send be called each time the server knows about a shot ending.

the event data for is as follows;

Code: Select all

[b]Version 2.0.x[/b]
bz_ShotEndedEventData

[b]Version 2.1.x[/b]
bz_ShotEndedEventData_V1

containing:

	int playerID;   // player who's shot ended
	int shotID;      // shot that ended
	bool exlpode;  // if the shot was meant to explode ( true all the time for now )

This is in CVS for both branches, as of now

Theme97
Private First Class
Private First Class
Posts: 221
Joined: Fri Nov 11, 2005 8:04 pm
Contact:

Post by Theme97 » Sat Feb 03, 2007 1:02 am

Is it possible to include the position?
Image

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5173
Joined: Fri Dec 13, 2002 4:11 am
Location: https://discord.gg/NN9uAvx
Contact:

Post by JeffM » Mon Feb 05, 2007 6:20 pm

the position is not sent in the message, and at this time the server does not track the full shot path. So no, there is no easy way to do the position.

Post Reply