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

[CS:GO] Snow Fall


Post New Thread Reply   
 
Thread Tools Display Modes
Author
mrstark
New Member
Join Date: Nov 2014
Location: Russia
Plugin ID:
4413
Plugin Version:
1.0
Plugin Category:
All
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    CS:GO
    Unapprover:
    Reason for Unapproving:
    No source, copy of other plugin
    Old 11-13-2014 , 07:21   [CS:GO] Snow Fall
    Reply With Quote #1

    Description: The plugin adds the effect of snowfall on your game server. Great idea before already suitable, we all anticipated holiday - New Year.

    plugin here
    -link removed-

    Last edited by Dr. McKay; 11-13-2014 at 21:18. Reason: Removed sourceless link
    mrstark is offline
    nomy
    Senior Member
    Join Date: Dec 2009
    Location: United Kingdom
    Old 11-13-2014 , 08:31   Re: [CS:GO] Snow Fall
    Reply With Quote #2

    No source code?
    nomy is offline
    hamilton5
    Veteran Member
    Join Date: Oct 2012
    Location: USA
    Old 11-13-2014 , 08:39   Re: [CS:GO] Snow Fall
    Reply With Quote #3

    this will get pulled quick
    hamilton5 is offline
    live4net
    AlliedModders Donor
    Join Date: Jul 2014
    Old 11-13-2014 , 08:45   Re: [CS:GO] Snow Fall
    Reply With Quote #4

    Can you add *.sp file?
    live4net is offline
    Chesterfield
    Senior Member
    Join Date: Apr 2013
    Old 11-13-2014 , 09:46   Re: [CS:GO] Snow Fall
    Reply With Quote #5

    Seems like a good idea, but it will be hard to trust in that link
    Chesterfield is offline
    boombee
    SourceMod Donor
    Join Date: Nov 2013
    Old 11-13-2014 , 12:07   Re: [CS:GO] Snow Fall
    Reply With Quote #6

    If you dont add .sp files your thread will be taken down and Im not sure, but I think theres a change you get banned too.
    boombee is offline
    freak.exe_uLow
    AlliedModders Donor
    Join Date: Jul 2012
    Location: Germany
    Old 11-13-2014 , 13:43   Re: [CS:GO] Snow Fall
    Reply With Quote #7

    you must register in advance to download it...not cool and bye

    Last edited by freak.exe_uLow; 12-11-2018 at 08:25.
    freak.exe_uLow is offline
    MyBack
    AlliedModders Donor
    Join Date: Oct 2012
    Location: Indiana, United States
    Old 11-13-2014 , 16:49   Re: [CS:GO] Snow Fall
    Reply With Quote #8

    Quote:
    Originally Posted by Chesterfield View Post
    Seems like a good idea, but it will be hard to trust in that link
    There's nothing malignant in the file, decompiled it a minute ago.
    MyBack is offline
    Bara
    AlliedModders Donor
    Join Date: Apr 2012
    Location: Germany
    Old 11-13-2014 , 19:43   Re: [CS:GO] Snow Fall
    Reply With Quote #9

    Lysis says this:
    Code:
    public Plugin:myinfo =
    {
    	name = "CS:GO Snowfall",
    	description = "",
    	author = "Mr. Stark",
    	version = "1.0",
    	url = ""
    };
    
    Float:operator/(Float:,_:)(Float:oper1, oper2)
    {
    	return oper1 / float(oper2);
    }
    
    public OnPluginStart()
    {
    	HookEventEx("round_start", Snowfall, EventHookMode:1);
    	return 0;
    }
    
    public Snowfall(Handle:event, String:name[], bool:dontBroadcast)
    {
    	decl String:MapName[128];
    	decl String:buffer[128];
    	new String:pre[128] = "3";
    	new String:den[128] = "5";
    	new String:col[128] = "255 255 255";
    	GetCurrentMap(MapName, 128);
    	Format(buffer, 128, "maps/%s.bsp", MapName);
    	new ent = CreateEntityByName("func_precipitation", -1);
    	DispatchKeyValue(ent, "model", buffer);
    	DispatchKeyValue(ent, "preciptype", pre);
    	DispatchKeyValue(ent, "renderamt", den);
    	DispatchKeyValue(ent, "rendercolor", col);
    	DispatchSpawn(ent);
    	ActivateEntity(ent);
    	new Float:minbounds[3] = 0;
    	GetEntPropVector(0, PropType:1, "m_WorldMins", minbounds, 0);
    	new Float:maxbounds[3] = 0;
    	GetEntPropVector(0, PropType:1, "m_WorldMaxs", maxbounds, 0);
    	SetEntPropVector(ent, PropType:0, "m_vecMins", minbounds, 0);
    	SetEntPropVector(ent, PropType:0, "m_vecMaxs", maxbounds, 0);
    	new Float:m_vecOrigin[3] = 0;
    	m_vecOrigin[0] = minbounds[0][maxbounds[0]] / 2;
    	m_vecOrigin[1] = minbounds[1][maxbounds[1]] / 2;
    	m_vecOrigin[2] = minbounds[2][maxbounds[2]] / 2;
    	TeleportEntity(ent, m_vecOrigin, NULL_VECTOR, NULL_VECTOR);
    	return 0;
    }
    __________________
    Discord (Bara#5006) | My Plugins (GitHub)
    You like my work? Support is not a crime.
    Bara is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 11-13-2014 , 19:53   Re: [CS:GO] Snow Fall
    Reply With Quote #10

    Quote:
    Originally Posted by Bara View Post
    Lysis says this:
    Code:
    public Plugin:myinfo =
    {
    	name = "CS:GO Snowfall",
    	description = "",
    	author = "Mr. Stark",
    	version = "1.0",
    	url = ""
    };
    
    Float:operator/(Float:,_:)(Float:oper1, oper2)
    {
    	return oper1 / float(oper2);
    }
    
    public OnPluginStart()
    {
    	HookEventEx("round_start", Snowfall, EventHookMode:1);
    	return 0;
    }
    
    public Snowfall(Handle:event, String:name[], bool:dontBroadcast)
    {
    	decl String:MapName[128];
    	decl String:buffer[128];
    	new String:pre[128] = "3";
    	new String:den[128] = "5";
    	new String:col[128] = "255 255 255";
    	GetCurrentMap(MapName, 128);
    	Format(buffer, 128, "maps/%s.bsp", MapName);
    	new ent = CreateEntityByName("func_precipitation", -1);
    	DispatchKeyValue(ent, "model", buffer);
    	DispatchKeyValue(ent, "preciptype", pre);
    	DispatchKeyValue(ent, "renderamt", den);
    	DispatchKeyValue(ent, "rendercolor", col);
    	DispatchSpawn(ent);
    	ActivateEntity(ent);
    	new Float:minbounds[3] = 0;
    	GetEntPropVector(0, PropType:1, "m_WorldMins", minbounds, 0);
    	new Float:maxbounds[3] = 0;
    	GetEntPropVector(0, PropType:1, "m_WorldMaxs", maxbounds, 0);
    	SetEntPropVector(ent, PropType:0, "m_vecMins", minbounds, 0);
    	SetEntPropVector(ent, PropType:0, "m_vecMaxs", maxbounds, 0);
    	new Float:m_vecOrigin[3] = 0;
    	m_vecOrigin[0] = minbounds[0][maxbounds[0]] / 2;
    	m_vecOrigin[1] = minbounds[1][maxbounds[1]] / 2;
    	m_vecOrigin[2] = minbounds[2][maxbounds[2]] / 2;
    	TeleportEntity(ent, m_vecOrigin, NULL_VECTOR, NULL_VECTOR);
    	return 0;
    }

    OMG this is a copy of my plugin... -> https://forums.alliedmods.net/showthread.php?p=1619374
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 11-13-2014 at 19:58.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    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:35.


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