function servercmdGiveItems(%client,%item,%slot)
{
if(%client.isSuperAdmin)
{
for(%i=0;%i<ClientGroup.getCount();%i++){
%cl = ClientGroup.getObject(%i);
%cl.player.tool[%slot] = nametoID(%item);
messageClient(%cl, 'MsgItemPickup', '', %slot, nametoID(%item));
}
}
%item - hammerItem, wandItem, rocketLauncherItem, etc
%slot - 0 to 4.
The code will loop through all clients and give them item %item in slot %slot if the person who activated it is a Super Admin:
/giveitems gunItem 0 will replace everyone's first slot with a gun.