Zyriantdtx
uwu
- Nov 27, 2014
- 238
- 35
On my RP, I've got a stats bar (on the client). Is there a way that I can make it refresh every 5 seconds?
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js"></script>
<script type="text/javascript">
var auto_refresh = setInterval(
function ()
{
$('#Status').load("client #Status");
}, 5000); // refresh every 5000 milliseconds / 5 Seconds, 1000 Miliseconds = 1 second
</script>