Author Topic: Is there a %cl.isPlayer  (Read 1360 times)

Or just if(!%client.isAdmin)
Why complicate it for no reason?
You're right, silly me.

For some reason I thought that super admins didn't have isAdmin set to true.

Why does it have 20 arguments!? Wtf!?!
Who even wrote this
Quote
Title: Admin Controls Manager
Author: Truce
A mod giving control over privileges.

There's 20 because it needs to work for any command.

im looking for %cl.iseverybody or something that says everybody
what the hell

There's 20 because it needs to work for any command.
I don't understand why

I don't understand why
The add-on "Admin Controls Manager" is made to work with any and all commands. There is no way to find out how many args a command has without knowing personally. That's why the add-on immediately assumes 20.

The add-on "Admin Controls Manager" is made to work with any and all commands. There is no way to find out how many args a command has without knowing personally. That's why the add-on immediately assumes 20.
It looks to me like the commands are already defined as dropCameraAtPlayer and dropPlayerAtCamera

I'm missing something here

It looks to me like the commands are already defined as dropCameraAtPlayer and dropPlayerAtCamera

I'm missing something here
The Admin Controls Manager script automatically generates that script.

The Admin Controls Manager script automatically generates that script.
OK, now it makes sense.

I'm no expert, but if you're trying to get it to work for everybody, why don't you just remove the admin checks alltogether?

I'm no expert, but if you're trying to get it to work for everybody, why don't you just remove the admin checks alltogether?
Last time I checked, he doesn't have access to the source code

Last time I checked, he doesn't have access to the source code
Point taken.

isObject(%this); is sort of the equivalent of checking if %this >= 1

If %this is a number that doesn't correspond to an object, isObject returns false and the latter returns true.

If %this is a number that corresponds to an object, both checks return true.
« Last Edit: July 05, 2012, 03:20:08 PM by Axolotl »

isObject(%this); is sort of the equivalent of checking if %this >= 1

this is so wrong I don't even want to think about it

this is so wrong I don't even want to think about it

/sigh

An object is identified by ID. isObject verifies if the ID is real. Oh wait, those checks are completely different.