Forum

> > CS2D > Scripts > Can I give a Player a weapon with 1 Bullet?
Forums overviewCS2D overview Scripts overviewLog in to reply

English Can I give a Player a weapon with 1 Bullet?

7 replies
To the start Previous 1 Next To the start

old Re: Can I give a Player a weapon with 1 Bullet?

archmage
User Off Offline

Quote
It is impossible to set the amount of ammo in a players weapon, but you can render the players weapon useless after one shot.

Something like this:
More >

old Re: Can I give a Player a weapon with 1 Bullet?

Bowlinghead
User Off Offline

Quote
@ Textual Contest:
No, I don't search that! But thx for that
1
parse("mp_wpndmg 'deagle' 250") -- If a player has more then 100 energie!

@failbit:
Thanks for your example, but it doesn't work (I fixed something).

@ PixelMaster:
If you ask:
I want to make a map, where you have no ammo. After a time you find more and more ammo. If you have enough, you can fight vs. the boss enemy.
The map is 20% finish, but the Script... 0%.

Thanks at all ♥

EDIT:
I found out the trick.
edited 1×, last 06.08.11 11:58:06 pm
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview