Raised This Month: $51 Target: $400
 12% 

Christmas Events


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
SAMURAI16
BANNED
Join Date: Sep 2006
Old 12-14-2006 , 12:13   Christmas Events
Reply With Quote #1

Christmas Events

* Author : SAMURAI
* Version : 0.9

* Details :
With this plugin add christmas events on your server:
1) C4 bomb has been replaced with a Christmas tree
2) If an player containi on him name "santa" and/or "clause", will be transform into Santa Clause


* Cvars:
- christmas_model_change : if containi on him name "santa" and/or "clause", will became Santa Clause, with a model ;)
0 = Disabled
1 = Enabled ; for T = santaone ; CT = santadue

* Install :
1) Enable plugin
2) Enable fakemeta and cstrike module
4) Extract "models.rar" on your \cstrike\ folder


* Required Modules
- Cstrike and Fakemeta

* [UPDATE] 0.7 -> 0.8 (4/12/2007)
- new cvar
- only 2 models for player now

* [UPDATE] 0.7 -> 0.8 (4/12/2007)
-
remaked the plugin

* [UPDATE] 0.6 -> 0.7
- Added an admin command for transform player into Santa Clause
Command : amx_santa <name>
- Added new posibility to all players from CT and T team to be Santa Clause with a cvar:
Cvar : ch_allsanta (default 0)
Terro Team will got model "santaone"
CT Team Will got model "santadue"

* [UPDATE] 0.5 -> 0.6
-Now it's checks user name when user connecting to server, and if containi "santa" or
"clause" on him name, he will be transform into santa clause


* [UPDATE] 0.4 -> 0.5
- Added translation support
Available Languages:
- English
- Swedish by Predator:.
- Espaņol/Spanish by KylixMynxAltoLAG
- German by D o o m
- Romanian by Cladyu
- Polish by trawiator
- NL by |POW|Da_ghost

* [UPDATE] 0.3 -> 0.4
- Added new 3 types of C4 Model ; Total = 4 Models
- New cvar : bombmodel_type (default 1)
Use this cvar 1-4 by your preference
Can see screenshots with models on folder "Screenshots with Bomb Models"


* [UPDATE] 0.2 -> 0.3
- Fixed all plugin bugs ~ Thanks to OneEyed for help


* [UPDATE] 0.1 -> 0.2
- Added new 8 types of Santa's
- Use CVAR "santamodel_type" 1-8 by your preference (default 1)
Can see screnshots of model types on "screenshots" folder
REMEMBER : ch_player_model must be "1"

Attached Files
File Type: rar Screenshots with Bomb Models.rar (54.1 KB, 1976 views)
File Type: rar Screenshots with Santa Models.rar (56.9 KB, 2091 views)
File Type: sma Get Plugin or Get Source (christmas_events.sma - 2505 views - 1.8 KB)
File Type: rar models.rar (2.12 MB, 1916 views)

Last edited by SAMURAI16; 12-04-2007 at 13:40.
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
SAMURAI16
BANNED
Join Date: Sep 2006
Old 12-14-2006 , 15:29   Re: Christmas Events
Reply With Quote #2

* [UPDATE] 0.1 -> 0.2
- Added new 8 types of Santa's
- Use CVAR "santamodel_type" 1-8 by your preference (default 1)
Can see screnshots of model types on "screenshots" folder
REMEMBER : ch_player_model must be "1"
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
Ywa*NL
Senior Member
Join Date: Apr 2005
Location: The Netherlands
Old 12-14-2006 , 15:36   Re: Christmas Events
Reply With Quote #3

Nice plugin. Thanks!
__________________
Ywa*NL is offline
Send a message via MSN to Ywa*NL
Old 12-14-2006, 15:50
SAMURAI16
This message has been deleted by SAMURAI16.
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 12-14-2006 , 16:08   Re: Christmas Events
Reply With Quote #4

This is poorly coded. Use arrays to store the models instead of defines. Also, use switches whenever possible (you have 2 if x == 1 else if x == 2 sections).
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
SAMURAI16
BANNED
Join Date: Sep 2006
Old 12-14-2006 , 16:16   Re: Christmas Events
Reply With Quote #5

ohh, my fault ! thanks
Fixed
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 12-14-2006 , 16:35   Re: Christmas Events
Reply With Quote #6

Quote:
Originally Posted by SAMURAI16 View Post
ohh, my fault ! thanks
Fixed
... you didn't do anything I said...
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 12-14-2006 , 18:49   Re: Christmas Events
Reply With Quote #7

he fixed the first switch statement lol.
you need to convert fully to switch statements and change the defines to something like so:
Code:
new models[8][32] = {     "models/player/stanta1/stanta1.mdl",     "blah",     "blah",     "blah",     "blah",     "blah",     "blah",     "blah" }

then use them like this:
Code:
precache_model(models[0])

gl
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
SAMURAI16
BANNED
Join Date: Sep 2006
Old 12-15-2006 , 06:54   Re: Christmas Events
Reply With Quote #8

* [UPDATE] 0.2 -> 0.3
- Fixed all plugin bugs
Should work "faster" now
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
dxteam
Senior Member
Join Date: Dec 2005
Old 12-15-2006 , 08:16   Re: Christmas Events
Reply With Quote #9

Plz add cristmas sound plzzzzzz
dxteam is offline
Send a message via ICQ to dxteam
SAMURAI16
BANNED
Join Date: Sep 2006
Old 12-15-2006 , 08:18   Re: Christmas Events
Reply With Quote #10

give me sounds, and when play this sounds ?
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
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 01:26.


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