Raised This Month: $51 Target: $400
 12% 

Howl's Crank Admin Tags


Post New Thread Reply   
 
Thread Tools Display Modes
Author
HowlingWolf
Junior Member
Join Date: Nov 2016
Plugin ID:
5416
Plugin Version:
1.2
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A simple Custom Chat Tag Addon thats so easy to use and install youll breathe before its done!
    Unapprover:
    Reason for Unapproving:
    plagiarized, no source, no credits given
    Old 11-16-2016 , 22:17   Howl's Crank Admin Tags
    Reply With Quote #1

    This is just a Nice and simple staff rank tags. All it does is add 5 new ranks to your server. Lets say someone is a coowner but you dont have this addon. It would say they are owner. With my addon, just simply drag and drop it into the plugins folder. Then whenever someone has this for example. "STEAMID_0:0:9123415" has these flags, "40:abcdefghr" They would have a tag set as Co Owner. But originally it would be set to owner or admin without this plugin.
    HTML Code:
    https://forums.alliedmods.net/showthread.php?t=211992
    ^
    |
    | that plugin is required for this addon to work. Simply download the .smx file on the link above this box and download

    PHP Code:
    #include <sourcemod>
    #include <cstrike>

    public Plugin:myinfo =
    {
    name = "Howls CrankTags",
    description = "Private plugin",
    author = "HowlingWolf",
    version = "1.2.1",
    url = ""
    };


    public OnPluginStart()
    {
    HookEvent("player_team", Event1, EventHookMode:1);
    HookEvent("player_spawn", Event1, EventHookMode:1);
    }

    public OnClientPutInServer(client)
    {
    HandleTag(client);
    }

    public Action:Event1(Handle:event, String:name[], bool:dontBroadcast)
    {
    new client = GetClientOfUserId(GetEventInt(event, "userid"));
    if (0 < client)
    {
    HandleTag(client);
    }
    return Plugin_Continue;
    }

    HandleTag(client)

    {
    if (GetUserFlagBits(client) & ADMFLAG_ROOT)
    {
    CS_SetClientClanTag(client, "[Owner]");
    }
    else
    if (GetUserFlagBits(client) & ADMFLAG_CUSTOM1)
    {
    CS_SetClientClanTag(client, "[HeadAdmin]");
    }
    else
    if (GetUserFlagBits(client) & ADMFLAG_GENERIC)
    {
    CS_SetClientClanTag(client, "[Admin]");
    }
    else
    if (GetUserFlagBits(client) & ADMFLAG_RESERVATION)
    {
    CS_SetClientClanTag(client, "[Donator]");
    }
    else
    if (GetUserFlagBits(client) & ADMFLAG_CUSTOM2)
    {
    "[SuperAdmin]";
    }
    else
    if (GetUserFlagBits(client) & ADMFLAG_CUSTOM3)
    {
    "[Co Owner]";
    }
    }
    Blocked Attachments
    File Type: smx cranktagsv1.2.smx

    Last edited by HowlingWolf; 11-17-2016 at 14:53. Reason: Added source code
    HowlingWolf is offline
    sneaK
    SourceMod Moderator
    Join Date: Feb 2015
    Location: USA
    Old 11-17-2016 , 00:27   Re: Howl's Crank Admin Tags
    Reply With Quote #2

    You need to post the source code.
    __________________
    sneaK is offline
    HowlingWolf
    Junior Member
    Join Date: Nov 2016
    Old 11-17-2016 , 14:54   Re: Howl's Crank Admin Tags
    Reply With Quote #3

    Added source code
    HowlingWolf is offline
    sneaK
    SourceMod Moderator
    Join Date: Feb 2015
    Location: USA
    Old 11-17-2016 , 14:57   Re: Howl's Crank Admin Tags
    Reply With Quote #4

    Quote:
    Originally Posted by HowlingWolf View Post
    Added source code
    Sorry, probably should've been more clear, attach the entire .sp instead of the .smx.

    Thanks!
    __________________
    sneaK is offline
    HowlingWolf
    Junior Member
    Join Date: Nov 2016
    Old 11-17-2016 , 15:34   Re: Howl's Crank Admin Tags
    Reply With Quote #5

    Quote:
    Originally Posted by blackhawk74 View Post
    Sorry, probably should've been more clear, attach the entire .sp instead of the .smx.

    Thanks!
    How do I make it a .sp file?
    HowlingWolf is offline
    j0aX
    Junior Member
    Join Date: Apr 2016
    Location: Germany
    Old 11-17-2016 , 15:44   Re: Howl's Crank Admin Tags
    Reply With Quote #6

    Are you sure you created that plugin? You dont even know what .sp file is
    j0aX is offline
    HowlingWolf
    Junior Member
    Join Date: Nov 2016
    Old 11-17-2016 , 15:46   Re: Howl's Crank Admin Tags
    Reply With Quote #7

    Quote:
    Originally Posted by j0aX View Post
    Are you sure you created that plugin? You dont even know what .sp file is
    If you read the description I said that It is basiaclly a modified version of that link I just dont know how to make it a .sp file. I know how to compile. But not make it into a .sp
    HowlingWolf is offline
    Maxximou5
    AlliedModders Donor
    Join Date: Feb 2013
    Old 11-17-2016 , 15:54   Re: Howl's Crank Admin Tags
    Reply With Quote #8

    It's a copy of this plugin: https://forums.alliedmods.net/showthread.php?t=211992
    A supported and modified version of this plugin can be found a few pages later: https://forums.alliedmods.net/showth...=211992&page=7

    Last edited by Maxximou5; 11-17-2016 at 15:55.
    Maxximou5 is offline
    HowlingWolf
    Junior Member
    Join Date: Nov 2016
    Old 11-17-2016 , 15:55   Re: Howl's Crank Admin Tags
    Reply With Quote #9

    Yes. All my credit goes to him. I just modified it for those who dont want to modify it manually.
    HowlingWolf is offline
    sneaK
    SourceMod Moderator
    Join Date: Feb 2015
    Location: USA
    Old 11-17-2016 , 15:58   Re: Howl's Crank Admin Tags
    Reply With Quote #10

    Quote:
    Originally Posted by HowlingWolf View Post
    Yes. All my credit goes to him. I just modified it for those who dont want to modify it manually.
    So you copied a plugin, modified it with a few different tags, changed all of the author information to yourself, gave no credit, and uploaded it as a separate release?

    Absolutely not ok.

    If you wish to provide a modified version of someone else's plugin, do so in that plugin's thread, or if you are creating a total conversion with little to no original code, you can create a new release, but with proper crediting.
    __________________

    Last edited by sneaK; 11-17-2016 at 16:00.
    sneaK is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 12:40.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode