SA-MP Forums Archive
settimer in menu - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: settimer in menu (/showthread.php?tid=88581)



settimer in menu - Mikeses - 27.07.2009

I dont know ....
Код:
	public OnPlayerSelectedMenuRow(playerid, row)
	{
  new Menu:current;
  current = GetPlayerMenu(playerid);
  if(current == hlavni)
  {
    switch(row)
    {
      case 0:{
      SendClientMessage(playerid, 0xAA3333AA, "[NASTUP] Za 5 sekund odjizdime");
			SetTimer("cas", 5000, false);
			MoveObject(budova, 2220.632, 2166.983, 103.1, 5.3);
					}
SetTimer dont work... how ? 5 seconds how ?


Re: settimer in menu - Jefff - 27.07.2009

Use SetTimerEx