Raised This Month: $ Target: $400
 0% 

Will this make it snow in all maps? [snow.sma]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 03-11-2009 , 14:31   Will this make it snow in all maps? [snow.sma]
Reply With Quote #1

Hey, will this plugin let it snow in all maps?

P.S. GameFreak is my gamename

PHP Code:
#include <amxmodx>
 
public plugin_init()
{
 
register_plugin"SNOW""1.0""GameFreak");
}
 
public 
plugin_end()
{
         
server_cmd"sv_skyname snow");

Attached Files
File Type: sma Get Plugin or Get Source (snow.sma - 746 views - 343 Bytes)
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Dr.G
Senior Member
Join Date: Nov 2008
Old 03-11-2009 , 14:45   Re: Will this make it snow in all maps? [snow.sma]
Reply With Quote #2

no it will load a skymap called snow... did it snow when you tested it? Look in some of the plugins already made for snow
__________________
Dr.G is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 03-11-2009 , 14:48   Re: Will this make it snow in all maps? [snow.sma]
Reply With Quote #3

So this plugin of tuty:

PHP Code:
#include <amxmodx>
 
#define PLUGIN "Random Skies"
#define VERSION "1.1"
#define AUTHOR "tuty"
 
new gPluginMode;
 
new const 
skies[][] = {
    
"2desert""alien1""alien2""alien3",
    
"black""city""cliffe""desert",
    
"dusk""morning","neb1""neb6",
    
"neb7""space""xen10""xen8",
    
"xen9""night""black","green",
    
"blue""backalley""city1""morningdew",
    
"hav""cliff""office""grnplsnt",
    
"tornsky""doom1""cx""de_storm",
    
"snowlake_""tornsky""trainyard""tsccity_",
    
"snow""2desert""des"
};

public 
plugin_init()
{
 
register_pluginPLUGINVERSIONAUTHOR );
 
gPluginMode register_cvar"sv_skies_mode""1" );  // 0 - disabled, 1 - random skies
}

public 
plugin_end()
{
 if( 
get_pcvar_numgPluginMode ) == )
     {
         
server_cmd"sv_skyname %s"skiesrandom_num0charsmaxskies ) ) ] );
     }

will work if i just enable snow in const skies?
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-11-2009 , 14:50   Re: Will this make it snow in all maps? [snow.sma]
Reply With Quote #4

Create a "env_snow" entity during precache will create snow on all maps.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 03-11-2009 , 14:51   Re: Will this make it snow in all maps? [snow.sma]
Reply With Quote #5

Ok, i will put this in plugin submittions
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 03-11-2009 , 15:29   Re: Will this make it snow in all maps? [snow.sma]
Reply With Quote #6

There are other plugin that creates snow, i think.
__________________

anakin_cstrike is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-12-2009 , 04:02   Re: Will this make it snow in all maps? [snow.sma]
Reply With Quote #7

http://forums.alliedmods.net/showthread.php?p=358960

why dont u use this one here?i think to give snow on game u have to precache any spr or models... idk but i think there is a snow sprite that u can let this sprite falling or somthing like this.how ever i tested this plugin & this work.
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 03-12-2009 , 10:08   Re: Will this make it snow in all maps? [snow.sma]
Reply With Quote #8

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

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

#define PLUGIN "Nowy Plugin"
#define VERSION "1.0"
#define AUTHOR "Sn!ff3r"

#define fm_create_entity(%1) engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, %1))

public plugin_precache() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
fm_create_entity("env_snow")

__________________
Join US - custom Zombie Server - Custom Addons:



Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 03-12-2009 , 14:54   Re: Will this make it snow in all maps? [snow.sma]
Reply With Quote #9

Not work
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Dr.G
Senior Member
Join Date: Nov 2008
Old 03-12-2009 , 15:08   Re: Will this make it snow in all maps? [snow.sma]
Reply With Quote #10

the entity needs to think i belive. let it think every 0.2 sec e.g
__________________
Dr.G is offline
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 09:01.


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