View Single Post
  #3  
Old 07-18-2013, 09:48 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
You need to learn the differences between what serverside vs. clientside means. Serverside is everything being processed by the NPC-server. It will only have access to information on the server, server data, player data and such. Clientside deals with everything the players computer is processing. This is stuff like movement(since it's clientside), visuals(guis and tiles and so on) and other things handled by the client... thus, there is absolutely no reason the server would have any clue where the players mouse is.

So you will need to send the mouse position as parameters when you trigger the server.
Reply With Quote