Page 1 of 1
How to implement guns with full ammo?
Posted: January 4th, 2012, 7:51 pm
by Kong
I've tried the count option in the entity menu, but with no apparent result.
If it is at all possible, and someone knows how, please reply with the solution
thanks
Re: How to implement guns with full ammo?
Posted: January 5th, 2012, 6:58 pm
by Moustache
It sounds like you are having a script, maybe you should post it?
And a little more info would help. Do you want to only use a script? Or do you not want to use a script. Do you want all players to have full weapons, or just a few on the ground? Info, info and more info.
Re: How to implement guns with full ammo?
Posted: January 5th, 2012, 9:12 pm
by Goro92
this script should work
Code: Select all
Â
ammo1()
{
trigger = getent ("ammo1","targetname");
Â
while (1)
{
Â
trigger waittill ("trigger",player);
player giveweapon("ak47_mp");
player iprintlnbold ("You received an ^1Ak47^7");
player switchtoweapon("ak47_mp"); Â Â Â
player giveMaxAmmo("ak47_mp");
wait 10.0;
Â
}
}
Â
Â