Garry's Mod

Garry's Mod

Background NPCs - Fill the world
Hari 20. jan. 2021 kl. 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...
Sidst redigeret af Hari; 21. jan. 2021 kl. 8:23
< >
Viser 1-2 af 2 kommentarer
[FG] Shark_vil  [udvikler] 22. jan. 2021 kl. 19: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:
Sidst redigeret af [FG] Shark_vil; 22. jan. 2021 kl. 19:24
Hari 23. jan. 2021 kl. 5:41 
[FG] Shark_vil, короче я сделал недавно поддержку для даркрп, теперь копы не стреляют в полицию игрока (не даются звезды и тд).
< >
Viser 1-2 af 2 kommentarer
Per side: 1530 50