Do you mean a timer like this :
NewTimer( "function", 5000, 1,player ); ?
Well if you do then I know how to get rid of this bug.We have to use player.ID and maybe player.Name as well.Look at this :
NewTimer( "OpenLift2", 10000, 1, player.ID, player.Name );
function OpenLift2( playerid, playername )
{
local plr = FindPlayer( playerid );
if ( plr )
{
if ( plr.Name == playername ) // To get rid of the crash we first validate the player
{
plr.Pos = Vector( -557.44, 781.79, 22.8768 );
l2.MoveBy(Vector(0,2,0), 2800 ); // l1 and l2 are objects, Lift doors to be exact
l1.MoveBy(Vector(0,-2,0), 2800);
}
}
}
This is an example which can help you the use of Timers in 0.4