• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Server] Bug when player freezes
#10
(2021-02-12, 09:44 PM)Radical Wrote:
(2021-02-12, 09:34 PM)RhaegarX Wrote:
(2021-02-12, 09:27 PM)Radical Wrote: I think in include weapon-config, this has been fixed.

But this include, changes the damaging to player algorithm a lot...



I will test this include, but in the case I wanted to solve this without resorting to includes.

Could some other include from my gamemode be causing the problem?



PHP Code:
#include? ? <a_samp>

#define FIXES_Single 1

#define FIXES_ServerVarMsg 0

// Redefini??es antes da Fixes

#if? ? ? defined MAX_PLAYERS

#undef? ? MAX_PLAYERS

#define? MAX_PLAYERS? (100)

#endif

//

#include <fixes>

#include? ? <timerfix>

#include? ? <a_mysql>

#include? ? <foreach>

#include? ? <zcmd>

#include? ? <sscanf2>

#include? ? <MV_Youtube>

#include? ? <streamer>

#include? ? <callbacks>

#include? ? <mSelection>

#define AUTO_SETUP

#include? ? <gmtime> 



No, the problem is not with your game mode.

This function is such that the player freezes and the player can not move his camera and the player is not damaged.



It is the same in my game mode and I saw in other servers that it does not get damaged when the player is frozen.



I think the only way is to manually reduce the player armor and health when the player is frozen





You're right! I tested it on other gamemodes and the same thing happens. Thank you for your help!
  Reply


Messages In This Thread
Bug when player freezes - by RhaegarX - 2021-02-12, 08:18 PM
RE: Bug when player freezes - by Radical - 2021-02-12, 08:35 PM
RE: Bug when player freezes - by RhaegarX - 2021-02-12, 08:38 PM
RE: Bug when player freezes - by RhaegarX - 2021-02-12, 09:12 PM
RE: Bug when player freezes - by Radical - 2021-02-12, 09:27 PM
RE: Bug when player freezes - by RhaegarX - 2021-02-12, 09:34 PM
RE: Bug when player freezes - by RhaegarX - 2021-02-12, 09:35 PM
RE: Bug when player freezes - by Radical - 2021-02-12, 09:44 PM
RE: Bug when player freezes - by RhaegarX - 2021-02-12, 09:57 PM
RE: Bug when player freezes - by arber - 2021-02-12, 09:53 PM
RE: Bug when player freezes - by RhaegarX - 2021-02-12, 09:58 PM
RE: Bug when player freezes - by RhaegarX - 2021-02-23, 01:37 AM

Forum Jump: