How can I add a timer to this?
#6

Something like this:
pawn Код:
forward login();
 
public OnGameModeInit()
{
    SetTimer("login", 1000, false); // Set a timer of 1000 miliseconds (1 second)
}
 
public login()
{
    ShowPlayerDialog(...);
}

public OnPlayerConnect(playerid)
{
    login();
    return 1;
}
Reply


Messages In This Thread
How can I add a timer to this? - by Dokins - 05.02.2013, 16:56
Re: How can I add a timer to this? - by Faisal_khan - 05.02.2013, 17:00
Re: How can I add a timer to this? - by Dokins - 05.02.2013, 17:05
Re: How can I add a timer to this? - by Faisal_khan - 05.02.2013, 17:06
Re: How can I add a timer to this? - by Dokins - 05.02.2013, 17:07
Re: How can I add a timer to this? - by Faisal_khan - 05.02.2013, 17:16
Re: How can I add a timer to this? - by Dokins - 05.02.2013, 17:18
Re: How can I add a timer to this? - by Faisal_khan - 05.02.2013, 17:20
Re: How can I add a timer to this? - by Dokins - 05.02.2013, 17:21
Re: How can I add a timer to this? - by Faisal_khan - 05.02.2013, 17:28

Forum Jump:


Users browsing this thread: 2 Guest(s)