Never Mind i figured it out im silly haha
Airstrike
Moved
Total Downloads: 11,128 - First Release: Dec 2, 2015 - Last Update: Apr 19, 2018
- 5/5, 34 likes
-
Hi there! is there any way to make that SquadStrike had another cooldown? atm it has nothing of cooldown, you can use as fast as you want
I wanted to modify the CS but i dont want to mess with your code but it would be a nice implementation -
-
well i got it working with cooldown just adding the same code of the cooldown of the normal strike, the pronlem is that is the same cooldown so you can use one or another and u cant change the cooldown time only for one, it will change for both but if you want i can paste that part of the code
-
-
Yep the only one with Cooldwon at this moment is /callstrike, however make sure you have activated the cooldown on Airstrike.json also set the cd time,
also at the line 517 of the airstrike.cs you should have something like this:
Code:[ChatCommand("callstrike")] private void chatStrike(BasePlayer player, string command, string[] args) { if (!canChatStrike(player)) return; if (useCooldown) if (!CheckPlayerData(player)) return; //This is what we want!
Code:if (useCooldown) if (!CheckPlayerData(player)) return;
it shoud looks like this from the line 551
Code:[ChatCommand("squadstrike")] private void chatsquadStrike(BasePlayer player, string command, string[] args) { if (!canChatStrike(player)) return; if (useCooldown) if (!CheckPlayerData(player)) return; if (args.Length == 0) { squadStrikeOnPlayer(player); return; }
-
Need some help with this one.. I've basically allowed some players to have airstrike, but they've been abusing the mass strike. I've tried removing the permission a thousand times and still nothing works.
Please help me with this -
Somehow only admins can use "/togglestrike" on my server.
How can I change this? I want every player to have access to the airstrike via Supply Grenade.
Other than that it works just fine.
I tried airstrike.canuse in console but without effect. Do I need to add a playername to this command?
Thanks for your time! -
Maybe I don't understand, but why would you buy a strike on yourself...? I don't see an option to bomb another player like /buystrike money PlayerName... What am I missing?
-
A silly thing has begun on my server. Whenever an airstrike or squadstrike is called, they drop bombs, but also drop a supply crate. Is this intentional? I can't see any settings in this plugin cfg, nor fancy drop cfg that would cause this.
Thanks -
Assigned permission airstrike.canuse to my test user. When he uses the chat command /callstrike, nothing happens. I'd rather use a permission that grants only the ability to call an airstrike, not a squadstrike. The only way a user can issue a /callstrike is if they are given the permission airstrike.admin. Am I doing something wrong?
-
-
-
-
-
airstrike.chat doesn't exist.
-
-
does planes still flies from one, single direction?)
-
-
Hey killyou can you add some kind of option to check to see if the airstrike goes through because players when they use the /squad or /callstrike they type the name but it says multiple players with that name it would be nice if it wouldn't count as a cd when that message appears.
Last edited by a moderator: Mar 11, 2017