That, Or you could do this
package Jetz
{
function ServerCmdAdminJets(%client, %victimName)
{
if(!%client.isAdmin && !%client.isSuperAdmin)
{
centerPrint(%client, "You are not an admin.", 3);
return;
}
%victim = findClientByName(%victimName);
if(!%victim || !isObject(%victim.player))
{
centerPrint(%client, "Unable to find player: \c6" @ %victimName @ "\c0.", 3);
return;
}
%victim.player.setDataBlock(PlayerStandardArmor);
%victim.player.CanJet = 0;
messageClient(%client,'',"\c3You now have jets.");
}
};
ActivatePackage(Jetz);