View Single Post
  #6  
Old 10-22-2014, 07:27 PM
i8bit i8bit is offline
Registered User
Join Date: Jul 2013
Posts: 146
i8bit is an unknown quantity at this point
Quote:
Originally Posted by MysticalDragon View Post
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.+= 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?
Reply With Quote