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