Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Hat Script. (https://forums.graalonline.com/forums/showthread.php?t=28709)

XLinkX 05-08-2002 01:47 AM

Hat Script.
 
I just went on Unholy Nation and found out they had hats! I was wonder...What script do you use to get hats on a server without an NPC Server?

On UN, you say
'sethat 32', for example, then use the hat NPC, and it puts hat 32 on for you...What is the script for this?

Thanks!

G_yoshi 05-08-2002 01:53 AM

Re: Hat Script.
 
Quote:

Originally posted by XLinkX
I just went on Unholy Nation and found out they had hats! I was wonder...What script do you use to get hats on a server without an NPC Server?

On UN, you say
'sethat 32', for example, then use the hat NPC, and it puts hat 32 on for you...What is the script for this?

Thanks!

probably something like this
NPC Code:
//#CLIENTSIDE
if (playerchats && startswith(sethat,#c)) {
tokenize #c;
setplayerprop #P1,#s(#t(1));
freezeplayer 0.7;
setani haton,;
}



It's very easy to do :/

Spark910 05-08-2002 03:06 AM

Thats one way of doing it but it takes the fun out of collecting Hats?

G_yoshi 05-08-2002 05:25 AM

Re: Hat Script.
 
Quote:

Originally posted by XLinkX
I just went on Unholy Nation and found out they had hats! I was wonder...What script do you use to get hats on a server without an NPC Server?

On UN, you say
'sethat 32', for example, then use the hat NPC, and it puts hat 32 on for you...What is the script for this?

Thanks!

Forgot to mention...having an NPC server is irrelevant when dealing with hats -_-

user13-xo 05-08-2002 07:11 AM

they used my script. I posted on the thread "problems with #P1" they are now claiming it isnt mine x_x. Babylon was the first server without a npc server to have the hats.

Saga2001 05-08-2002 08:12 PM

Quote:

Originally posted by Kaimetsu
All these pathetic little PWs shouldn't even be using hats. Originality is dead :-/
Correction: Originality has been dead, 10 years me thinks.

G_yoshi 05-09-2002 01:42 AM

Quote:

Originally posted by Kaimetsu
All these pathetic little PWs shouldn't even be using hats. Originality is dead :-/
I've only had the NPC script on my PW for learning from it...I've learned several things that I've used in many of my recent NPCs :)

Falcor 05-09-2002 02:42 AM

The whole problem starts when they let PRETTYGOOD servers pass. Then players see the crap online and they see that ANYONE can make a server just by having a few common scripts liek bomies and hats.

toad1413 05-11-2002 11:56 AM

I made my own hat script, more complex than that. But all i use it for is testing hats offline, or if I want to play around with it or something. :)


All times are GMT +2. The time now is 07:56 PM.

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