LeroY Posted September 2, 2017 Posted September 2, 2017 (edited) help me, please, as fix from peds dropping fps? I'am created 20 ped's and fps dropped on 46 frame per second. As have fix this problem? -- CLIENTside for i = 1, 20 do local data = dillers[i] createPed(data.skinid,data.x,data.y,data.z) end They are all standing side by side.I' am sorry, bad speak on english. I am don't speak english. Edited September 2, 2017 by LeroY
itHyperoX Posted September 2, 2017 Posted September 2, 2017 (edited) Not tested Try with this. local setting = {} local Peds = { {SkinID, x, y,z, Rot}, {SkinID, x, y,z, Rot}, } for k,v in ipairs(Peds) do setting.createdPeds = createPed(v[1],v[2], v[3], v[4],v[5]) end setElementDimension(setting.createdPeds,0) setElementInterior(setting.createdPeds,0) Edited September 2, 2017 by TheMOG
LeroY Posted September 2, 2017 Author Posted September 2, 2017 (edited) 1 hour ago, TheMOG said: Not tested local setting = {} local Peds = { {SkinID, x, y,z, Rot}, {SkinID, x, y,z, Rot}, } for k,v in ipairs(Peds) do setting.createdPeds = createPed(v[1],v[2], v[3], v[4]) end setElementDimension(setting.createdPeds,0) setElementInterior(setting.createdPeds,0) This is not what I wanted Edited September 2, 2017 by LeroY
Moderators IIYAMA Posted September 2, 2017 Moderators Posted September 2, 2017 Very strange. Did you tried it with a stronger pc? (even though I doubt that a default pc couldn't handle 20 peds)
LeroY Posted September 2, 2017 Author Posted September 2, 2017 1 hour ago, IIYAMA said: Very strange. Did you tried it with a stronger pc? (even though I doubt that a default pc couldn't handle 20 peds) I have: Processor: Core I7-3630QM Video card: GT740M OC RAM: 8 GB DDR3
Moderators IIYAMA Posted September 2, 2017 Moderators Posted September 2, 2017 hmm, shouldn't be a problem. Is this the only code / related resource that is active?
LeroY Posted September 2, 2017 Author Posted September 2, 2017 1 hour ago, IIYAMA said: hmm, shouldn't be a problem. Is this the only code / related resource that is active? Yes. I' am tested on runcode or on custom resource (client.lua, meta.xml). Server standart resource pack, running on only "play" mode.
Moderators IIYAMA Posted September 2, 2017 Moderators Posted September 2, 2017 Hmm really strange. I am sorry, I don't think I can help you with this one. Looks like something is going wrong with the streaming system. You could try an older version of mta and see if you have the same problem, if that is false you could report it.
LeroY Posted September 2, 2017 Author Posted September 2, 2017 1 hour ago, IIYAMA said: Hmm really strange. I am sorry, I don't think I can help you with this one. Looks like something is going wrong with the streaming system. You could try an older version of mta and see if you have the same problem, if that is false you could report it. It's like a bug mta. Can you create a report for a bug? I just do not know much English.
Moderators IIYAMA Posted September 2, 2017 Moderators Posted September 2, 2017 It is better to ask a guy with the same language as you, so that you/he can write down the context of the issue.
ForLaXPy Posted September 2, 2017 Posted September 2, 2017 Well today i made a script too when i was trying to create some peds then i noticed that when i start the script My FPS drops from 40 to 16 -11 it was really strange i tought i had a probleme idk I just wanted to informe you that i got the same issue .
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