![]() |
|
Plugin FreeWeapon - 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: Plugin FreeWeapon (/showthread.php?tid=2569) |
Plugin FreeWeapon - Poster - 09-18-2025 [TITLE] Plugin FreeWeapon [URL] https://amxx.pl/topic/18836-plugin-freeweapon/ Jest to plugin który zrobiłem z nudów i by się czegoś nauczyć Jest to banalny plugin a mianowicie. Gdy admin wpisze **free** dostaje MP5 DGL HE FB SG a jeśli wpisze go gracz pisze np: **KmP'eR tylko dla admina!!** **Instalacja:** Standardowa Oto .sma: #include <amxmodx> #include <amxmisc> #include <fun> #define PLUGIN "AdminFreeWeapon" #define VERSION "0.2" #define AUTHOR "KmP'eR" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR); register_clcmd ("free","free_weapon") } public free_weapon(id){ if(access(id,ADMIN_LEVEL_C)){ give_item (id,"weapon_mp5navy") give_item (id,"weapon_mp5navy" ) give_item (id,"weapon_mp5navy" ) give_item (id,"weapon_mp5navy" ) give_item (id,"weapon_deagle") give_item (id,"weapon_deagle") give_item (id,"weapon_deagle") give_item (id,"weapon_deagle") give_item (id,"weapon_flashbang") give_item (id,"weapon_flashbang") give_item (id,"weapon_smokegrenade") give_item (id,"weapon_hegrenade") set_hudmessage(255, 255, 255, 0.02, 0.71, 0, 6.0, 5.0) show_hudmessage(id, "Dostales: MP5 DGL HE FB SG") } else{ new szName [32]; get_user_name(id, szName, 31) set_hudmessage(42, 42, 255, 0.02, 0.71, 0, 6.0, 5.0) show_hudmessage(id, "%s tylko dla admina!!", szName) } } Załączone pliki * [url=https://amxx.pl/index.php?app=core&module=attach§ion=attach&attach_id=3683 "Pobierz załącznik"] [/url] [url=https://amxx.pl/index.php?app=core&module=attach§ion=attach&attach_id=3683 "Pobierz załącznik"]**admin_weapon.rar**[/url] **2,98 KB** 320 Ilość pobrań Użytkownik **KmP'eR** edytował ten post 03.01.2010 22:29 Załączniki: admin_weapon.rar |