Some things though:
All the lines aren't aligned the same, example:
PHP Code:
if (temp.Online2 != true) {
for (pl: serverr.CrowRC) {
pl = findPlayer(pl);
pl.triggerClient("weapon", this.name, "errormsg", params[1], player.account);
}
}
And instead of
if (temp.Online2 != true) you should probably use
if (!temp.Online2) 