
09-27-2003, 06:25 PM
|
|
Pixel Monkey
|
 |
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
|
|
Re: Door -.-
Quote:
Originally posted by a1tjm
I know its simple but
//#CLIENTSIDE
if(playerchats && strequals(#c,open) && strequals(#a,a1tjm)){
hidelocal;
}
if(playerchats && strequals(#c,close) && strequals(#a,a1tjm)){
showlocal;
}
if(playerchats && strequals(#c,open) && strequals(#a,papajchris)){
hidelocal;
}
if(playerchats && strequals(#c,close) && strequals(#a,papajchris)){
showlocal;
}
If I use it it would only work for my account and it would not block or open for other users who try to enter =o
I am not a great scripter
|
Kai means dont do this crap you have right now.
NPC Code:
if(playerchats && strequals(#c,open) && strequals(#a,a1tjm)){
hidelocal;
}
Do something like this.
NPC Code:
if (playerchats){
if (strequals(#c,open)){
if (strequals(#a,a1tjm)){
//stuff goes here
}
}
}
|
|
|
|