Hi, first see these videos to know what i mean with AirStrike!
i used this code to make an explode in where admin ls looking too:
but i need to use AirDrop Plane to comes there and Drop nothing
then after 5 or 6 seconds in that place spawn 20 f1 grenads ( because C4 ham some bugs)
is it possible? if yes how?
Python:
class Strike:
def On_Command(self, Player, cmd, args):
if cmd == "strike":
if Player.Admin or Player.Moderator:
hit = UnityEngine.Physics.RaycastAll(Player.PlayerClient.controllable.character.eyesRay)
if len(hit) > 0:
hit[0].point.y += 2
hitlocation = hit[0].point
#Player.TeleportTo(hitlocation)
World.Spawn(";explosive_charge", hitlocation, 10)
else:
Player.MessageFrom("Strike", "You are not looking at anything!")
else:
Player.Notice("✘", "You are not allowed to use this command !")
then after 5 or 6 seconds in that place spawn 20 f1 grenads ( because C4 ham some bugs)
is it possible? if yes how?