Garry's Mod

Garry's Mod

Background NPCs - Fill the world
Hari 20 Jan, 2021 @ 8:47am
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...
Last edited by Hari; 21 Jan, 2021 @ 8:23am
< >
Showing 1-2 of 2 comments
[FG] Shark_vil  [developer] 22 Jan, 2021 @ 7:09pm 
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:
Last edited by [FG] Shark_vil; 22 Jan, 2021 @ 7:24pm
Hari 23 Jan, 2021 @ 5:41am 
[FG] Shark_vil, короче я сделал недавно поддержку для даркрп, теперь копы не стреляют в полицию игрока (не даются звезды и тд).
< >
Showing 1-2 of 2 comments
Per page: 1530 50