Moderators IIYAMA Posted June 12, 2013 Moderators Share Posted June 12, 2013 How can I disable specific synced player data? Like health, armor or oxygen. I only want the player to sync this for him self. Will this disable the player health sync? (by cancel health changes) addEventHandler ( "onClientPlayerDamage", localPlayer, function attacker, weapon, bodypart ) cancelEvent() end) or will there still be send loss data? Link to comment
K4stic Posted June 12, 2013 Share Posted June 12, 2013 They will stop lose health but still can be killed if he/she in car and car blowed or can be killed by stealth kill(knife,katana) addEventHandler("onClientPlayerDamage", localPlayer, function(attacker, weapon, bodypart, loss) cancelEvent() end ) so for Stealth kill you can use addEventHandler("onClientPlayerStealthKill", localPlayer, function (targetPlayer) cancelEvent() end ) Link to comment
Moderators IIYAMA Posted June 12, 2013 Author Moderators Share Posted June 12, 2013 Thx skipper But I am talking about bandwidth reduction. (manually) Like as sample: 1. I got hit by a bullet 2. my health got changed 3. Another player can see my new health. I want to disable those sneaky streamed data. In my opinion this must be optional. Health, armor, oxygen, rotation, position, movement, choking, etc. I think I will make a request topic about this. Link to comment
denny199 Posted June 12, 2013 Share Posted June 12, 2013 I think that you can't disable it since it's default from GTA, anyways, it's always synced by the server. And why would you disable those things?.. It's always so less data, and btw; you are always in panic about data, wtf dude? MTA is synced enough, even that, the bandwidth usage is very low.... Link to comment
Moderators IIYAMA Posted June 12, 2013 Author Moderators Share Posted June 12, 2013 Because I want to reduce as much as possible data, like btf3 does. (very stable ping) It is low, but I did like it to make it ZERO. Because for some players, it isn't that "low". Link to comment
TAPL Posted June 12, 2013 Share Posted June 12, 2013 This might help. https://wiki.multitheftauto.com/wiki/Sync_interval_settings https://wiki.multitheftauto.com/wiki/Server_mtaserver.conf#bandwidth_reduction Link to comment
Moderators IIYAMA Posted June 12, 2013 Author Moderators Share Posted June 12, 2013 There isn't any sync-interval-setting for player data. Only for the player keys/location-rotation updates. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now