01.09.2010, 09:50
Quote:
You got it wrong, this got nothing to do with the SendTeamMessage, it should be there but I want the ProxDetector to work like SendTeamMessage just that it will be shown to other players that are near me, and I should not be able to see it, only the SendTeamMessage, understand me now?
|
I have the code at my computer, but I'm not at home right now.
Do as I said, and replace your Proxdetector code.
* forward ProxDetectorEx (Copy & Paste forward ProxDetector(blahblah); and just rename it to ProxDetectorEx)
* Copy & Paste the whole ProxDetector function, rename the second one to ProxDetectorEx.
* Make a check inside ProxDetectorEx, and If the players around is in the same team It shouldn't send to them.
If you don't understand me I don't know how to explain it.