SA-MP Forums Archive
How to? - 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: How to? (/showthread.php?tid=86472)



How to? - GforceNL - 14.07.2009

How Can i set a timer fot 10 Seconds on this:

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
  SetCameraBehindPlayer(killerid);
  TogglePlayerControllable(playerid, 0);
  Plookingforkiller[playerid] = 1;
	return 1;
}
Plz help me




Re: How to? - c0der. - 14.07.2009

You simply use SetTimerEx().



Re: How to? - GforceNL - 14.07.2009

Quote:
Originally Posted by c0der.
You simply use SetTimerEx().
use SetTimerEx(10)// For 10 Seconds?