Als Polizist niederschlagen?
-
TheMonty -
7. Mai 2017 um 04:53 -
Geschlossen -
Erledigt
-
-
-
Zitat
//Knock out - Shift + G
case 34:
{
if(_shift) then {_handled = true;};
if(_shift && playerSide == civilian && !isNull cursorTarget && cursorTarget isKindOf "Man" && isPlayer cursorTarget && alive cursorTarget && cursorTarget distance player < 4 && speed cursorTarget < 1) then
{
if((animationState cursorTarget) != "Incapacitated" && (currentWeapon player == primaryWeapon player OR currentWeapon player == handgunWeapon player) && currentWeapon player != "" && !life_knockout && !(player getVariable["restrained",false]) && !life_istazed) then
{
[cursorTarget] spawn life_fnc_knockoutAction;
};
};
};
Was ist zu tun?
Ich habe schon etwas getüftelt ohne Erfolg.
-
das playerSide civilian entfernen.