Се вчитува...

NoGoArea4Police 1.1

222

With this mod player can define an police-free area.
Simply press F6, type in name, then begin marking points(requires at least 4 points) with F7.

This will create a polygon.
With polygon-point intersection-algorithm( https://stackoverflow.com/a/2922778/7839113)
the script tests whether player is in this specific area.

If true, wanted level will disappear immadiatly.
Perfect to "unlock" restricted areas !

If someone is suspicous or curious about the code, simply use a decompiler to see what happens!

Requirements:
-latest ScriptHookVDotNet (ScriptHookVDotNet2.dll)
-latest ScriptHookV
-at least .NET Framework 4.5.2

Keys:
- F6 : Begin marking points to define polygon
- F7: Add points( at least 4)( saves to gta5 root folder)
- F8: Define circles by radius( saving not supported yet)
- F9 - De -and activate the mod

Changelog:
- Bug fixes
- Toggle-Option
- New save-folder
- now able to define circles
- loads polygon file properly.

Next update_ :
- Blimp for polygons!
Algorithm can be found here: https://pastebin.com/6aWqcNZK
Show Full Description

Првпат Додадено: Октомври 1, 2017
Последно Ажурирање: Октомври 6, 2017
Последно Симнување: пред 13 саати

All Versions

 1.1 (current)

183 симнато , 4 KB
Октомври 6, 2017

 1.0

39 симнато , 4 KB
Октомври 1, 2017

34 Коментари