Timer problem ???
#1

Ok so Heres the code

OnPlayerConnect
Код:
TextDrawShowForPlayer(playerid, BGBLACK);
TextDrawShowForPlayer(playerid, TrinBG);
TextDrawShowForPlayer(playerid, FreeroamBG);
TextDrawShowForPlayer(playerid, BlueLineBG);
TextDrawShowForPlayer(playerid, YellowLineBG);
TextDrawShowForPlayer(playerid, VersionBG);
LastVehicle[playerid]=-1;
introtimer = SetTimer("TDhide", 5000, true);
Timer
Код:
forward TDhide(playerid);
public TDhide(playerid)
{
    TextDrawHideForPlayer(playerid, BGBLACK);
	TextDrawHideForPlayer(playerid, TrinBG);
	TextDrawHideForPlayer(playerid, FreeroamBG);
	TextDrawHideForPlayer(playerid, BlueLineBG);
	TextDrawHideForPlayer(playerid, YellowLineBG);
	TextDrawHideForPlayer(playerid, VersionBG);
    return 1;
}
The problem is the textdraws only get hidden for first player to join (Id 0) and im not sure why.Any help?
Reply


Messages In This Thread
Timer problem ??? - by [p3]pr0t0typ3 - 06.09.2012, 22:16
Re: Timer problem ??? - by Kirollos - 06.09.2012, 22:29
Re: Timer problem ??? - by deltapro - 06.09.2012, 22:36
Re: Timer problem ??? - by [p3]pr0t0typ3 - 06.09.2012, 22:47

Forum Jump:


Users browsing this thread: 1 Guest(s)