Timers with playerid
#1

Hey Guys,

So, i have somewhere in my script something like this:

pawn Код:
TogglePlayerControllable(playerid,false);//Preventing players falling true the objects at self made interiors.
SetTimer("HouseTimer",1000,false);
And somewhere else (the timer) this:

pawn Код:
public HouseTimer(playerid)
{
   TogglePlayerControllable(playerid,true);
}
Now, i already expected this to happen but i don't know how to fix it, when at HouseTimer it says it should make the player move again but it only does that for playerid 0, is there any way how i could make this work properly to all id's?

Best Regards,
SancheZ
Reply


Messages In This Thread
Timers with playerid - by juuleman - 30.12.2010, 12:00
Re: Timers with playerid - by Macluawn - 30.12.2010, 12:02
Re: Timers with playerid - by juuleman - 30.12.2010, 12:06
Re: Timers with playerid - by JamesC - 30.12.2010, 12:07
Re: Timers with playerid - by Macluawn - 30.12.2010, 12:08
Re: Timers with playerid - by juuleman - 30.12.2010, 12:10
Re: Timers with playerid - by _rAped - 30.12.2010, 12:11
Re: Timers with playerid - by Macluawn - 30.12.2010, 12:11

Forum Jump:


Users browsing this thread: