Lags Problam :\
#1

What can makes lags problam ? I made many textdraw maybe that's the problam? there is a streamer for TextDraw?


Thanks for all
Reply
#2

The problem only happened after adding the TextDraws?
Reply
#3

Quote:
Originally Posted by Viniborn
Посмотреть сообщение
The problem only happened after adding the TextDraws?
I don't know.. I think not, I can't know because the TextDraw created in many situation ..
Reply
#4

I don't think they are the problem ...
Reply
#5

search for the profiler plugin to analyse your script more in depth.
Also you can check out ******`s optimazions topic.


Kind regards, wolf.
Reply
#6

Quote:
Originally Posted by BlackWolf120
Посмотреть сообщение
search for the profiler plugin to analyse your script more in depth.
Also you can check out ******`s optimazions topic.


Kind regards, wolf.
I downloaded profiler plugin, when does it written ?

and I didn't find the ****** optimazions ..
Reply
#7

I have TextDraw that create himself in OnPlayerUpdate Each time.. maybe because of that ?
Reply
#8

Quote:
Originally Posted by tal_peretz
Посмотреть сообщение
I have TextDraw that create himself in OnPlayerUpdate Each time.. maybe because of that ?
You're creating TextDraw's in OnPlayerUpdate? OnPlayerUpdate is almost 100 times every second, so perhaps that's a bad idea?
Reply
#9

Quote:
Originally Posted by funky1234
Посмотреть сообщение
You're creating TextDraw's in OnPlayerUpdate? OnPlayerUpdate is almost 100 times every second, so perhaps that's a bad idea?
Where did you get that number from? I'm sure it's a maximum of 32 per second, depending on what the player is doing.
Reply
#10

Quote:
Originally Posted by [LoF]Zak
Посмотреть сообщение
Where did you get that number from? I'm sure it's a maximum of 32 per second, depending on what the player is doing.
Have you tried testing that?

Edit: Hang on. I made a typo in my first post. I meant to put nearly 100 times in ten seconds haha! Oops...

I apologise.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)