Raised This Month: $ Target: $400
 0% 

[REQ] 'tag-up' with SQL-lite support


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FrostbyteX
Senior Member
Join Date: Dec 2007
Old 03-12-2008 , 12:37   Re: [REQ] 'tag-up' with SQL-lite support
Reply With Quote #1

I wrote a plugin that is similar to what you want ...

Two commands:
sm_addmember <name|#userid>
sm_removemember <name|#userid>

One cvar:
sm_clantag <tag>

The addmember command does the following:
1. Strips the clan tag from the member if they are wearing it and stores their name in a sqlite database.
2. Renames the member with the correct clan tag in their name.

Whenever a player joins the server, the plugin queries the database and changes their name to the stored value. If they try to change their name, it changes it back.

If someone tries to put on the clan tag and they are not stored in the database, it kicks them.

Is this what you want?

Steve
FrostbyteX 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 04:26.


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