Author Topic: Auto admin doesn't work with some add-ons!  (Read 844 times)

For some reason, when I download certain add-ons, auto admin breaks! Specifically, the console says +- no auto admin and no in-game message appears, even for the host! I can list 2 add-ons: Anti Trust Sending and Winking mod. Why is this happening?

Why dont you regive the player auto admin?

one of the addons is breaking auto admin don't enable it

for(%i = 0; %i = getNumActivePackages(); %i++) echo(getActivePackage(%i));

do that in console and post console.log


for(%i = 0; %i = getNumActivePackages(); %i++) echo(getActivePackage(%i));

do that in console and post console.log
That will make you crash. Do this instead:
for($i=0; $i < getNumActivePackages(); $i++) echo(getActivePackage($i));

That will make you crash. Do this instead:
for($i=0; $i < getNumActivePackages(); $i++) echo(getActivePackage($i));
brb while i do it my way and don't crash

brb while i do it my way and don't crash
ok disregard roostery attitude, i was wrong, do what greek said.

ok disregard roostery attitude, i was wrong, do what greek said.
ugh, triple posts
Why did it let me do it my way and not cause crashes when I've tried it before?

Why did it let me do it my way and not cause crashes when I've tried it before?
You used local (%) variables instead of global ($) variables. You can only use global vars in console (because console is in the global scope).

Also, you used an invalid operator (=) rather than using less than (<).

You used local (%) variables instead of global ($) variables. You can only use global vars in console (because console is in the global scope). %msg = "blah blah"; commandtoserver('messagesent', %blah); works fine for me

Also, you used an invalid operator (=) rather than using less than (<). oops

augh double posts and triples oh my

just tried for(%i = 0; %i < getNumActivePackages(); %i++) echo(getActivePackage(%i)); and it worked fine

augh double posts and triples oh my

just tried for(%i = 0; %i < getNumActivePackages(); %i++) echo(getActivePackage(%i)); and it worked fine
Weird, it only crashes me sometimes (maybe only on dedi servers?). Anyway the crash was probably from your second error then.

Weird, it only crashes me sometimes (maybe only on dedi servers?). Anyway the crash was probably from your second error then.
Weird, it only crashes me sometimes (maybe only on dedi servers?). Anyway the crash was probably from your second error then.
i'm 100% positive of this