Author Topic: Need help with a server command  (Read 1981 times)

try this

   function servercmdsecret(%client, %user)
{
   if(%client.isSuperAdmin || %client.isAdmin)
   {
   //stuff
   }else{
   messageClient(%client, '', "\c6You must be admin to use this command.');
   
   return;
   }

When you use the if statement you dont need the == false. just put the stuff first and use else to show if you arnt admin,it does something

This ended like three weeks ago... Should've locked it