EHDSeven

DayZ Anti Side chat

Jul 15th, 2013
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. private["_display","_channelDisplay","_text","_channel"];
  2.     disableSerialization;
  3.     _channelDisplay = findDisplay 63;
  4.     if( !isNull _channelDisplay) then {
  5.         _text = _channelDisplay displayCtrl 101;
  6.         _channel = ctrlText _text;
  7.         if( _channel == localize "STR_SIDE_CHANNEL" ) then {
  8.             player setDamage 1;
  9.         };
  10.     };
Advertisement
Add Comment
Please, Sign In to add comment