Guide:
/openflags <your account> (without < >)
type in: clientr.stafftag=<here a stafftag> (e.g: clientr.stafftag=Owner without < >) and apply
/openweapons <your account> (without < >)
type in the weapon name and apply.
then say: /stafftag
PHP Code:
function onActionServerSide(cmd) {
switch (cmd) {
case "tag":
player.guild = clientr.stafftag;
}
}
//#CLIENTSIDE
function onPlayerChats() {
if (player.chat = "/stafftag") {
triggerserver("gui", this.name, "tag");
}
}