• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to drop a weapon ?
#1
Hi, when I spawn in my mod i've got a m16 and a asp! How I can drop theese weapons ? I use the command dropWeapon(...); but it return me "unknown command"... Can anyone help me ? Big Grin

sry4my bad english.
  Reply
#2
self dropItem( self GetCurrentWeapon() );
--
  Reply
#3
self takeWeapon(self getCurrentWeapon());

take in mind that you can't use random commands like giveAnswerToTheUniverse(); and expect it to work
YouTube 1:Azumikkel- Modding
YouTube 2:DerpShark- Gaming Entertainment
Website:Jensby.me
Contact: im[at]jensby.me
  Reply
#4
I <3 you <3
(06-02-2011, 15:57)AZUMIKKEL Wrote: self takeWeapon(self getCurrentWeapon());

take in mind that you can't use random commands like giveAnswerToTheUniverse(); and expect it to work

I found dropWeapon in the wiki of treyarch omfg...
  Reply
#5
Azu he needed Dropweapon not takeweapon I think

But this actually didn't gave an error when I tryd:

treyarcharetrolls();
--
  Reply
#6
(06-02-2011, 16:05)diSe Wrote: I found dropWeapon in the wiki of treyarch omfg...

I'll remember not to help you another time.
YouTube 1:Azumikkel- Modding
YouTube 2:DerpShark- Gaming Entertainment
Website:Jensby.me
Contact: im[at]jensby.me
  Reply
#7
(06-02-2011, 16:29)AZUMIKKEL Wrote:
(06-02-2011, 16:05)diSe Wrote: I found dropWeapon in the wiki of treyarch omfg...

I'll remember not to help you another time.

._.
  Reply
#8
(06-02-2011, 16:34)diSe Wrote: ._.

Quote:DropWeapon( <weapon name>, <hand>, <throw speed> )
Module: AI
SP Only

Module: AI
SP Only


"omfg"
YouTube 1:Azumikkel- Modding
YouTube 2:DerpShark- Gaming Entertainment
Website:Jensby.me
Contact: im[at]jensby.me
  Reply
#9
(06-02-2011, 16:37)AZUMIKKEL Wrote:
(06-02-2011, 16:34)diSe Wrote: ._.

Quote:DropWeapon( <weapon name>, <hand>, <throw speed> )
Module: AI
SP Only

Module: AI
SP Only


"omfg"

Sorry but i'm new in mod world _
  Reply
#10
(06-02-2011, 16:51)diSe Wrote:
(06-02-2011, 16:37)AZUMIKKEL Wrote:
(06-02-2011, 16:34)diSe Wrote: ._.

Quote:DropWeapon( <weapon name>, <hand>, <throw speed> )
Module: AI
SP Only

Module: AI
SP Only


"omfg"

Sorry but i'm new in mod world _

I don't care. If that's the response you get for trying to help, then I'd rather not.
YouTube 1:Azumikkel- Modding
YouTube 2:DerpShark- Gaming Entertainment
Website:Jensby.me
Contact: im[at]jensby.me
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Help Mw2 weapon skin question FroxIVx4 1 2,755 10-13-2013, 16:54
Last Post: hmann
Question Help Weapon Name iRoNinja 8 5,996 10-08-2013, 08:31
Last Post: iRoNinja
  Mw2 weapon porting? Cuddlyedits 3 4,322 09-15-2013, 16:43
Last Post: DidUknowiPwn
Rainbow [Release] MW3: Random Weapon Plugin V1 Nekochan 50 30,300 09-11-2013, 15:11
Last Post: EnVi Sweden Rocks
Exclamation [Request] Random Weapon At Spawn Scripts18 3 4,364 07-27-2013, 23:53
Last Post: DidUknowiPwn
  Help Mw2 weapon skin question FroxIVx4 1 2,678 07-06-2013, 19:22
Last Post: surtek
  [Request] List of all weapon models DidUknowiPwn 3 4,315 04-20-2013, 09:13
Last Post: Dominator56
  [Release] !weapon Plugin 8q4s8 40 23,459 03-24-2013, 17:02
Last Post: X-Track
  [Release] Black Ops ZM & MP weapon ID's JariZ 7 29,077 03-01-2013, 22:04
Last Post: JariZ
  [Request] Weapon info Hud hillbilly 5 3,532 03-01-2013, 02:30
Last Post: archit

Forum Jump:


Users browsing this thread: 1 Guest(s)