Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Adding guildtags (https://forums.graalonline.com/forums/showthread.php?t=26326)

Spectre1337 03-26-2002 10:54 AM

Adding guildtags
 
I always try to do this and I cant!

Why doesnt this work!
NPC Code:

if (playertouchsme){
setplayerprop #g,Poop;
}


And why doesnt this work either?
NPC Code:

if (playertouchsme){
setplayerprop #n,New Name;
}


screen_name 03-26-2002 10:58 AM

dont work clientside

only serverside


:P

Spectre1337 03-26-2002 11:02 AM

Quote:

Originally posted by screen_name
dont work clientside

only serverside


:P

Can you add English to Newbish and try to make it easier for me to understand, rofl

screen_name 03-26-2002 11:05 AM

wont work offline

only online (if it is p2p)

Faheria_GP2 03-26-2002 11:07 AM

Re: Adding guildtags
 
Quote:

Originally posted by Spectre1337
I always try to do this and I cant!

Why doesnt this work!
NPC Code:

if (playertouchsme){
setplayerprop #g,Poop;
}


And why doesnt this work either?
NPC Code:

if (playertouchsme){
setplayerprop #n,New Name;
}


if (playertouchsme) setplayerprop #c,setnick #n (Tag);
if (playertouchsme) setplayerprop #c,setnick NAME;

screen_name 03-26-2002 11:17 AM

doesn't work offline either

Faheria_GP4 03-26-2002 12:07 PM

nope. every guild tag ive used has been p2p only. is there a non p2p?

screen_name 03-26-2002 09:32 PM

i think they work on classic, thats the only one i've ever seen

Saga2001 03-27-2002 02:49 AM

Hey, also that won't add an actual guild tag, all that will do it temporarly set their guild...
If you want to make it so they can use that tag whenever tey like use this:
NPC Code:

addguildmamger guild,account,nickname;
removeguildmember guild,account;




Then anything in the serverside section of the script (the part being parsed by npc server, not the client, or better known as "Before where you put the //#CLIENTSIDE thingy", just have this line:
setplayerprop #g,guildname;
you cannot do this:
setplayerprop #n,nickname (guildname);
unless the player is in the guild, and even then i am not sure.


All times are GMT +2. The time now is 02:50 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.