Raised This Month: $ Target: $400
 0% 

This would be the greatest plugin ever..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Checkmarks
BANNED
Join Date: Sep 2007
Location: kentucky
Old 03-17-2008 , 16:33   This would be the greatest plugin ever..
Reply With Quote #1

Well, I'm planning on starting up a CS1.6 community with some people, and we need some cool plugins for our server/s that will soon be up.

So my idea is this:
----------------------------------------------------------------

I want to be able to type amx_recruit_<user>, and the <user> whose name I type there will have an [R] before their name, meaning they're a recruit.
It should automatically give it to them when I type the command in my console.
I also want to be able to type amx_member_<user>, and the same happens except instead of the [R], it gives a clan tag. You can make it just say "TAGHERE:" or something behind their name for now, and I'll change the code to what tag I want - when we agree on one for our clan

Thanks - this plugin would rock.
Checkmarks is offline
chris
Senior Member
Join Date: Mar 2007
Location: America
Old 03-17-2008 , 17:05   Re: This would be the greatest plugin ever..
Reply With Quote #2

Already made, you can use a tryout system plugin and clan tag plugin.
__________________
chris is offline
Send a message via AIM to chris
dekken
Veteran Member
Join Date: Jul 2007
Old 03-17-2008 , 17:42   Re: This would be the greatest plugin ever..
Reply With Quote #3

i might give this a try if none will do this b4 me...ill edit soon >_<
dont rely on me :X
__________________
Signature Goes Here
dekken is offline
Checkmarks
BANNED
Join Date: Sep 2007
Location: kentucky
Old 03-17-2008 , 19:59   Re: This would be the greatest plugin ever..
Reply With Quote #4

ty dekken
and chris - ill search that and hopefully its close to what i want
ty
Checkmarks is offline
dekken
Veteran Member
Join Date: Jul 2007
Old 03-17-2008 , 21:30   Re: This would be the greatest plugin ever..
Reply With Quote #5

kk ive done it...
after 30Minutes Hustling the forum search and hustling my self -_-
i made it...


2Cvars...
Code:
 "Recruit_Tag" "[R]"
"Member_Tag" "[MyClanTAG]"
Change them as you wish.


PHP Code:
#include <amxmodx>
#include <amxmisc>


new name2[32], tag[32], tag2[32], target[32], player
new TagRecruit
new TagMember

public plugin_init()
{
    
register_plugin("Just Tag IT""0.1""Dekken")
    
    
TagRecruit register_cvar("Recruit_Tag""[R]")
    
TagMember register_cvar("Member_Tag""[MyClanTAG]")
    
    
register_concmd("amx_recruit""Recruit_TRUE"ADMIN_KICK"<target>")
    
register_concmd("amx_member""Member_TRUE"ADMIN_KICK"<target>")
}

public 
Recruit_TRUE(idlevelcid)
{
    
read_argv(1target31)
    
player cmd_target(idtarget10)
    
    
get_user_name(playername231)
    
get_pcvar_string(TagRecruittag31)
    
    if (
player == 0)
    { 
        return 
PLUGIN_HANDLED
    
}
    
    else
    {
        
client_cmd(player"name ^"%s%s^""tagname2)
        return 
PLUGIN_HANDLED
    
}
    return 
PLUGIN_HANDLED
}



public 
Member_TRUE(idlevelcid)
{
    
read_argv(1target31)
    
player cmd_target(idtarget10)
    
    
get_user_name(playername231)
    
get_pcvar_string(TagMembertag231)
    
    if (
player == 0)
    { 
        return 
PLUGIN_HANDLED
    
}
    
    else
    {
        
client_cmd(player"name ^"%s%s^""tag2name2)
        return 
PLUGIN_HANDLED
    
}
    return 
PLUGIN_HANDLED

Leave any comments or bugs you find, and ill try to fix them as much as i can.
well, that was fun

and if you Wish to make the Tags behind the name, or before..
Change this:
PHP Code:
//Recruit Tag
client_cmd(player"name ^"%s%s^""tag2name2)
//Member Tag
client_cmd(player"name ^"%s%s^""tagname2
To This:
PHP Code:
//Recruit Tag
client_cmd(player"name ^"%s%s^"",  name2tag2)
//Member Tag
client_cmd(player"name ^"%s%s^""name2tag
__________________
Signature Goes Here

Last edited by dekken; 03-17-2008 at 21:50. Reason: Fixed the code a lil bit..Removed shit O_o
dekken is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-18-2008 , 00:37   Re: This would be the greatest plugin ever..
Reply With Quote #6

and what if the player just changes his name to not include the tag, or what about then the player comes back later in the day and he doesnt have it, or what about if someone acts like u chose them by wearing the tag?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
dekken
Veteran Member
Join Date: Jul 2007
Old 03-18-2008 , 01:45   Re: This would be the greatest plugin ever..
Reply With Quote #7

well i did exactly what he asked -_-
__________________
Signature Goes Here
dekken is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-18-2008 , 01:48   Re: This would be the greatest plugin ever..
Reply With Quote #8

__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
dekken
Veteran Member
Join Date: Jul 2007
Old 03-18-2008 , 02:19   Re: This would be the greatest plugin ever..
Reply With Quote #9

Quote:
Originally Posted by X-olent View Post
and what if the player just changes his name to not include the tag
why would someone do this?
if he would do this, then he probably doesnt wanna be Recruited...


Quote:
Originally Posted by X-olent View Post
or what about then the player comes back later in the day and he doesnt have it
why would it save his tag For Days?
every time his coming he will put it on his own??


Quote:
Originally Posted by X-olent View Post
or what about if someone acts like u chose them by wearing the tag?
Ban Him?
i dont know how to do this

Maybe set Bool=True on the Player with the Tag...
and then Loop thru all Players and check if any of them Have The Tag, if anyone have and Bool is not True....
Rename theyre name back to what it was?
IONO
__________________
Signature Goes Here
dekken is offline
Checkmarks
BANNED
Join Date: Sep 2007
Location: kentucky
Old 03-18-2008 , 15:35   Re: This would be the greatest plugin ever..
Reply With Quote #10

well that clan "Ownage |" has a mod where every time somebody joins their server their name is changed to have their clan tag, even when they join a different server. I pretty much want this but only to people that I give it to, not whoever joins the server
Checkmarks 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 18:26.


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