19.02.2010, 16:58
Quote:
Originally Posted by [SF
robmob ]
I have alot of New `s in my server like 100 and my server is using a lot of cpu when a lot of players are on . I just coded my drug system using #define , I was wondering whats better to use or if theirs a difference between using new and define what one take more memory if it dose ? |
pawn Код:
for(new i=0;i<MAX_PLAYERS;i++){
if(IsPlayer....
The bad using of OnPlayerUpdate can cause lag as well..
Also, you may read this: Code optimisations.