![]() |
|
Śnieg i Deszcz - Printable Version +- CSHOT.PL - Pluginy amxx , plugins amxx , server game counter strike , serwery gier , forum (https://cshot.pl) +-- Forum: Counter-Strike (https://cshot.pl/forumdisplay.php?fid=54) +--- Forum: Counter-Strike 1.6 (https://cshot.pl/forumdisplay.php?fid=55) +---- Forum: PLUGINY (https://cshot.pl/forumdisplay.php?fid=62) +---- Thread: Śnieg i Deszcz (/showthread.php?tid=3336) |
Śnieg i Deszcz - Poster - 09-18-2025 [TITLE] Śnieg i Deszcz [URL] https://amxx.pl/topic/32484-śnieg-i-deszcz/ **Snow or Rain** Opis: Plugin Daje Śnieg i Deszcz na Serwer. Screeny: [https://forums.allie...98&d=1284146382](https://forums.alliedmods.net/attachment.php?attachmentid=73198&d=1284146382 "Zewnętrzny odnośnik") [https://forums.allie...99&d=1284146404](https://forums.alliedmods.net/attachment.php?attachmentid=73199&d=1284146404 "Zewnętrzny odnośnik") Cvar'y: mx_sr_type 'snow'/'rain' // Snieg i deszcz.Co zrobic na mapie? Domyslnie Snieg amx_sr_inc 'engine'/'fakemeta' // Jaki chcesz wybrac modul do odblokowania pluginu (domyslny: engine) SMA: #include <amxmodx> #include <fakemeta> #include <engine> new const VERSION[] = "1.0" new g_sr, g_type public plugin_precache() { register_plugin("Snow or rain", VERSION, "MMYTH") g_sr = register_cvar("amx_sr_type", "snow") g_type = register_cvar("amx_sr_inc", "engine") new cg_sr[5], cg_type[9] get_pcvar_string(g_sr, cg_sr, charsmax(cg_sr)) get_pcvar_string(g_type, cg_type, charsmax(cg_type)) if(equal(cg_sr, "rain")) { if(equal(cg_type, "fakemeta")) engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "env_rain")) if(equal(cg_type, "engine")) create_entity("env_rain") } else if(equal(cg_sr, "snow")) { if(equal(cg_type, "fakemeta")) engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "env_snow")) if(equal(cg_type, "engine")) create_entity("env_snow") } } Załączone pliki * [url=https://amxx.pl/index.php?app=core&module=attach§ion=attach&attach_id=8358 "Pobierz załącznik"] [/url] [url=https://amxx.pl/index.php?app=core&module=attach§ion=attach&attach_id=8358 "Pobierz załącznik"]**snow_or_rain.amxx**[/url] **2,01 KB** 620 Ilość pobrań
|