weird: Timer sometimes doesnt work
#1

Hello, in my sumo mode when sombody falls of the ring i do
Код:
timer2 = SetTimerEx("car", 20000, false, "i", playerid);
Function car just is spawnplayer and killtimer timer2 and setplayer color

But sometimes you end up seeing the gamemodetext of 20sec disapear with you will respawn in 20seconds but you do not respawn( you have to kill your self to try again ) does sombody know a solution of this"?
Reply
#2

Quote:
Originally Posted by hipy
Hello, in my sumo mode when sombody falls of the ring i do
Код:
timer2 = SetTimerEx("car", 20000, false, "i", playerid);
Function car just is spawnplayer and killtimer timer2 and setplayer color

But sometimes you end up seeing the gamemodetext of 20sec disapear with you will respawn in 20seconds but you do not respawn( you have to kill your self to try again ) does sombody know a solution of this"?
Show more code, what is in the "car" function?
Reply
#3

Quote:

Function car just is spawnplayer and killtimer timer2 and setplayer color

There is nothing more in it than that :S Its very bizar
Reply
#4

Quote:
Originally Posted by hipy
Quote:

Function car just is spawnplayer and killtimer timer2 and setplayer color

There is nothing more in it than that :S Its very bizar
Lol strange. I would have to see the whole code to even begin to solve it.
Reply
#5

Wich i cant post since the mode is not public. Its just timer2 = settimerex bla bla bla
Reply
#6

should i insteadf of playerid ( i use this function at some forwards with (playerid) and normal functions like onplayerexitvehicle )
Should i insteasd of do playerid in the timer do a loop?
Reply
#7

If you see the Gamemodetext for the "You will respawn in 20 seconds" thing ... the timer is working ... that is under the timers function, right?
Reply
#8

no, Thats outside it. Its very weird the text disapears but you dont respawn . ITs completly random when you get stuck with spawning:S
Reply
#9

Lol o__O .. maybe you have a return missing somewhere? Sometimes that can do weird things ...
Reply
#10

nope no returns missing
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)