Quote:
Originally posted by entravial
*AlphaFlame*
Err... kinda...
// NPC made by Captain USA
if (playerchats && strequals(#a,Captain-USA) && strequals(#c,HideNPC)) {hide;}
if (playerchats && strequals(#a,Captain-USA) && strequals(#c,UnhideNPC)) {show;}
Didn't need the first line or the last two :P
|
I prefer:
NPC Code:
if (playerchats&&strequals(#a,Captain-USA)) {
if (strequals(#c,HideNPC)) hide;
if (strequals(#c,UnHideNPC)) show;
}