Timer Problem
#1

Hey , i have in my gamemode 2-3 timers . Because of this timers is large server lag . If i delete timers server works fine , no lag . Any suggestions ?
Reply
#2

How often is each timer repeating? More importantly, what you put inside them?
Reply
#3

Each timer is used once , and that timers makes 3 different textdraws dissapear .
Reply
#4

man what are saying !!
a timer never make lags !!
tell us what you have in your timers ( i mean who many line or show us your timers scripts )
( i have more than 6timers & no lags)
Reply
#5

Man i can't show you my script , its my gamemode.

This is how my timers look in OnGameModeInit
Код:
SetTimer("Onlinep", SEC2, 1);
SetTimer("InCar2",10000,1);
SetTimer("teleport",10000,1);
With first 2 timers server works fine no lag , but when i add the third one ...impossible lag ...
Reply
#6

Use a KillTimer after you're done with it.
Reply
#7

What that timer do (teleport) ? it shows a textdraw for player who teleport ex /sf (San Fierro) .Text draw says "You have been teleported to San Fierro".
Reply
#8

Rock post the teleport public exactly please?
Reply
#9

No need , i resolved the problem , thanks , works with killtimer .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)