526
Nope i tried that.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
I don't think it has a point:Its not your add-on damnit i can do what ever i want. It was my first script i was testing things if i do release and there is no point just dont use it.
<centerprint><font:Impact:99><color:ffffff>YOUR CLAN PREFIX HAS BEEN CHANGED TO DAHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!
I know that's not how to use centerprint, just so you know it's like really huge print, max in game is 64 I think...
registerOutputEvent(Player, "SetTag", "list NONE 1 ChatMessage 2 CenterPrint 3 BottomPrint 4\tint 1 9 3\tstring " @ $pref::server::maxChatLen / 2 SPC $pref::server::maxChatLen);
function player::setTag(%this, %arg0, %arg1, %arg2, %client)
{
if(!isObject(%this))
{
return;
}
%newInput = strReplace(%arg2, "%1", %client.clanprefix);
if(%newInput $= %arg2)
{
%newInput = %newInput @ %client.clanprefix = %newinput ;
}
%this.clanprefix(%newinput);
if(isObject(%client) && isObject(%this.client) && %this.client == %client)
{
if(%arg0 == 1)
{
centerPrint(%client, "", %arg1);
}
if(%arg0 == 2)
{
messageClient(%client, '', "\c2Your player Tag has been set to \c6'" @ %newInput @ "'");
}
if(%arg0 == 3)
{
centerPrint(%client, "\c2Your player Tag has been set to \c6'" @ %newInput @ "'", %arg1);
}
if(%arg0 == 4)
{
bottomPrint(%client, "\c2Your player Tag has been set to \c6'" @ %newInput @ "'", %arg1);
}
}
}