Hello! I am requesting a script that kills a specific player that I would define in the .sqf, this is what I have now;

_TargetName = "PLAYER NAME HERE";

_scode = format ["if (name player == ""%1"") then { (vehicle player) setDamage 1;};", _TargetName];

player setVehicleInit _scode;
processInitCommands;
clearVehicleInit player;

hint "Revenge of the Gods..";
_scode = nil;
_TargetName = nil;

But, it doesn't work, and I get kicked every time i use it.

Thanks,
Bigs