[Release] Gimme slot controller

InfinityScript plugins for dedicated servers.
User avatar
S3VDIT0
TeknoCow
TeknoCow
Posts: 68
Joined: Tue Jun 16, 2015 7:50 am
Location: Russian Federation
Contact:

[Release] Gimme slot controller

Postby S3VDIT0 » Sat Mar 07, 2020 7:32 pm

When I maintained my server (2 years ago [MORDEKAI74RUS]), I ran into a problem, players did not comply with the rule: USE MOAB CHANGE SPOT. Of course, you can use the check for the number of killings, but this is not true, since MOAB may appear due to a number of reasons for a 50 kill or a 20 kill.

Without hesitation, I realized that I need to revert the gimme slot for the necessary rewards.

SCRIPT:
http://www.mediafire.com/file/kd2vgruobamcfmj/GIMME_CONTROLLER.dll/file

SOURCE:
https://github.com/S3VDITO/GIMME_CONTROLLER

EXAMPLE:

Code: Select all

player.OnInterval(500, () =>
{
   if(player.GetField<string>("GIMME_SLOT_STRING") == "nuke" &&
      player.GetField<bool>("GIMME_SLOT_IS_ACTIVE"))
   {
        //MAGIC(Ex: enable anticamp for player)
        return false;
   }
   return player.IsPlayer;
});

Return to “InfinityScript”

Who is online

Users browsing this forum: No registered users and 4 guests