Thread: Few questions
View Single Post
  #6  
Old 08-25-2002, 01:18 AM
Spark910 Spark910 is offline
Ex-Graal Global
Spark910's Avatar
Join Date: Oct 2001
Location: England
Posts: 10,892
Spark910 has a spectacular aura about
Re: Few questions

Quote:
Originally posted by Max-imus
.........

//#CLIENTSIDE
if(playertouchsme)
{toinventory keyname;hidelocal;}

..........
Im an Amature, Im sure someone can confirm if Im right or wrong. I think this is serverside script so.........

This at top

if(playertouchsme)
{toinventory keyname;hidelocal;}

then:

//#CLIENTSIDE

then the other bit Which i forgot!

*It work?*

TIP:You dont need to keep putting ''//#CLIENTSIDE''

The script is server side with NPC servers until you tell it other wise (by using ''//#CLIENTSIDE'') and once you put ''//#CLIENTSIDE'' anything below it becomes Clientside, So you dont need to keep telling it that its Clientside:

[serverside script]
//#CLIENTSIDE
[Client side (ANYTHING) Below it]

-----------

If what I said didnt work..... try only putting ONE ''//#CLIENTSIDE'' and put it above the ''IF'' the first one.

I dont know if that made sence or will help, But have a go and see if it works. Tell me if it does work and if it doesn't