Wanted level + Performance question
#1

Hello samp felas, I need your help.

I'm creating a new gamemode and I want to create something like a new wanted level. The thing is, if a player commits a crime he will get wanted level for X secounds and it will give him more secounds if another crime is commited.

My problem is about performance. If there are 32 players online and there is 32 countdowns how much of resources is the server going to use? Actually I've no idea how to check it out.

Thank you.
Reply
#2

Well, this is the thing that always bugs me - using too many timers. I think timers don't present a problem if they're not too fast (I don't go under 1000 ms). If i understand correctly, you don't need looping timers, which is also a good thing. Try it out with debuging to see how it all works, but i don't think you would have problems with memory usage
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)