8 WriteHeader(MSG_ENTITY, ENT_CLIENT_TELEPORT_DEST);
16 WriteVector(MSG_ENTITY, this.
origin);
17 WriteAngleVector(MSG_ENTITY, this.
mangle);
23 void teleport_dest_link(
entity this)
25 Net_LinkEntity(
this,
false, 0, teleport_dest_send);
39 objerror (
this,
"^3Teleport destination without a targetname");
43 teleport_dest_link(
this);
48 spawnfunc_info_teleport_destination(
this);
53 void teleport_dest_remove(
entity this)
59 NET_HANDLE(ENT_CLIENT_TELEPORT_DEST,
bool isnew)
61 int sendflags = ReadByte();
65 this.
classname =
"info_teleport_destination";
66 this.
cnt = ReadByte();
67 this.
speed = ReadCoord();
69 this.
origin = ReadVector();
70 this.
mangle = ReadAngleVector();
75 this.entremove = teleport_dest_remove;
#define REGISTER_NET_LINKED(id)
const int SF_TRIGGER_INIT
#define NET_HANDLE(id, param)
spawnfunc(info_player_attacker)