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
How to implement guns with full ammo?
Moderator: Core Staff
Re: How to implement guns with full ammo?
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.
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?
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;
Â
}
}
Â
Â
Last edited by Goro92 on January 5th, 2012, 9:26 pm, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 2 guests