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

Open doors with a shot! v1.0


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   Arkshine (91)
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 04-07-2010 , 21:24   Open doors with a shot! v1.0
Reply With Quote #1

Open doors with a shot! v1.0
Another simple useless? plugin by me

Description:
With this plugin, you can open the doors with a simple shot from any weapons.

Cvars:
od_enabled (0|1) Enables|Disables plugin. Default 1
od_filterdoors (0|1) Enables|Disables the filter to doors that are opened with buttons. Default 0

Modules:
Fakemeta & Hamsandwich

Credits:
Sn!ff3r: Hamsandwich way.
r3v0idi0t: Video

Changelog:
Code:
v1.0: First release
Suggestions are welcome (:
Attached Files
File Type: sma Get Plugin or Get Source (open_door.sma - 4560 views - 2.2 KB)
__________________
Find my plugins here..

Ex - Spanish Moderator.

Last edited by Starsailor; 10-31-2010 at 23:01.
Starsailor is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 04-07-2010 , 21:42   Re: Open doors with a shot! v1.0
Reply With Quote #2

Great idea, clean code.

Good job.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
fR4gn0tiX!
Senior Member
Join Date: Nov 2009
Location: Georgia, Tbilisi
Old 04-07-2010 , 22:01   Re: Open doors with a shot! v1.0
Reply With Quote #3

Quote:
Originally Posted by Starsailor View Post
Description:
With this plugin, you can know open the doors (func_door_rotating only for the time being) with a simple shot from all weapons.
__________________
fR4gn0tiX! is offline
Send a message via Skype™ to fR4gn0tiX!
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 04-07-2010 , 22:08   Re: Open doors with a shot! v1.0
Reply With Quote #4

@fragnotix

i copied the text from another plugin
__________________
Find my plugins here..

Ex - Spanish Moderator.

Last edited by Starsailor; 04-07-2010 at 22:10.
Starsailor is offline
kanatzu
Veteran Member
Join Date: Oct 2007
Location: Sweden
Old 04-07-2010 , 22:26   Re: Open doors with a shot! v1.0
Reply With Quote #5

Quote:
Originally Posted by Starsailor View Post
@fragnotix

i copied the text from another plugin
So it's a ripp?
__________________




Quote:
Originally Posted by wrecked_ View Post
Stop saying words before I sodomize you with a cucumber.
kanatzu is offline
Send a message via MSN to kanatzu
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Brazil
Old 04-07-2010 , 22:26   Re: Open doors with a shot! v1.0
Reply With Quote #6

Nice, but it would ruin a slightly serious gameplay. Does it play the door sound?
Seta00 is offline
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 04-07-2010 , 22:51   Re: Open doors with a shot! v1.0
Reply With Quote #7

Quote:
Originally Posted by kanatzu View Post
So it's a ripp?
Nope, i copied the thread text from ahother plugin by me -here- and i forgot delete it

Quote:
Originally Posted by Seta00 View Post
Nice, but it would ruin a slightly serious gameplay. Does it play the door sound?
Yep
__________________
Find my plugins here..

Ex - Spanish Moderator.

Last edited by Starsailor; 04-07-2010 at 22:55.
Starsailor is offline
Zapdos1
BANNED
Join Date: Jul 2009
Location: Chile - La Serena
Old 04-07-2010 , 23:13   Re: Open doors with a shot! v1.0
Reply With Quote #8

nice starsailor! ;D
a good idea in a good plugin :B
Zapdos1 is offline
xakintosh
I run no-steam servers!
Join Date: Feb 2010
Location: Edge of nowhere
Old 04-08-2010 , 02:15   Re: Open doors with a shot! v1.0
Reply With Quote #9

Lolz, good work :]
__________________
As soon as possible.
xakintosh is offline
Send a message via Yahoo to xakintosh Send a message via Skype™ to xakintosh
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 04-08-2010 , 10:25   Re: Open doors with a shot! v1.0
Reply With Quote #10

Quote:
clean code.
L O L

Without hamhooks, supports all types of doors.

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <fakemeta>

#define PLUGIN "Open Doors"
#define VERSION "1.0"
#define AUTHOR "Sn!ff3r"

new cvar 

public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
cvar register_cvar("od_enabled""1")
    
    
    if(
get_pcvar_num(cvar))
    {
        
RegisterHam(Ham_TraceAttack"func_door_rotating""open_door")
        
RegisterHam(Ham_TraceAttack"func_door""open_door")
    }
}

public 
open_door(thisidattackerFloat:damageFloat:direction[3], tracehandledamagebits)
{
    
dllfunc(DLLFunc_Usethisidattacker)    

__________________
Join US - custom Zombie Server - Custom Addons:



Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
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 11:48.


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