Ammo giver

Status
Not open for further replies.

SiraBots

Active member
Joined
Aug 11, 2013
Messages
50
Reaction score
0
Location
Norway
* Name of the mod (if the mod doesn't exist, you don't have to tell one): Ammo giver
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): -
* What do you want (the most important part, explain this carefully): Well there are lots of ammo hacks where I press a key on my keyboard and it adds bullets to my gun. But I want a script where I type a command and it adds specific amount of bullets. Such as: /giveammo [amount], where I can decide my own amount of ammo, which gets added to the gun in my hand. Can someone please help me make this? Thanks.
* Details (add more details to your request): -
* On/off key (specify it): A command (read above)
 

4changesLeft

Well-known member
Joined
Apr 10, 2015
Messages
365
Reaction score
4
usage: /giveammo [amount]
 

Attachments

  • giveammo.cs
    18.2 KB · Views: 318

SiraBots

Active member
Joined
Aug 11, 2013
Messages
50
Reaction score
0
Location
Norway
TehArgis said:
usage: /giveammo [amount]

Works perfect. Can you also make the same script, except it gives HP instead of ammo? Such as /givehp
 

4changesLeft

Well-known member
Joined
Apr 10, 2015
Messages
365
Reaction score
4
SiraBots said:
TehArgis said:
usage: /giveammo [amount]

Works perfect. Can you also make the same script, except it gives HP instead of ammo? Such as /givehp

I made something similar :p
/sethp [amount]
you can set your hp to any amount u want 1-100
 

Attachments

  • sethp.cs
    18.1 KB · Views: 83
Status
Not open for further replies.
Top