Skip to content

Version 0.14

Latest

Choose a tag to compare

@Elektryk-Andrzej Elektryk-Andrzej released this 19 Feb 18:02
· 1 commit to main since this release

UCR and Voting via plugin integrations

These are methods that are loaded when other plugins are detected, adding more features!

Callvote plugin methods

  • StartVote
  • StartVoteAndWait
  • VoteOption

Uncomplicated Custom Roles plugin methods

  • GetUCRRole
  • SetUCRRole
  • UCRRoleInfo
  • GetPlayersWithUCRRole

Admin Toy methods

Used for handling admin toys, like spawning, modifying, teleporting etc.

Better global variables

  • Added verifications for name collisions with other variables.
  • Replaced GlobalVariable method with global keyword. (@Tosoks67)
# This will create a global variable
global $myGlobalVar = "hello!"

foreach -> over keyword change

Changed the name of the foreach loop to over loop for better readability.
No functionality was changed.

# This is how it looks
over @all
    Print "found player!"
end

over @all
    with @plr

    Print "found player {@plr name}!"
end

Stricter checks for running scripts

When a script uses !-- OnEvent or !-- CustomCommand, running it by any other mean will not be possible.

Other additions:

  • more example scripts
  • ToFlags method
  • IsLiteral method
  • SetAppearance method (EXILED must be installed)
  • PlayWaveEffect method
  • GetVariableByName method
  • fixed minor bugs

New contributor: @Unbistrackted

Fixed plugin bridge error.