Error code when creating timer?

BrundoMundo
31 Mar 2022, 21:09

Hello! I have been creating a timer for my game, and it works as intended, but a error message pops up.

Error message: Error running script: No parameters passed to EnableTimer function - expected 1 parameters

Ill show you the code im using for my timer:

if (game.pov.parent = Room) {
msg ("Message.")
MoveObject (Person, Room)
DisableTimer (timer)
}

Help would be much appreciated, thank you!


mrangel
31 Mar 2022, 22:08

What's the error message?
Can you show us the timer?