Thread: Door -.-
View Single Post
  #7  
Old 09-27-2003, 06:25 PM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
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
}
}
}

__________________
Reply With Quote