SetTimerEx not working
#1

I'm having trouble getting getting SetTimerEx working, have tried passing different variable in various formats, also have tried "i" "d" "a". The code below doesn't give me errors put doesn't work. The purpose of this is just a flag, to give players time to get out of a teleport pickup. Any help would be appreciated

forward ExitMessage(playerid); //,Businessleave[]);




Businessleave[playerid] = 1;
format(string, sizeof(string), " Businessleave variable = ~w~~y~.",Businessleave[playerid]);
GameTextForPlayer(playerid, string, 5500, 3);
SetTimerEx("exitMessage",5000,0,"i",playerid); //,Businessleave[playerid]);


Displays the string but Businessleave[playerid] not passing a variable, although appears to be working as enterpickups skipped


public ExitMessage(playerid) //,Businessleave[])
{
GameTextForPlayer(playerid, "~r~Timer Complete", 5000, 1);
Businessleave[playerid] = 0;
}


No display from the timer at all
Reply


Messages In This Thread
SetTimerEx not working - by Kwilow - 06.03.2011, 06:38
Re: SetTimerEx not working - by Calgon - 06.03.2011, 08:09
Re: SetTimerEx not working - by Kwilow - 06.03.2011, 08:15
Re: SetTimerEx not working - by Calgon - 06.03.2011, 08:20
Re: SetTimerEx not working - by Kwilow - 06.03.2011, 08:23
Re: SetTimerEx not working - by Kwilow - 06.03.2011, 08:50

Forum Jump:


Users browsing this thread: 5 Guest(s)