Garry's Mod

Garry's Mod

Background NPCs - Fill the world
Hari 2021 年 1 月 20 日 上午 8:47
Gta V Wanted System (Just edited that addon)
You can see in video gta v wanted system(sorry this is russian version, but if you want i can make english version)

https://youtu.be/5E9XqqVMOLI

Now arrest module work in sandbox, added 5 stars
1, 2 stars - police 60 hp + weapon m9
3 stars - police 100 hp + weapon g18
4 stars - police 125 hp + weapon mp5
5 stars - police 150 hp + weapon acr (maybe in future i add helicopter)

Its maybe buggy but cool thing...
最后由 Hari 编辑于; 2021 年 1 月 21 日 上午 8:23
< >
正在显示第 1 - 2 条,共 2 条留言
[FG] Shark_vil  [开发者] 2021 年 1 月 22 日 下午 7:09 
Cool! I am currently developing a similar system.
https://i.imgur.com/A4aD8Jo.png

I had to change the structure of the code again to make it more modular. If you are interested in the implementation method, you can check out the updates in the development branch.

https://github.com/Shark-vil/background-citizens/tree/dev/lua/bg_citizens_core/modules/states/wanted
https://github.com/Shark-vil/background-citizens/blob/dev/lua/bg_citizens_core/states/sv_calling_police.lua

Arrest change:
https://github.com/Shark-vil/background-citizens/blob/dev/lua/bg_citizens_core/modules/states/sv_arrest.lua
https://github.com/Shark-vil/background-citizens/blob/dev/lua/bg_citizens_core/states/sv_arrest.lua

UPD:
Гы. Забыл что ты русский, написал на английском :blissful_creep:
最后由 [FG] Shark_vil 编辑于; 2021 年 1 月 22 日 下午 7:24
Hari 2021 年 1 月 23 日 上午 5:41 
[FG] Shark_vil, короче я сделал недавно поддержку для даркрп, теперь копы не стреляют в полицию игрока (не даются звезды и тд).
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50