Raised This Month: $ Target: $400
 0% 

Block team change


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose       
CAMEL
BANNED
Join Date: Dec 2007
Location: ANEAXSLAND
Old 12-14-2007 , 16:20   Block team change
Reply With Quote #1

Description:

This plugin is the idea finished of the plugin:
http://forums.alliedmods.net/showthr...ighlight=block

Changelog:
v1.0 - Public Release
v1.1 - Quick Changes on plug.
-----------------------------
v1.2 - Fixs:
- Language Changed to default english.
- Added a cvar for enable and disable the plugin
v1.3 - Fix:
- Disabled cstrike and engine, cause they are not necesary.
v1.4 - Fix:
- Added an access level for change the cvar, and by default is disabled.
-----------------------------
v2.0 - Fixs:
- Detects Spects.
- Added module cstrike, needed to work.
- Code cleaned.

Cvar:
amx_blockteams - 1/0 - Enable/Disable Lock teams. ( Requires admin_kick level for change )

Sorry For my Bad English

Bye
Attached Files
File Type: sma Get Plugin or Get Source (amx_blockteam.sma - 2671 views - 1.3 KB)

Last edited by CAMEL; 01-02-2008 at 20:19.
CAMEL is offline
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 12-14-2007 , 20:58   Re: Block team change
Reply With Quote #2

1) Default ENGLISH
2) NO ADVERTISING
3) Terrible code
4) Get a better idea for a plugin
5) READ THE RULES

My suggestion is to look over all of the above before you find this in the unapproved section (or most likely trashed)
__________________

Last edited by M249-M4A1; 12-14-2007 at 21:01.
M249-M4A1 is offline
vvg125
AMX Mod X Beta Tester
Join Date: Dec 2006
Location: Queens (Douglaston), New
Old 12-15-2007 , 02:35   Re: Block team change
Reply With Quote #3

In addition to editing the .sma to English, I would suggest using tabs instead of numerous spaces.

EDIT: Also, since this plugin is so small, you might wanna make the required access level a CVAR.
__________________
vvg125 is offline
Send a message via AIM to vvg125 Send a message via MSN to vvg125 Send a message via Yahoo to vvg125
CAMEL
BANNED
Join Date: Dec 2007
Location: ANEAXSLAND
Old 12-15-2007 , 16:47   Re: Block team change
Reply With Quote #4

Ok, I am doing the changes... I don't put ads =S.. Its my signature man.. ¬¬.. My servers.. In some moments i put the new sma =)... Well some people can request it or need it.. There are a lots of plugins that don't make any sense for me but i am not posting "hi, i don't like your plugin.." 8-\
CAMEL is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 12-15-2007 , 17:04   Re: Block team change
Reply With Quote #5

No, he was talking about the advertising from within the plugin. You should not have the plugin print out your clan name, clan's site, clan's IP, or anything of that sort by default. It should always be a basic thing, such as BTC or something
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
CAMEL
BANNED
Join Date: Dec 2007
Location: ANEAXSLAND
Old 12-15-2007 , 17:29   Re: Block team change
Reply With Quote #6

Ok, sorry :$.. i do it for my server. I add a cvar now.. I correct it =)... Clean it up the code.. =).. I think that for be my first plugin its ok? (A)
CAMEL is offline
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 12-16-2007 , 11:19   Re: Block team change
Reply With Quote #7

Why are engine and cstrike enabled?
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
vvg125
AMX Mod X Beta Tester
Join Date: Dec 2006
Location: Queens (Douglaston), New
Old 12-16-2007 , 11:38   Re: Block team change
Reply With Quote #8

Odd... it wasn't like that when I first looked at the plugin.
__________________
vvg125 is offline
Send a message via AIM to vvg125 Send a message via MSN to vvg125 Send a message via Yahoo to vvg125
CAMEL
BANNED
Join Date: Dec 2007
Location: ANEAXSLAND
Old 12-16-2007 , 15:11   Re: Block team change
Reply With Quote #9

Ok, fixed. My mistake, i don't know why I enabled it in first intance.
CAMEL is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-16-2007 , 20:10   Re: Block team change
Reply With Quote #10

I suggest to make the access level a cvar, as previously suggested, so you can just leave it blank to disable the plugin.
Also, always allow specators and unassigned to pick-up a team could prevent some issues.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 20:36.


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