Thread: Simple question
View Single Post
  #2  
Old 07-03-2002, 11:26 AM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
well, something like this would work, for database npc

NPC Code:

if (playertouchsme) {
setstring this.onoff,#v(abs(strtofloat(#s(this.onoff))-1));
}





then have it read the flag, and if its 1 then on, 0 = off

=D
__________________
[signature]insert here[/signature]
Reply With Quote