Ok i am just making a simple thing where if the mouse goes over the npc it shows the name and this is what i got. I don't understand why you have two x's and two y's.
PHP Code:
function onActionServerside() {
setstring this.item,"Onion Rings",food,james-onionrings.gif,"f""f""f",20,1;
setstring this.itemtype,food;
setstring this.guild,Burger Shack;
this.price=8;
}
//#CLIENTSIDE
function onCreated (){
setstring this.item,"Onion Rings",food,james-onionrings.gif,"f""f""f",20,1;
}
if (mousescreenx in |47,10|){
if (mousescreeny in |11,158|){
showtext 220,mousescreenx+5,mousescreeny-10,Tempus Sans ITC,b,Inventory;
changeimgvis 220,7;
changeimgzoom 220,.5;
}
}