- 1,278
- 718
Use getClosestPlayerId() to get closest player id.is there any way to get closest player hp?
After use func getTargetPlayerHealth(playerID)
Example:
AutoHotKey:
health := getTargetPlayerHealth(getClosestPlayerId())
addchatmessage(health)
These are the functions of SAMP UDF for samp 0.3.7-r1