ronaldoguedess Posted February 1, 2014 Posted February 1, 2014 I'm working on a project zombie. And with 6 zombies, already appear lags. There is a limit of PED's (zombies)? Hugs AGUARDEM: NOVO MTA DAYZ (TWD 98% Traduzido) VER: 1.9 Esta chegando!! Muitas Novidades Revolucionárias! (Maio 2018)
Gallardo9944 Posted February 1, 2014 Posted February 1, 2014 that depends on what you want and how you do it. Do you just create a ped and it provides a lag? Is there something you also do with the peds? Code Debugger - Minimalistic MTA debug line replacement
ronaldoguedess Posted February 1, 2014 Author Posted February 1, 2014 PEDs comes running behind me, attack me, and emit sound ... to be honest need at least a 15 per player PEDS. AGUARDEM: NOVO MTA DAYZ (TWD 98% Traduzido) VER: 1.9 Esta chegando!! Muitas Novidades Revolucionárias! (Maio 2018)
Gallardo9944 Posted February 1, 2014 Posted February 1, 2014 try moving some of the functions clientside so the server gets less impact. Code Debugger - Minimalistic MTA debug line replacement
ronaldoguedess Posted February 1, 2014 Author Posted February 1, 2014 then functions clientside works best? AGUARDEM: NOVO MTA DAYZ (TWD 98% Traduzido) VER: 1.9 Esta chegando!! Muitas Novidades Revolucionárias! (Maio 2018)
Gallardo9944 Posted February 1, 2014 Posted February 1, 2014 they don't work better than serverside ones, thus they can lower the impact on the server. The best way is to find a balance between using clientside and serverside functions. Code Debugger - Minimalistic MTA debug line replacement
Moderators IIYAMA Posted February 1, 2014 Moderators Posted February 1, 2014 Bandwidth is the problem. You can only stop some of the lagg by saving it. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
.:HyPeX:. Posted February 1, 2014 Posted February 1, 2014 Do you have any FPS lags? or is it delay ones?.. if it comes to delay it is as IIYAMA said, else its your pc whos fuking up and the script could'be okay. My ingame nick is ~HyPeX~ BF3 Gamemode Progress: ~30% - Currently working on AI & MapManager
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