Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Server (https://forums.graalonline.com/forums/forumdisplay.php?f=14)
-   -   Adding Weapons (https://forums.graalonline.com/forums/showthread.php?t=7175)

07-11-2001 04:57 AM

Adding Weapons
 
I am having trouble adding weapons to my weapon list. For some reason, it just won't work. Do I put the weapon script in a class file? Do I put it all in the script of the NPC? Do I put some in the script and the rest in the class? Someone please help.

Poogle 07-11-2001 06:52 AM

What do you mean you cannot make weapons? Class file? and Weapons are e-z!
---------------------
if (playerenters) {
toweapons *I made this weapon for a guy who cannot script;
}
if (weaponfired) {
hurt 20;
}

07-11-2001 09:00 AM

Quote:

Originally posted by Poogle
What do you mean you cannot make weapons? Class file? and Weapons are e-z!
---------------------
if (playerenters) {
toweapons *I made this weapon for a guy who cannot script;
}
if (weaponfired) {
hurt 20;
}

O WOW THNX MR. MAN THAT JUST FIXERS UP ALL MUH PROBLESM

Jackass.

Okay, for the smart people who didn't ignore the class part, clearly identifying it as npc server, I need help on this ASAP.

Knightoffrost 07-11-2001 09:13 AM

Quote:

Originally posted by Poogle
What do you mean you cannot make weapons? Class file? and Weapons are e-z!
---------------------
if (playerenters) {
toweapons *I made this weapon for a guy who cannot script;
}
if (weaponfired) {
hurt 20;
}

*******.. Actually thats what i thought otaku meant at first 2 but i know better that he's not stupid.

KJS 07-11-2001 09:21 AM

Re: Adding Weapons
 
Quote:

Originally posted by Napster69
I am having trouble adding weapons to my weapon list. For some reason, it just won't work. Do I put the weapon script in a class file? Do I put it all in the script of the NPC? Do I put some in the script and the rest in the class? Someone please help.
try saying

addweapon <weaponsname>

w/o the <>'s

that makes it add it and update it (this is if you have a npc server)

if not then use

toweapons

MoonAngel 07-11-2001 09:25 AM

otaku, if ur talking about the staff npcz, remember, i protected them with a tag check =P so put yer tag to make the weapon work for you. if its another weapon, then do what KJS said

KJS 07-11-2001 09:27 AM

oh yea and...
 
dont put the npc script in a class file...

you dont need to...

and I am not sure if it will work (never tried it)..

07-11-2001 09:58 AM

Silver, I took off all that tag protection crap.

And toweapons and addweapon don't work, I touch it and I get disconnected for "Recieving Illegal Data".

DuckyJ 07-17-2001 10:32 PM

uhmmmm toweapons...errrrr...hmmm
for NPC server eh? yeah npcserver loves to make it harder...hmm
beats me =D

Er1c 07-17-2001 11:02 PM

The weapon cannot be client side, make sure its before
NPC Code:
//#CLIENTSIDE

or else the server thinks you are adding weapons with GameTrainer or some other cheating program...

kyle0654 07-18-2001 01:43 AM

lol

It's a new feature in the npc control people.

Otaku: make sure Stefan updated your npc server, if he has, it should work just fine using addweapon.

Warcaptain 08-29-2001 11:46 AM

Quote:

Originally posted by kyle0654
lol

It's a new feature in the npc control people.

Otaku: make sure Stefan updated your npc server, if he has, it should work just fine using addweapon.

Kyle ish da bomb :-)

Merlin 08-31-2001 03:19 AM

i think it has to be in the npc server weapons list and you just do like
PHP Code:

if (action) {addweapon Weapon name;} 


ZORG1986 09-15-2001 10:31 PM

Quote:

Originally posted by Warcaptain

Kyle ish da bomb :-)

Warcaptain your a ***

toad1413 09-20-2001 11:46 PM

Quote:

Originally posted by ZORG1986

Warcaptain your a ***

And you're a *******.


All times are GMT +2. The time now is 06:25 AM.

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