Hello ^^ lately the active state in the TestBed server practicing some things, I am doing a small Gmap of Era and for some of the NPC that I want to do, I need to use "Setshape2" to make it work, I know how the code works but for Some reason is not fulfilling its function

Here I will leave a basic Script that I made for a bed, I would like to know if someone can help me to make SetShape2 work, Thanks in advance!


function onCreated()
{
setshape2(8,6,{
22,22,22,22,22,22,22,22,
4 ,4 ,4 ,4 ,4 ,4 ,4 ,4 ,
5 ,5 ,5 ,5 ,5 ,5 ,5 ,5 ,
5 ,5 ,5 ,5 ,5 ,5 ,5 ,5 ,
5 ,5 ,5 ,5 ,5 ,5 ,5 ,5 ,
22,22,22,22,22,22,22,22,
});
setimg("bed.png");
drawunderplayer();
}


I'm new doing Scripts, I hope you understand