Garry's Mod

Garry's Mod

評價次數不足
Simple Magic System
   
獎勵
加入最愛
已加入最愛
移除最愛
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Roleplay, Realism
檔案大小
發佈於
更新時間
20.159 KB
2021 年 2 月 23 日 上午 3:32
2021 年 4 月 3 日 上午 7:17
10 項更新註記 (檢視)

訂閱以下載
Simple Magic System

描述
When you try to use addons, if he doesn't work check if the name of files and folders in your ftp isn't in uppercase !

This adons is a script to add a magic system to your server. It will allow you to do many chooses.
The addons has been created to be easy to use.

Warning: To configure the addons you will need the config file available on my github !
Link: https://github.com/RazerGaming/Simple-Magic-System-Config/releases/tag/1.0.1

Installation:

➽ Add the addons to your steam collection.
➽ Download the rar archive containing the config folder on my GitHub.
➽ Extract the archive in the addons folder on your server.

Features :

➽ Mana system that increases over time.
➽ Reroll system to change your magic if you don't like it.
➽ Simple configuration system

Commands:

If you have not enabled ulx in the config in the Developer Console:

➽ SMS_AddMana (Player) (Number) - Add mana to a player (superadmin)
➽ SMS_SetMana (Player) (Number) - Setting a player's man to a given value (superadmin)
➽ SMS_AddReroll (Player) (Number) - add reroll to a player (superadmin)

If you use ulx ( recommended ) in the chat:

➽ !addmana "Player" "Number" - Add mana to a player
➽ !setmana "Player" "Number" - Set a player's man to a given value (superadmin)
➽ !addreroll "Player" "Number" - Add reroll to a player (superadmin)
➽ !playerinfo "Player" - Get player informations (admin)

Other chat command:

!chara - get your player informations
!reroll - Change your power

For developers:

if you want to use mana usage more efficiently you can directly set mana usage to 0 and use the following function:

➽ SMS_Main.Energyuse(player, unit)

example in a swep I can put in the primaryattack:

➽ SMS_Main.Energyuse(self.Owner, 10)

Warning, the function is used on the server side only!


DO NOT EDIT, OR REUPLOAD. If you want something changed or added for your version, add me on steam.
8 則留言
FDR | Sato 2024 年 2 月 8 日 上午 11:19 
Hey, c'est possible de désactiver le fait que les joueur meurt quand il tombent a 0 de mana ?
cestmoigappy 2023 年 1 月 25 日 下午 12:12 
Est-ce possible de rajouter des rerolls via la console du serveur ? Depuis une boutique par exemple
✞Yeshua✞ 2023 年 1 月 24 日 上午 6:49 
ceci ne marche pas depuis la console en disant que je suis pas superadmin
SilverHawks  [作者] 2023 年 1 月 24 日 上午 5:55 
Tu peut désactivé Ulx et utilisé les concommands, je ferais surement une maj pour le lié à SAM
✞Yeshua✞ 2023 年 1 月 21 日 上午 6:17 
comment on fait si on a SAM ?
craftheo 2021 年 12 月 20 日 上午 6:33 
i don't understand how it's work can i have help pls it's just for server ?
SilverHawks  [作者] 2021 年 11 月 10 日 下午 1:36 
Si tu mets les crédit oui tu peut
[ATS] Saki 2021 年 11 月 10 日 上午 3:51 
Hello, for my server, I ask for your permission to re-upload and modify your
addon pls .