Results 1 to 4 of 4
  1. #1
    FinnishFX's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Location
    Somewhere
    Posts
    203
    Reputation
    16
    Thanks
    48
    My Mood
    Psychedelic

    asking help, again....

    I'm asking help again, but i need god, visit, and godlands command for my pserver ( im using fabiano's source. )
    I saw god command on Admincommands.cs but it was green, and when i took of // i got some errors.

  2. #2
    Daemonmann's Avatar
    Join Date
    May 2015
    Gender
    male
    Location
    Santo André - SP
    Posts
    236
    Reputation
    10
    Thanks
    14
    My Mood
    Bored
    GodMode Command!

    internal class GodCommand : Command
    {
    public GodCommand()
    : base("god", 1)
    {
    }

    protected override bool Process(Player player, RealmTime time, string[] args)
    {
    if (player.HasConditionEffect(ConditionEffectIndex.In vincible))
    {
    player.ApplyConditionEffect(new ConditionEffect
    {
    Effect = ConditionEffectIndex.Invincible,
    DurationMS = 0
    });
    player.SendInfo("Godmode Off");
    }
    else
    {
    player.ApplyConditionEffect(new ConditionEffect
    {
    Effect = ConditionEffectIndex.Invincible,
    DurationMS = -1
    });
    player.SendInfo("Godmode On");
    }
    return true;
    }
    }

    Star Command

    internal class StarCommand : Command
    {
    public StarCommand()
    : base("star", 1)
    {
    }

    protected override bool Process(Player player, RealmTime time, string[] args)
    {
    try
    {
    if (args.Length == 0)
    {
    player.SendHelp("Use /stars <ammount>");
    }
    else if (args.Length == 1)
    {
    player.Client.Player.Stars = int.Parse(args[0]);
    player.UpdateCount++;
    player.SendInfo("Success!");
    }
    }
    catch
    {
    player.SendError("Error!");
    }
    return true;
    }
    }

  3. #3
    Rariity's Avatar
    Join Date
    Oct 2015
    Gender
    male
    Location
    Bethel, Maine
    Posts
    47
    Reputation
    10
    Thanks
    2
    Hello. I will try to work on a /godlands command for you. I will get right on it and I'll let you know if I can figure it out or not.

  4. #4

Similar Threads

  1. [Help Request] Need help (Again)
    By leondraksterion in forum Vindictus Help
    Replies: 4
    Last Post: 12-21-2012, 05:54 AM
  2. [Help Request] HELP again
    By hmoob87 in forum Alliance of Valiant Arms (AVA) Help
    Replies: 0
    Last Post: 10-04-2012, 10:05 PM
  3. [Help Request] NEED A LITTLE HELP AGAIN ... PLS...
    By wackx26 in forum CrossFire PH Help
    Replies: 5
    Last Post: 06-10-2012, 10:11 AM
  4. [Help Request] lolol help again ><
    By thatasian in forum Vindictus Help
    Replies: 0
    Last Post: 06-18-2011, 05:05 PM
  5. [Help Request] Help =.= again
    By xxxtien14xxx in forum CrossFire Help
    Replies: 9
    Last Post: 05-28-2011, 05:01 AM