16.01.2014, 20:57
After doing some tests with the new sync system, i've tried to change a weapon damage.
In 0.3x i was setting all players to the same team by SetPlayerTeam, then fully managed all the weapon damages via Take/Give Damage.
Now with the new sync, i'm interested if there's a way to manage weapon damages, then i could get rid of SetPlayerTeam.
Tried to return 0 on the new callback OnPlayerWeaponShot, and then manage via Give/Take, but this forces bullets not sync for any player.
Does anyone have any ideia? I really need to get rid of SetPlayerTeam, as i can't use Vehicle Friendly fire, for example.
In 0.3x i was setting all players to the same team by SetPlayerTeam, then fully managed all the weapon damages via Take/Give Damage.
Now with the new sync, i'm interested if there's a way to manage weapon damages, then i could get rid of SetPlayerTeam.
Tried to return 0 on the new callback OnPlayerWeaponShot, and then manage via Give/Take, but this forces bullets not sync for any player.
Does anyone have any ideia? I really need to get rid of SetPlayerTeam, as i can't use Vehicle Friendly fire, for example.