![]() |
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.
|
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; } |
Quote:
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. |
Quote:
|
Re: Adding Weapons
Quote:
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 |
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
|
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).. |
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". |
uhmmmm toweapons...errrrr...hmmm
for NPC server eh? yeah npcserver loves to make it harder...hmm beats me =D |
The weapon cannot be client side, make sure its before
NPC Code:or else the server thinks you are adding weapons with GameTrainer or some other cheating program...//#CLIENTSIDE |
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. |
Quote:
|
i think it has to be in the npc server weapons list and you just do like
PHP Code:
|
Quote:
|
Quote:
|
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.