Author Topic: Player gets a Rambo Bow for a short period of time  (Read 1291 times)

0 Members and 1 Guest are viewing this topic.

Offline Irlandec

  • Soldier
  • **
  • Posts: 176
Player gets a Rambo Bow for a short period of time
« on: June 01, 2008, 05:58:34 am »
How to do that? And, if it is not very hard , make a source code.
Some notes:
1. When player types /bow , spawns a bow
2. If players drops abow it dissapears
3. If players dies with a bow, it dissapears
4. If time for bow is up , it dissapears

Thx for helping :)

Offline BRADEN

  • Camper
  • ***
  • Posts: 319
Re: Player gets a Rambo Bow for a short period of time
« Reply #1 on: June 01, 2008, 07:26:25 am »
Well, the bow is the only weapon that cannot be spawned directly. You might need a lot of codes to figure a way round this.

Death is the solution to all problems. No man; no problem.
-Joseph Stalin

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Player gets a Rambo Bow for a short period of time
« Reply #2 on: June 01, 2008, 09:56:00 am »
Fuck sake man stop asking for crap constantly, script things for yourself

Offline BRADEN

  • Camper
  • ***
  • Posts: 319
Re: Player gets a Rambo Bow for a short period of time
« Reply #3 on: June 01, 2008, 10:49:52 am »
Now that we're at it, can you even spawn a bow?

Death is the solution to all problems. No man; no problem.
-Joseph Stalin

Offline Boblekonvolutt

  • Soldier
  • **
  • Posts: 222
  • "YOU are a CAR."
Re: Player gets a Rambo Bow for a short period of time
« Reply #4 on: June 01, 2008, 10:58:40 am »
Spawn, no.

Offline BRADEN

  • Camper
  • ***
  • Posts: 319
Re: Player gets a Rambo Bow for a short period of time
« Reply #5 on: June 01, 2008, 11:21:37 am »
So there is no way you can get round this?

Death is the solution to all problems. No man; no problem.
-Joseph Stalin

Offline Boblekonvolutt

  • Soldier
  • **
  • Posts: 222
  • "YOU are a CAR."
Re: Player gets a Rambo Bow for a short period of time
« Reply #6 on: June 01, 2008, 11:49:43 am »
No need to get around it, if you give a player a bow (and its not rambo mode) he can't drop it, and it will disappear when he dies. So all you need to do is make a script that (with ForceWeapon) gives the player a bow, and then changes it back after a while.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Player gets a Rambo Bow for a short period of time
« Reply #7 on: June 01, 2008, 12:20:42 pm »
Could you spawn a separate weapon, or flamer powerup, so when a player picks it up (flamer should call hte weapon change event), it can be replaced with a rambo on hand

Offline danmer

  • Camper
  • ***
  • Posts: 466
  • crabhead
Re: Player gets a Rambo Bow for a short period of time
« Reply #8 on: June 02, 2008, 04:39:47 am »
but it'll spam your console to death and kick you for cheating unless you disable anticheat kick, which is kinda bad