Szerző Téma: settimer  (Megtekintve 1114 alkalommal)

Nem elérhető divkn

  • 3259
    • Profil megtekintése
settimer
« Dátum: 2013. Október 07. - 17:51:13 »
0 Show voters
settimer


Idõzítõ elindítása. Lásd: SetTimer
Paraméterei:
 
(milliseconds, bool:singleshot = false)

 
millisecondsEljárás lefuttatása idõközönként miliszekundumban számolva.
bool:singleshotIsmétlelje az eljárást. Ha false akkor csak egyszer hívja le, ha true, akkor többször.
Visszatérése:Mindig 0-val tér vissza.


#include a_samp
main()
{
    settimer(1000);
}
@timer()
{
    print(\"Mûködik?\");
}

 
Megjegyzések.
Ez a funkció nincs itegrálva a a jelenlegi függvénykönyvtárakba.
Itt letöltheted: http://sampforum.hu/index.php?topic=47971.new#new
gettimehttp://sampforum.hu/index.php?topic=44147.0
getdatehttp://sampforum.hu/index.php?topic=44146.0
tickcounthttp://sampforum.hu/index.php?topic=44762.0
settimehttp://sampforum.hu/index.php?topic=47973.0
setdatehttp://sampforum.hu/index.php?topic=47975.0

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal