Garry's Mod

Garry's Mod

Grand Theft Auto IV Nametag [Reworked!]
正在显示第 1 - 5 项,共 5 项条目
更新于:9 月 16 日 下午 3:49
作者:MightyX3N ✝

NPC UPDATE
PLAYER MODEL SELECTOR PLAYER COLOR SUPPORT

更新于:9 月 9 日 下午 5:10
作者:MightyX3N ✝

HOTFIX:
Fixed commands
Fixed vehicle nametag now reflect how it was in gta4mp

更新于:9 月 8 日 上午 2:04
作者:MightyX3N ✝

Old Script (Original)
Client-only; no server communication
Dot drawn with draw.RoundedBox (black outline + colored square/circle)
Dot size scaled with distance (bigger when further away, smaller when closer)
On-foot: dot drawn left of name sometimes, sometimes top, inconsistent
In vehicle: dot above name
DarkRP color support hardcoded
No modular hooks for other gamemodes
Console commands:
dot_identifyme (toggle seeing own dot)
dot_maxdistance (anyone could use)
Settings saved in data/gta4_settings.txt
HUD not properly centered
Dot and name sometimes separated
No unique color system — random colors could repeat

----------------------------------------------

New Modular Addon
General Improvements
Server + client separation:
Server manages positions, distances, colors
Client draws 3D2D HUD
HUD fixed size (doesn’t scale with distance)
Dot font-based (●) instead of draw.RoundedBox
Dot + name layout:
Vehicles: dot above name
On foot: dot left of name
Both always properly aligned
Unique colors per player — no duplicates, cleaned up on disconnect
Modular hook: GTA4Dots_GetPlayerColor to allow gamemode overrides
Admin-only dot_maxdistance command
Settings saved in data/dottags/ folder
IdentifyMe toggle still supported (dot_identifyme)
Timer updates every 0.25s (less network strain)
Fully modular for gamemode expansions (DarkRP, TTT, custom)
DarkRP Integration
Separate server-side file dottags_darkrp.lua
Admin can enable/disable DarkRP color override
Setting saved in data/dottags/darkrp.txt
Uses hook to override dot color for DarkRP jobs only

REQUEST ADDON SUPPOTY OR ADD YOUR OWN USING THE HOOK

更新于:1 月 1 日 上午 6:36
作者:MightyX3N ✝

new icon to match new style of icons!

更新于:2024 年 12 月 30 日 下午 2:40
作者:MightyX3N ✝