War3Evo / War3Source-EVO

War3Source Evolution (The future of War3Source)
GNU General Public License v3.0
33 stars 5 forks source link

Download Models #30

Closed JustZerooo closed 1 year ago

JustZerooo commented 1 year ago

Added the ability to download models.

Add the model you wish to download as string in the class and to the server and the client will download it.

Example.


new String:effLight[] ="Effects/vol_light.mdl";

public OnAddModel(model_priority)
{
    if(model_priority==PRIORITY_HIGH)
    {
        War3_AddModel(effLight);
    }
}

The server will check the models path for that file and downloading it...

JustZerooo commented 1 year ago

i left do it on your own since you do not listento me all the time i work on my own for now