AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to make it snow? (https://forums.alliedmods.net/showthread.php?t=112953)

Ragwing 12-22-2009 10:17

How to make it snow?
 
I've tried the code below, but on random, it'll make it rain and not snow. I want there to be snow every time, no rain at all. How do I do that?

Code:

public plugin_precache()
    {
    engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "env_snow"));
    }


Zapdos1 12-22-2009 10:23

Re: How to make it snow?
 
well, you can see the Snow War plugin

cikjam 12-22-2009 10:40

Re: How to make it snow?
 
PHP Code:

public plugin_precache()
{
       
create_entity"env_snow" );


Works fine?

Arkshine 12-22-2009 11:07

Re: How to make it snow?
 
It will work fine.

Code:
#include <amxmodx> #include <engine>     public plugin_precache() {     register_plugin( "Snow", "1.0", "Amxx Community" );     create_entity( "env_snow" ); }


All times are GMT -4. The time now is 04:09.

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