I was just giving him an idea. He could probably add that stuff if he wanted to anyways. And I'm not handicapped, I know I didn't check if the player exists.
Anyways, if you really want me to do that:
function serverCmdsetAllLookLimits(%client, %look1, %look2)
{
if(%client.isSuperAdmin)
{
for(%i = 0; %i < ClientGroup.getCount(); %i++)
{
if(isObject(%pl = ClientGroup.getObject(%i).player))
%pl.setLookLimits(%look1, %look2);
}
}
else
messageClient(%client, '', "\c6You must be Super Admin to use this command.");
}
Better?