1: killing player is easy, Send a clientcommand to suicide or just Player.Kill()
2: Using RB you can create a client plugin to send the Key Presses to the server
You'll have to spawn the plane, I don't think there is a way to call the plane and then remove the airdrop unless you loop over all the entities and find the airdrop and remove it
Seems like the datastore possibly broken for you, Do you do restarts often? I know the time stamps numbers used todo something weird after the server had been online for more than x amount of days
Failed to invoke method VoiceCom, Probably didn’t patch right? Or a bug. I have no idea.
I don’t think that error is related to destroysystem.
But for /Destroy (DestroySystem?) should be posted to that Plugins discussion thread.
http://fougerite.com/threads/destroysystem.42/
I believe it could...
That line will loop over all the items in the ini file, Might not be the best in performance but you’ll probably never notice it
pl.Inventory.AddItem(x, ini.GetSetting("Items", x))
Whoops, Didnt scroll down far enough in your code. But still applies for both :)
Just replace AND with OR in both if statements:
if World.Time >= self.StartTime and World.Time <= self.EndTime:
to
if World.Time >= self.StartTime or World.Time <= self.EndTime:
Problem is here:
if World.Time >= self.StartTime and World.Time <= self.EndTime:
Say server time is 20,
if World.Time >= 17: True!
and
if World.Time <= 5: False!
Which means this if statement will always return false.
change and to or
if World.Time >= self.StartTime or World.Time <=...
EDIT: https://github.com/jakkee/FougeritePlugins/blob/master/CSharpPlugins/CountryBlackList/CountryBlackList.cs
Look at my PlayerConnected & Threaded_PlayerConnected() function
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.