Ok, so that will show it to all players as you have experienced. Don't send it to "id", you need to loop through all players and send it only to those you want to see it.
The player index is "tempid" and you can show it to who ever you want with an if statement then show_hudmessage(tempid, ...).