PDA

View Full Version : Help Me Please Dear Lord Help!


05-28-2001, 11:04 AM
Um ok so heres teh Problem I need it so this NPC disspears when a guild member of this guild touchs Example : Statue in the the way if a Samurai guild member touchs it it dissapears for like 5 seconds then comes back.

General
05-28-2001, 12:29 PM
if (playerenters) show;
if (playertouchsme && strequals(#g,GuildName)) {
hide;
sleep 3;
show;
}

freddyfox
05-28-2001, 12:36 PM
Originally posted by General

if (playerenters) show;
if (playertouchsme && strequals(#g,GuildName)) {
hide;
sleep 3;
show;
}


Actually, it should be,


if (playerenters) show;
if (playertouchsme && strequals(#g,GuildName)) {
hidelocal;
dontblocklocal;
sleep 3;
showlocal;
blockagainlocal;
}

LiquidIce00
05-28-2001, 01:47 PM
actually ... this is better... it can lose its values when u leave/enter..


if (playerenters) { showlocal; blockagainlocal; }

if (playertouchsme && strequals(#g,GuildName)) {
hidelocal;
dontblocklocal;
sleep 3;
showlocal;
blockagainlocal;
}

fugitive316
05-28-2001, 01:49 PM
This is why I never post Gscript heh, there always seems to be someone who will come up with better scripts.

Er1c
05-29-2001, 06:23 AM
Your all wrong if this is for a server with an NPC Server.

//#CLIENTSIDE
if (playerenters) {
showlocal;
}
if (playertouchsme) {
if (strequals(#g,GUILD_NAME)) {
hidelocal;
timeout = 3;
} else {
message Your not in this guild!;
}
}
if (timeout)
showlocal;

When something is hidden it automatically stops blocking the player.

Er1c
05-29-2001, 06:28 AM
Ok, I clicked the wrong forum... :D