So I'm trying to figure out why the object is not creating at the mouse's x, y.
I tried mousescreenx,y and mousex,y but it doesn't place the NPC.
It works fine though placing it at player.x and player.y
What is in the CLIENTSIDE:
PHP Code:
player.chat = "Dropped Block!";
triggerserver("weapon", this.name, "block");
What is in the SERVERSIDE:
PHP Code:
if (params[0] == "block"){
temp.npc = this.level.putNPC2(mousex, mousey, "");
temp.npc.join("block");
}
NOTE: I just realized I spelled 'Creating' wrong in the title lol