Original post · 3y ago#1
Simple timer like a rockstar style
[HEADING=2]Installation[/HEADING]
[start timer]
local statusTemp = exports.hal_temporizador:run(true,70) -- time in seconds
[stop timer] local statusTemp = exports.hal_temporizador:run(false,0)
[HEADING=2]Installation[/HEADING]
- Add the resource to your server.cfg to make sure it’s started at server startup:
[start timer]
local statusTemp = exports.hal_temporizador:run(true,70) -- time in seconds
[stop timer] local statusTemp = exports.hal_temporizador:run(false,0)
- statusTemp will return false when the time is up
33 replies
Rep!
nice
pour RedM
Rep!
ty
Rep