mirror of
https://github.com/nzp-team/quakec.git
synced 2025-02-12 15:05:44 +00:00
SERVER: network velocity to CSQC
This commit is contained in:
parent
c0bd852198
commit
c365c112b1
2 changed files with 6 additions and 1 deletions
|
@ -377,6 +377,7 @@ void() worldspawn =
|
|||
clientstat(STAT_VIEWZOOM, EV_FLOAT, viewzoom);
|
||||
clientstat(STAT_MAXHEALTH, EV_FLOAT, max_health);
|
||||
clientstat(STAT_PERKS, EV_FLOAT, perks);
|
||||
clientstat(STAT_VELOCITY, EV_VECTOR, velocity);
|
||||
|
||||
#endif // FTE
|
||||
|
||||
|
@ -581,4 +582,4 @@ void() EndFrame =
|
|||
if (cheats_have_been_activated == false && cvar("sv_cheats") == 1) {
|
||||
cheats_have_been_activated = true;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
|
@ -309,6 +309,10 @@ float map_compatibility_mode;
|
|||
#define STAT_MAXHEALTH 67
|
||||
#define STAT_WEAPONSKIN 68
|
||||
#define STAT_PERKS 69
|
||||
#define STAT_VELOCITY 70
|
||||
#define STAT_VELOCITY_X 70
|
||||
#define STAT_VELOCITY_Y 71
|
||||
#define STAT_VELOCITY_Z 72
|
||||
|
||||
.float playernum;
|
||||
float game_over;
|
||||
|
|
Loading…
Reference in a new issue