Quote:
Originally Posted by MysticalDragon
I feel like no one here really anwsered your question. The difference between clientside and serverside is that when something happens on client It HAPPENS for you since its on your client. So if your changing a npc looks or lets say its chat under //#CLIENTSIDE, thats only happening for you. However if you removed the clientside portion, the changes would be done on serverside that all players are synced to, all players would see the changes.
when you do playertouchsme on clientside its only changing the clientside coords thats within the playerscope thats touching it. However if you did it on serverside its still within the playerscope but your changing the server coords that all players are synced to.
|
That actually really helps. Thank you. But here's a scenario
Let's say the player does this:
PHP Code:
//#CLIENTSIDE
//whatever function
player.x += 2;
Obviously you are going to see it because it is on your client. But why can other players see it because it's not serverside?