SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 26/02/2010, 04:28 PM   #1
UsaBoy91
Huge Clucker
 
Join Date: Jun 2008
Posts: 260
Reputation: 5
Default CPU 90 - 101%

Hello guys. I got a problem with my server. When he reach a amount of player ( more than 10 ) ,my CPU goes to 90 - 101% and the server is blocked. If i press refresh in sa:mp client , he show the ping , the players connected , but when i connect on the server , i see that 3 messages ( last: Connected to xx.xxx.xxx.xxxx )

UsaBoy91 is offline  
Old 26/02/2010, 04:32 PM   #2
¤Adas¤
Gangsta
 
¤Adas¤'s Avatar
 
Join Date: Jan 2010
Posts: 549
Reputation: 26
Default Re: CPU 90 - 101%

Check your gamemode. Or you have slow computer.
¤Adas¤ is offline  
Old 26/02/2010, 06:26 PM   #3
SlashPT
High-roller
 
SlashPT's Avatar
 
Join Date: Sep 2009
Location: Hell
Posts: 1,973
Reputation: 116
Default Re: CPU 90 - 101%

debug all your script and btw im having the same problem but my problem was i do Global strings with 256 this is a big problem and isnt that all i had always format(string sizeof(string) there is one problem too because it just does the CPU calculate the string [wich takes some more usage...] and i had these problems in Timers for example TextDraws for show hours Speedometer and things like this and for me i corrected with this all i sayed and its now fixed!
__________________

Zh3r0Jansish
SlashPT is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 08:57 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.