AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Christmas Events (https://forums.alliedmods.net/showthread.php?t=48557)

SAMURAI16 12-14-2006 12:13

Christmas Events
 
5 Attachment(s)
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"


SAMURAI16 12-14-2006 15:29

Re: Christmas Events
 
* [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"

Ywa*NL 12-14-2006 15:36

Re: Christmas Events
 
Nice plugin. Thanks!

Hawk552 12-14-2006 16:08

Re: Christmas Events
 
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).

SAMURAI16 12-14-2006 16:16

Re: Christmas Events
 
ohh, my fault ! thanks
Fixed

Hawk552 12-14-2006 16:35

Re: Christmas Events
 
Quote:

Originally Posted by SAMURAI16 (Post 415399)
ohh, my fault ! thanks
Fixed

... you didn't do anything I said...

GHW_Chronic 12-14-2006 18:49

Re: Christmas Events
 
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

SAMURAI16 12-15-2006 06:54

Re: Christmas Events
 
* [UPDATE] 0.2 -> 0.3
- Fixed all plugin bugs
Should work "faster" now

dxteam 12-15-2006 08:16

Re: Christmas Events
 
Plz add cristmas sound plzzzzzz

SAMURAI16 12-15-2006 08:18

Re: Christmas Events
 
give me sounds, and when play this sounds ?


All times are GMT -4. The time now is 01:57.

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