Garry's Mod

Garry's Mod

评价数不足
Simple Auto Model Change
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
文件大小
发表于
更新日期
3.378 KB
2021 年 6 月 11 日 上午 7:28
2021 年 6 月 24 日 上午 1:11
7 项改动说明 ( 查看 )

订阅以下载
Simple Auto Model Change

在 Okabe 的 3 个合集中
Коллекция
78 件物品
Dedicate server
19 件物品
Для horde
17 件物品
描述
With this addon, you will no longer need to constantly go to the models menu, search for the desired model and close the window with models. Now you can just write !changemodel and your model will change immediately! Now Auto Changemodel! If you are too lazy to write !changemodel then don't worry, the script will automatically do it for you!


How does it work?
When you have found a model that you like and installed it, you can write !savemodel to save it. After that, you will be told that the model was saved on the server and that's it! Every time when gamemode tries to change your model, it will change to the model that you saved! Works with any gamemodes (TTT, Trash Compactor, Horde and others), but be careful because some gamemodes needs to change the model for a good game (for example prop hunt). To do this, see the commands (just below) how to disable automatic model change.


Commands:
  • pl_sound 1 - Turns on or off the sound when someone saves the model (0 turns off the sound, 1 turns on)
  • pl_language Eng - Changes the language(By default Eng. pl_language Rus for Russian)
  • pl_auto_model 1 - Automatically changes your model if the gamemode tries to change it (to disable use pl_auto_model 0)
  • pl_timer 1 - Timer for automatic model change(By default 1, maximum 5 seconds)
  • pl_force_model 0 - Forcibly changes the model. The fact is that when you change the model, it may be that the host has disabled your model and this command is used to prevent errors. ATTENTION: If you see that the model is present on the server, but you are still told that the model is not on the server, then ask the administrator to set pl_force_model 1

Sorry if something is wrong with the translation, I do not know English well
热门讨论 查看全部(1)
2
2024 年 2 月 6 日 上午 2:38
置顶: Bug reporting/Сообщить об ошибке
Okabe
6 条留言
Okabe  [作者] 3 月 8 日 下午 11:45 
@sweeteyes7, thanks, I'll try to fix it soon
sweeteyes7 2024 年 8 月 1 日 下午 6:40 
i know im 3 years late but the chat command isn't working for some reason
Okabe  [作者] 2021 年 11 月 13 日 上午 3:28 
И не поспоришь
Melty 2021 年 11 月 10 日 上午 9:37 
а че нет когда да
Okabe  [作者] 2021 年 8 月 1 日 上午 12:15 
Using hook "PlayerSetModel"(for auto model change) and hook "PlayerSay"
https://wiki.facepunch.com/gmod/GM:PlayerSetModel
https://wiki.facepunch.com/gmod/GM:PlayerSay
Rayan605 2021 年 7 月 31 日 上午 9:05 
please explain how did you do this in lua