AirDrops plugin PROBLEM!

MrNunoPT

New Member
Member
Aug 5, 2017
21
5
3
23
Hey, im having a problem with the plugin Airdrops made by DreTax.

Fougerite version 1.5.1
Settings:

# Enable timer for airdrop False/True
TimedAirdrop = True
# Airdrop time, 1000 = 1 second | 1800000 = 30 minutes
AirdropTime = 1800000
# Minimum Players
MinPlayers = 1
# Allow commands for mods?
Mods = True
# Whitelisted SteamIDs
WLS = ["SteamIDHere", "SteamID2Here", "SteamID3Here"]
# Cooldown time? 0 to disable | 300000 = 5 minutes
Cooldown = 1800000
# Chance for a drop? 0 to disable (1-100)
Chance = 0
# Can Moderator call airdrop to his pos?
ModCalltoPos = False

Sometimes When the plugins calls an autoairdrop it spams my console and the plane get freeze.
upload_2017-8-8_19-27-53.png
If you can fix this i apreciate

Thanks, Waiting for an Reply! :D
 

Attachments

Last edited:

salva

Friendly self-taught developer
Administrator
Jan 31, 2016
577
612
63
Hey, im having a problem with the plugin Airdrops made by DreTax.

Fougerite version 1.5.1
Settings:

# Enable timer for airdrop False/True
TimedAirdrop = True
# Airdrop time, 1000 = 1 second | 1800000 = 30 minutes
AirdropTime = 1800000
# Minimum Players
MinPlayers = 1
# Allow commands for mods?
Mods = True
# Whitelisted SteamIDs
WLS = ["SteamIDHere", "SteamID2Here", "SteamID3Here"]
# Cooldown time? 0 to disable | 300000 = 5 minutes
Cooldown = 1800000
# Chance for a drop? 0 to disable (1-100)
Chance = 0
# Can Moderator call airdrop to his pos?
ModCalltoPos = False

Sometimes When the plugins calls an autoairdrop it spams my console and the plane get freeze.
View attachment 2197
If you can fix this i apreciate

Thanks, Waiting for an Reply! :D

http://fougerite.com/threads/world-airdropat.1237/ I studied this subject a few months ago, unfortunately there is no solution yet.....
 

MrNunoPT

New Member
Member
Aug 5, 2017
21
5
3
23
Hey guys I'm trying to make an basic plugin but it keeps doing a error.
whats wrong with this code:

__title__ = 'DamageShow'
__author__ = 'MrNunoPT'
__version__ = '0.1'


import clr
clr.AddReferenceByPartialName("Fougerite")
import Fougerite


class DamageShow:
def On_PlayerHurt(self, HurtEvent):
if HurtEvent.AttackerIsPlayer and HurtEvent.VictimIsPlayer:
HurtEvent.Attacker.Notice( + HurtEvent.Victim.Name "tem" + str(HurtEvent.Victim.Health))

class DamageShowAnimals:
def On_NPCHurt(self, HurtEvent):
if HurtEvent.AttackerIsPlayer:
HurtEvent.Attacker.Notice("Vida: " + str(HurtEvent.Victim.Health))
 

Jakkee

Retired Staff
Retired Staff
Plugin Developer
Jul 28, 2014
1,465
932
113
Australia
Hey guys I'm trying to make an basic plugin but it keeps doing a error.
whats wrong with this code:

__title__ = 'DamageShow'
__author__ = 'MrNunoPT'
__version__ = '0.1'


import clr
clr.AddReferenceByPartialName("Fougerite")
import Fougerite


class DamageShow:
def On_PlayerHurt(self, HurtEvent):
if HurtEvent.AttackerIsPlayer and HurtEvent.VictimIsPlayer:
HurtEvent.Attacker.Notice( + HurtEvent.Victim.Name "tem" + str(HurtEvent.Victim.Health))

class DamageShowAnimals:
def On_NPCHurt(self, HurtEvent):
if HurtEvent.AttackerIsPlayer:
HurtEvent.Attacker.Notice("Vida: " + str(HurtEvent.Victim.Health))
What is the error?
You don't need the second class "class DamageShowAnimals", you can remove that line
 

salva

Friendly self-taught developer
Administrator
Jan 31, 2016
577
612
63
What does that have to do with the main theme?