gaga11
Well-Known Member
i was trying to add a message when a player combat logs in the dayz origins kill message style..
so i opened the server_onPlayerDisconnect.sqf and tried to add the message with multiple commands... titletext, rhint but nothing was working :S
here is what i tried:
would be even cooler if it was localized, for example only players within 1k radius around the combat logger get the message
http://community.bistudio.com/wiki/Multiplayer_framework
i found
there and just added it into the if construct but not even that worked
using pwnoz0r files
any help greatly appreciated...
so i opened the server_onPlayerDisconnect.sqf and tried to add the message with multiple commands... titletext, rhint but nothing was working :S
here is what i tried:
Code:
if ((_timeout - time) > 0) then {
diag_log format["COMBAT LOGGED: %1 (%2)", _playerName,_timeout];
_clog = format["Player %1 Combat Logged!",_playerName];
[nil, nil, rspawn, [_object, _clog], { (_this select 0) globalChat (_this select 1) }] call RE;
// also didnt work==> _object setVehicleInit format["titleText [""%1"", ""PLAIN DOWN"", 1];", _clog];
};
would be even cooler if it was localized, for example only players within 1k radius around the combat logger get the message
http://community.bistudio.com/wiki/Multiplayer_framework
i found
Code:
[nil,nil,rHINT,"Enjoy the game."] call RE;
there and just added it into the if construct but not even that worked
using pwnoz0r files
any help greatly appreciated...