That's just it - player.equip() doesn't seem to exist Anywhere. It goes "An NPC calls
PHP Code:
temp.pl = findplayerbycommunityname(params[1]);
PlayerSystem.equip(temp.pl, params[2]);
;
playersystem has
PHP Code:
public function equipItem(temp.pl, temp.id) {
if (clientr.equipped_id != NULL) unequipItem(temp.pl);
temp.item = temp.pl.getItem(temp.id);
if (temp.item[3] == "ammo") {
return;
}
temp.pl.equip(temp.id);
temp.pl.triggerclient("gui", this.name, "equip");
}
and all it seems to do is set clientr.equipped_id - but that might be the Custom Inventory doing that, and maybe player.equip() does nothing at all. I'm trying to talk the server in question's owner into ditching the whole half-baked mess in favor of something I understand, but 1) that's how Classic stagnated, 2) he's never frelling ON, and 3) he's apparently still in a swoon over the concept of having Custom Everything.
Me, I just wanna shoot me some zombies.