2002-08-15 07:05:17 +00:00
|
|
|
#include "qw_message.h"
|
2002-08-14 15:40:30 +00:00
|
|
|
#include "tempent.h"
|
|
|
|
|
|
|
|
void(vector org, float damage) SpawnBlood =
|
|
|
|
{
|
2002-09-19 03:19:50 +00:00
|
|
|
WriteByte (MSG_MULTICAST, SVC_TEMPENTITY);
|
2002-08-14 15:40:30 +00:00
|
|
|
WriteByte (MSG_MULTICAST, TE_BLOOD);
|
|
|
|
WriteByte (MSG_MULTICAST, 1);
|
|
|
|
WriteCoord (MSG_MULTICAST, org_x);
|
|
|
|
WriteCoord (MSG_MULTICAST, org_y);
|
|
|
|
WriteCoord (MSG_MULTICAST, org_z);
|
|
|
|
multicast (org, MULTICAST_PVS);
|
|
|
|
};
|