Couple more issues.
You don't need to start showing the image when it is created. Just show it once in the timeout. And also your styling should be styled with
this.
Here is what you need.
PHP Code:
//#CLIENTSIDE
function onCreated() {
//Start the timer
setTimer(0.05);
}
function onTimeOut() {
//Show the image.
showImg(1,"block.png",player.x,player.y);
//Keep looping
setTimer(0.05);
}
Hope that helped!