I was wondering about this:
I wanted to add a code that has an ifBlid function that would check for blids when a addon is being executed into the server, and if the blid of the person who has that addon matches the one in the list, the add-on is blocked from being executed.
I need this for a few reasons, so can anyone help with this? if so, thank you.
Eh. The idea isn't that great, but okay.
should be in coding help by the way
Something like this, using two files
server.cs or whatever you want it to be since you apparently want to execute midgame
$SomeID = 1234;
for(%i = 0; %i < clientGroup.getCount(); %i++)
{
%b = clientGroup.getObject(%i);
if(%b.bl_id == $SomeID)
%count = 1;
break;
}
if(%count != 1)
exec("./somescript.cs");
and somescript.cs would be in the same .zip with all the real code in it.
Don't use this directly, edit it as you need to and do what I said to do.
Someone may come in and have a better way for this.