X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fplayer.qh;h=2853f7f6d4c3887b2f6c4f8fcaf24c4624ed4e92;hb=5a95a7be13adcf53cc5aedb89ac41c5416fb4304;hp=5e6642e0471a78220a1af579a705e7b50d74b76b;hpb=1d42e9d9e3e364e10c3c41b507ab6abd77dd6c9a;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/player.qh b/qcsrc/server/player.qh index 5e6642e04..2853f7f6d 100644 --- a/qcsrc/server/player.qh +++ b/qcsrc/server/player.qh @@ -2,7 +2,7 @@ .entity pusher; .float pushltime; -.float istypefrag; +.bool istypefrag; .float CopyBody_nextthink; .void(entity this) CopyBody_think; @@ -30,13 +30,8 @@ void calculate_player_respawn_time(entity this); void ClientKill_Now_TeamChange(entity this); -/// \brief Moves player to the specified team. -/// \param[in,out] client Client to move. -/// \param[in] team_colour Color of the team. -/// \param[in] type ??? -/// \return True on success, false otherwise. -bool MoveToTeam(entity client, float team_colour, float type); - void PlayerDamage(entity this, entity inflictor, entity attacker, float damage, int deathtype, .entity weaponentity, vector hitloc, vector force); +bool PlayerHeal(entity targ, entity inflictor, float amount, float limit); + int Say(entity source, float teamsay, entity privatesay, string msgin, float floodcontrol);