DayZ 0.53 Infinite Ammo Code?
I am kinda a newbie I am trying to just execute the DayZ infinite ammo code so I don't have to run 2 menus at once the code for Infinite ammo is
Can anyone help me?
Thanks
Code:
infammo = {
if (isnil ("infammoON")) then
{
infammoON = 0;
};
if (infammoON==0) then
{
systemchat "Infinite Ammo ON!";
infammoON=1;
}
else
{
infammoON=0;
systemchat "Infinite Ammo OFF!";
};
sCode = " while {infammoON==1} do{(vehicle player) setVehicleAmmo 1;sleep 0.1;};";
[] spawn compile sCode;
};
Thanks
