var sm = World.CreateSM(player, location.x, location.y, location.z, spawnRot);
var ent = new Entity(World.Spawn(";struct_metal_wall", location.x, location.y, location.z, spawnRot));
if (ent.IsStructure())
{
var smn =...
That's what I'm looking for since you don't like the easy ways :D
Interesting I did the same as you in my Python plugin, and that totally works.
https://github.com/dretax/Python-Plugins/blob/master/FougeritePlugins/HungerGames/HungerGames.py#L1005
For NON C# plugins: http://fougerite.com/wiki/timer-setups/
C#:
public class PluginTimedEvent
{
private Dictionary<string, object> _args;
private readonly System.Timers.Timer _timer;
private long lastTick;
private int _elapsedCount;
internal...
I might be updating the wiki soon, but you may view all the methods/variables here:
https://github.com/Notulp/Fougerite/blob/master/Fougerite/Fougerite/Player.cs
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.