View Single Post
  #2  
Old 02-27-2002, 01:41 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Re: Serverside scripts.

Quote:
Originally posted by joseyisleet
-=Josey=-
Ok, I've never used any server side scripts. I was wondering how exactly they work. Say you use something like:

NPC Code:

//#SERVERSIDE
if (created||playerenters){
message Hello!;
sleep 5;
message How are you?;
sleep 5;
message I'm doing fine.;
}



Would that constantly run on the server because it uses servside or only start whenever a player enters the level?
First off everything is serverside unless denoted by '//#CLIENTSIDE'. And what would happen with that script is it would play once for being created. Then it would play over for every player entering the level ...
Reply With Quote