Now it is syntaxing and it says this is the problem };##
##activatepackage(kill);
Here's the code
package kill
{
function servercmdkill(%client, %user)
{
if(%client.isSuperAdmin == false)
{
messageClient(%client, '', '\c6You must be a super admin to use this command.');
return;
}
if(%user !$= "")
{
%target = findClientByName(%user).player;
%targetC = findClientByName(%user);
if(!isObject(%target.player))
{
%target.kill();
messageAll("",'\c3%1 \c6was force killed by \c3%2', %targetC.name, %client.name);
messageClient(%targetC, '', '\c3%1 \c6has force killed you.', %client.name);
}
else
{
messageClient(%client, '', '\c6That player hasnt spawned yet!', %user);
return;
}
}
};##
##ActivatePackage(kill);