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 ?

SAMURAI16 12-15-2006 10:39

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

dxteam 12-15-2006 12:34

Re: Christmas Events
 
when bomb has been planted, beep sound off but this sound on :) plz make http://www.4shared.com/file/6899834/...ingleBell.html

Alka 12-15-2006 13:14

Re: Christmas Events
 
is have 10mb ....:)):)) is too BIG!!

SAMURAI16 12-16-2006 03:56

Re: Christmas Events
 
@Alka models have 10 mb but if you choose for example "santamodel_type 4" is download only santamodelfour Also for Bomb Models

@dxteam that sound have 10 mb :/

manchimocyrus 12-16-2006 04:03

Re: Christmas Events
 
I can't Download the models :cry: :cry: :cry: :down:

manchimocyrus 12-16-2006 04:04

Re: Christmas Events
 
Pls maked work :up:

SAMURAI16 12-16-2006 04:09

Re: Christmas Events
 
- added mirror of models

SAMURAI16 12-16-2006 04:35

Re: Christmas Events
 
UPDATE 0.4 -> 0.5
-
Added translation support ; read first topic to see available languages

dxteam 12-16-2006 06:48

Re: Christmas Events
 
Make plz sound jinngle bells :))

DA 12-16-2006 07:10

Re: Christmas Events
 
Hey guys,

Really nice plugin. I want to support this nice plugin.
You can download the models here from my webserver with full trafficline.
Here the download

manchimocyrus 12-16-2006 07:44

Re: Christmas Events
 
Thanks DA

loren28 12-16-2006 17:26

Re: Christmas Events
 
samurai.please put one models whit santagirl whit beautiful leghs .o craciunita cu picioare lungi si frumoase.parca vazusem pe fpsbanana un model.:oops::)

Ywa*NL 12-16-2006 18:05

Re: Christmas Events
 
Quote:

Originally Posted by loren28 (Post 416173)
o craciunita cu picioare lungi si frumoase.parca vazusem pe fpsbanana un model.:oops::)


You know that this is a international forum?!

godlike 12-16-2006 18:18

Re: Christmas Events
 
Just say english only.

|POW|Da_ghost 12-16-2006 18:20

Re: Christmas Events
 
Quote:

Originally Posted by godlike (Post 416195)
Just say english only.

Well its a English/Whatever post so its allowed [(it isn't against the rules even if it is fully Whatever because its in a reply) + he's asking for help]

thetermanator 12-16-2006 20:28

Re: Christmas Events
 
it wont work on my server. I get the same error and when I put it on debug i get the same error again


L 12/16/2006 - 19:29:39: [AMXX] Run time error 10 (plugin "christmas_events.amxx") (native "get_pcvar_num") - debug not enabled!
L 12/16/2006 - 19:29:39: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

|POW|Da_ghost 12-16-2006 20:31

Re: Christmas Events
 
Type debug after the plugins name in the plugins.ini file and report back here.

Guenhwyvar 12-17-2006 04:07

Re: Christmas Events
 
Nice idea!

I got this one :(:

Quote:

L 12/17/2006 - 09:11:49: Start of error session.
L 12/17/2006 - 09:11:49: Info (map "cs_italy") (logfile "error_121706.log")
L 12/17/2006 - 09:11:49: Invalid CVAR pointer
L 12/17/2006 - 09:11:49: [AMXX] Displaying debug trace (plugin "christmas_events.amxx")
L 12/17/2006 - 09:11:49: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 12/17/2006 - 09:11:49: [AMXX] [0] christmas_events.sma::plugin_precache (line 169)

GHW_Chronic 12-17-2006 04:46

Re: Christmas Events
 
plugin precache is called before plugin init. You cannot use PCVARs in plugin precache.

SAMURAI16 12-17-2006 04:46

Re: Christmas Events
 
thanks pl2003 for bug report
Fixed

Guenhwyvar 12-17-2006 07:04

Re: Christmas Events
 
Bo more errors, plugin precache works.

Does it check renaming or do you have to be named "santa"/"clause" on join?

SAMURAI16 12-17-2006 07:09

Re: Christmas Events
 
it's checks if user have name "santa" and/or "clause"

Guenhwyvar 12-17-2006 08:50

Re: Christmas Events
 
no one got the christmas skin. rather some ct/t-skins got switched. Ts running around as CT and vice versa.

Removed from server.

SAMURAI16 12-17-2006 09:11

Re: Christmas Events
 
-updated ; now it's check user name when user connecting to server ...

GM 12-18-2006 07:29

Re: Christmas Events
 
I think it'll be good if you add santagril model, for example:
All CTs = SantaGirls
All Terrorists = Santa Clauses.

Sorry for my English.

SAMURAI16 12-18-2006 07:38

Re: Christmas Events
 
maybe i will add on next version something like Christmas Match Deluxe ;)
T = Santa Girls
Ct = Santa clauses
But i must found santa girls models....
Is a good ideia, thanks

Minithug2007 12-19-2006 17:42

Re: Christmas Events
 
Sounds like an great plugin 2 me! :)

GM 12-20-2006 07:00

Re: Christmas Events
 
If you can't find Santa girls models use this idea:

All players on server should be Santa Claues, but T should wear RED clothes and CT should wear BLUE clothes.

miran 12-20-2006 13:36

Re: Christmas Events
 
GM,ct=Santa vs T=krampus(devil) sounds better!u really dont like to fight vs girls or??? :D

by the way:nice plugin!

Bento 12-21-2006 09:47

Re: Christmas Events
 
Plugin if a mess, precaching doesnt even work.


All times are GMT -4. The time now is 20:28.

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