silentHint to nearby players?

Vampire

OpenDayZ Rockstar!
I'm trying to use a code like this below to send a hint to all players within 30m as a test (from the person who is doing the selfAction.

Has anyone done something like this successfully before?

Code:
nearPlayers = (getPosATL player) nearObjects ["Man", 30];
{ _x hintSilent "This is a test!"; } forEach nearPlayers;
 
selfless bump.

If someone can help me figure out why this isn't working, I should be able to release a russian roulette script.
The script works fine at the moment but I need to tell nearby players that the russian roullette player didn't die.
If not, the said player could fake his turn.
 
either you need to do it server side or i dont belive it will work trying to send a hint like that ... you can broadcast it to all players with
PHP:
[nil, nil, rHINT, _message] call RE;

but wouldnt it be better way if just add a fired event handler?
 
Well it's a modded form of the Headshot Suicide, so the person does actually fall over dead (with a different animation) if they "lose" the game (1/6th chance of course)

The problem is that if they win an animation doesn't make sense, but nearby players need to know they didn't lose, but also didn't just claim that they didn't lose.

I was thinking of maybe adding a playsound of the gun clicking. (like when it's empty)

Have to mess with it some more.
 
Back
Top