View Single Post
  #2  
Old 07-18-2013, 09:44 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
mousex and mousey are not stored serverside, only clientside. you would need to send those datas within the triggerserver()

PHP Code:
function onActionServerSide() {
  if (
params[0] == "block") {
    
temp.npc putnpc2(params[1], params[2], "");
    
temp.npc.join("block");
  }
}

//#CLIENTSIDE
function onCreated() {
  
player.chat "Dropped Block!";
  
triggerServer("weapon"this.name"block"mousexmousey); 

__________________
MEEP!
Reply With Quote