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.