Before anyone says anything, i know sleep is bad, i was just trying everything i could think of. Whats wrong with this script? the gani will not show up. dont know how to make it work.
PHP Code:
// NPC made by Cyril Dionne (SDE)
function onCreated(){
this.setimage("armageddon-door.png");
}
function onPlayerTouchsMe(){
this.setimg("");
this.setcharani("armageddondoor.gani","null");
sleep(5);
this.setcharani("","null");
}