Home   Help Search Login Register  

Author Topic: Order and get  (Read 477 times)

0 Members and 1 Guest are viewing this topic.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Order and get
« on: 04 Feb 2003, 21:47:15 »
How do you make so if anyone types a specific type of ammo in the "[]" box he will get that ammo of that kind.

Pointman

  • Guest
Re:Order and get
« Reply #1 on: 04 Feb 2003, 22:50:53 »
I only have CWC, so... What is the [] box you are refering to?

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Order and get
« Reply #2 on: 05 Feb 2003, 15:50:21 »
like

[M16mag] exec "GimmeMyAmmo.sqs"

Pointman

  • Guest
Re:Order and get
« Reply #3 on: 05 Feb 2003, 21:21:33 »
you probably would like to make something like:

[M16Mag,_player] exec "gimmeammo.sqs"

and in the script use the AddMagazine function

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Order and get
« Reply #4 on: 05 Feb 2003, 22:01:11 »
yes I know, but the problem is that the user of the scriptÂ's (official script) able to use all sorts of ammo. But how do I know witchÂ's ammo thatÂ's what?

Sorry for the Noob behaviour.