| Blockland Forums > Help |
| Auto admin doesn't work with some add-ons! |
| << < (3/3) |
| Lugnut:
--- Quote from: Greek2me on March 15, 2012, 12:08:16 AM ---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 --- End quote --- |
| Lugnut:
augh double posts and triples oh my just tried for(%i = 0; %i < getNumActivePackages(); %i++) echo(getActivePackage(%i)); and it worked fine |
| Greek2me:
--- Quote from: Lugnut1206 on March 15, 2012, 12:27:03 AM ---augh double posts and triples oh my just tried for(%i = 0; %i < getNumActivePackages(); %i++) echo(getActivePackage(%i)); and it worked fine --- End quote --- Weird, it only crashes me sometimes (maybe only on dedi servers?). Anyway the crash was probably from your second error then. |
| Lugnut:
--- Quote from: Greek2me on March 15, 2012, 12:53:14 AM ---Weird, it only crashes me sometimes (maybe only on dedi servers?). Anyway the crash was probably from your second error then. --- End quote --- --- Quote from: Greek2me on March 15, 2012, 12:53:14 AM ---Weird, it only crashes me sometimes (maybe only on dedi servers?). Anyway the crash was probably from your second error then. --- End quote --- i'm 100% positive of this |
| Navigation |
| Message Index |
| Previous page |