ziggi / FCNPC

FCNPC - Fully Controllable NPC
Apache License 2.0
131 stars 30 forks source link

Add ability to show/hide NPCs nameplates #119

Closed ziggi closed 6 years ago

ziggi commented 6 years ago

Visible NPC HP Bar: http://forum.sa-mp.com/showthread.php?t=632664 Code: https://raw.githubusercontent.com/AbyssMorgan/SA-MP/master/include/SAM/vnpc.inc Related functions: https://github.com/kurta999/YSF/blob/b27a575300f101cdacb9326582348c90d92eb0ef/src/natives/players.cpp#L696-L740

karimcambridge commented 6 years ago

Pls don't let this go down the path of CNPC.

Find out if this won't cause any drama first.

ziggi commented 6 years ago

This is not like CNPC. This solution affects only for specific players, not on server players list. Also the thread from AbyssMorgan with the include isn't deleted, so, this should be allowed.

NegativeIQ commented 6 years ago

These is interesting...i dont like memory hacking but then again raknet structure on server side didnt change for a long time and memory address is exported in a variable...

Anyway these would require us to hook onto raknet and in perspective it could mean per player NPC's streaming...