View Single Post
  #2  
Old 06-21-2004, 02:45 AM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Quote:
Originally Posted by Googi
The commands say and say2 are clientside, right?
I think so.

Quote:
Originally Posted by Googi
And what about functions that have both clientside and serverside commands in them, which side of the "//#CLIENTSIDE" statement do I put them on, or how do I otherwise deal with them?
And is it okay to use "if (this.variable=number)" conditions on the clientside part of the script?
I did not understand this part, are you saying something like this?

Quote:
if(created) this.variable = 5;

//#CLIENTSIDE

if(playerenters){
this.var = 5;
if(this.var == this.variable) say2 Yes, it is;
}
Because the clientside part will read "this.variable" as 0, since it is on serverside part.
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote