View Single Post
  #23  
Old 07-23-2004, 06:47 AM
Projectshifter Projectshifter is offline
The David
Projectshifter's Avatar
Join Date: Apr 2002
Location: USA
Posts: 912
Projectshifter is an unknown quantity at this point
Send a message via ICQ to Projectshifter Send a message via AIM to Projectshifter Send a message via MSN to Projectshifter Send a message via Yahoo to Projectshifter
Quote:
Originally Posted by Xecutor
Well actually if you are comparing variables set serverside or clientside then it would be limited.
This was in reference to if () statements.
You can set variables serverside and clientside. You can do most tasks serverside and clientside, but you cannot read a this.var set clientside serverside and vice-versa. Level.vars are serverside only I believe, as is the with() command. Many things that you can do serverside and clientside depend on what action you're performing.
If I want to show a local message, setplayerprop #c,Blah; would work clientside to set the chat of the player. I've found a lot of times doing setplayerprop #c,; clientside does not in fact set it for the other players, so serversided would be better if you're hiding the chat. Just random things you have to figure out.
Most of it is common sense, just figure who has to access it, and does it effect more than that one player? For example, setting preferences for a GUI doesn't need any interaction outside of the clientside, but modifying guilds needs to have interaction with a server/players, therefore would need to be serversided
-Projectshifter
__________________
Who has time for life these days?
Reply With Quote