Raised This Month: $95 Target: $400
 23% 

Commchair Cloaker (v0.7)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Natural Selection        Category:   Gameplay        Approver:   v3x (159)
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 03-26-2006 , 17:37   Commchair Cloaker (v0.7)
Reply With Quote #1

Code:
/*
* This plugin will make all built command chairs to close once a commander is inside.
* So players will not see which command chair they have to attack to eject the commander directly.
*
* Author:
*	-> White Panther
*
* v0.4:
*	- initial release
*
* v0.5:
*	- fixed:
*		- commchairs could be closed even if no commander was available
*		- command chair used by commander can be found again (when using offsets: 1 = commander / 2 = dummy in use)
*		- removed unneeded defines
*		- possible bug where new players could be seen as commanders
*	- changed:
*		- code improvements
*
* v0.6:
*	- fixed:
*		- Commander was unable to sell CCs
*		- when a dummy CC was destroyed commander was ejected
*	- changed:
*		- method of setting CC is in use
*		- engine module not needed anymore
*
* v0.7:
*	- fixed:
*		- linux support
*		- runtime error
*		- plugin not running on combat maps anymore
*/

#include <amxmodx>
#include <engine>
#include <fakemeta>
#include <ns>
Commchair Cloaker (download here or below)
Attached Files
File Type: sma Get Plugin or Get Source (commchair_cloaker.sma - 1305 views - 2.8 KB)
__________________
alias White Panther
karlos is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 03-26-2006 , 18:53  
Reply With Quote #2

Post the SMA.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 03-26-2006 , 19:02  
Reply With Quote #3

it is linked to ModNS, like all my other NS plugs
__________________
alias White Panther
karlos is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 03-26-2006 , 20:31  
Reply With Quote #4

Well then the plugin team has a lot of unapproving/trashing to do.

http://forums.alliedmods.net/showthread.php?t=21956

Quote:
Add SMA and ZIP (if applicable) files for people to download.
Note: The only time you should not attach the SMA is if your plugin uses custom include files.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 03-27-2006 , 08:24  
Reply With Quote #5

ok, done
__________________
alias White Panther
karlos is offline
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 03-27-2006 , 09:08  
Reply With Quote #6

Update v0.5:

fixed:
- commchairs could be closed even if no commander was available
- command chair used by commander can be found again (when using offsets: 1 = commander / 2 = dummy in use)
- removed unneeded defines
- possible bug where new players could be seen as commanders

changed:
- code improvements
__________________
alias White Panther
karlos is offline
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 03-27-2006 , 10:41  
Reply With Quote #7

Update v0.6:

fixed:
- Commander was unable to sell CCs
- when a dummy CC was destroyed commander was ejected

changed:
- method of setting CC is in use
- engine module not needed anymore


v0.7:

fixed:
- linux support
- runtime error
- plugin not running on combat maps anymore


sry for 3rd post, but plug had major bugs
__________________
alias White Panther
karlos is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 03-27-2006 , 15:24  
Reply With Quote #8

Quote:
Originally Posted by karlos
ok, done
Thanks. Approved.

You should also do that for all of your other plugins before they get trashed.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Reply


Thread Tools
Display Modes

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 02:08.


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