All Activity
- Today
-
Hi guys! i want this plugin just some edits I want when someone say /Shop or /sp , he will see a menu shop SHOP MENU : /r1. /wBUY VIP FOR 1 HOUR /r400Pts /r2. /wBUY VIP FOR 2 HOUR /r650Pts. That's it guys PHP Code: #include <amxmodx> #include <fun> #include <cstrike> #include <point_system> new g_iBlinkAcct new const VERSION[] = "1.0" // CT items new szCTItems[][]= { "M249 Gun", "10000$ Money", "5000$ Money", "50 HP", "50 AP", "He-Grenade" } // TR Items new szTRItems[][]= { "10000$ Money", "5000$ Money", "He-Grenade", "50 HP", "50 AP" } // CT items price (point) new g_szCostCT[] = { 50, 40, 20, 15, 5, 10 } // TR Items price (point) new g_szCostTR[] = { 40, 20, 10, 15, 5 } public plugin_init() { register_plugin("Point Shop", VERSION, "LearninG") // register a way to open menu register_clcmd("say /sp", "shop") register_clcmd("say_team /sp" , "shop") register_clcmd("say /shop", "shop") register_clcmd("say_team /shop", "shop") } // show them a menu based on their team public shop(id) { switch(cs_get_user_team(id)) { case CS_TEAM_CT: { menu_ct(id) } case CS_TEAM_T: { menu_t(id) } } } // CT's menu public menu_ct(id) { new Temp[101], point point = get_user_point(id) formatex(Temp,charsmax(Temp), "\rYour Points: \g %d", point); new menu = menu_create(Temp, "handler_ct") new szItemName[64] for(new i; i<sizeof szCTItems && i<sizeof g_szCostCT; i++) { if( point < g_szCostCT[i] ) { formatex(szItemName, charsmax(szItemName), "\d%s (%d)", szCTItems[ i ], g_szCostCT[ i ]) } else { formatex(szItemName, charsmax(szItemName), "%s\y(%d)", szCTItems[ i ], g_szCostCT[ i ]) } menu_additem(menu , szItemName) } menu_display(id , menu , 0) } // TR's menu public menu_t(id) { new Temp[101], point point = get_user_point(id) formatex(Temp,charsmax(Temp), "\rYour Point:\y %d", point) new menu = menu_create(Temp, "handler_t") new szItemName[64] for(new i; i<sizeof szTRItems && i<sizeof g_szCostTR; i++) { if( point < g_szCostTR[i] ) { formatex(szItemName, charsmax(szItemName), "\d%s (%d)", szTRItems[ i ], g_szCostTR[ i ]) } else { formatex(szItemName, charsmax(szItemName), "%s \y(%d)", szTRItems[ i ], g_szCostTR[ i ]) } menu_additem(menu , szItemName) } menu_display(id , menu , 0) } // CT menu handler public handler_ct(id, menu, item) { if( item == MENU_EXIT ) { menu_destroy(menu) return PLUGIN_HANDLED } new point = get_user_point(id); new new_point = get_user_point(id) - g_szCostCT[item] if( point < g_szCostCT[item] ) { NotEnoughMoney( id ) menu_display(id, menu) return PLUGIN_HANDLED } switch(item) { case 0: { give_item(id , "weapon_m249") cs_set_user_bpammo(id , CSW_M249 , 200) set_user_point(id , new_point) } case 1: { cs_set_user_money(id , cs_get_user_money(id) + 10000) set_user_point(id , new_point) } case 2: { cs_set_user_money(id , cs_get_user_money(id) + 5000) set_user_point(id , new_point) } case 3: { set_user_health(id , get_user_health(id) + 50) set_user_point(id , new_point) } case 4: { set_user_armor(id , get_user_armor(id) + 50) set_user_point(id , new_point) } case 5: { give_item(id , "weapon_hegrenade") set_user_point(id , new_point) } } menu_destroy(menu) return PLUGIN_HANDLED } // TR menu hadnler public handler_t(id, menu, item) { if( item == MENU_EXIT ) { menu_destroy(menu) return PLUGIN_HANDLED } new point = get_user_point(id); new new_point = get_user_point(id) - g_szCostTR[item] if( point < g_szCostTR[item] ) { NotEnoughMoney( id ) menu_display(id, menu) return PLUGIN_HANDLED } switch(item) { case 0: { cs_set_user_money(id , cs_get_user_money(id) + 10000) set_user_point(id , new_point) } case 1: { cs_set_user_money(id , cs_get_user_money(id) + 5000) set_user_point(id , new_point) } case 2: { give_item(id , "weapon_hegrenade") set_user_point(id , new_point) } case 3: { set_user_health(id , get_user_health(id) + 50) set_user_point(id , new_point) } case 4: { set_user_armor(id , get_user_armor(id) + 50) set_user_point(id , new_point) } } menu_destroy(menu) return PLUGIN_HANDLED } // Show them a message when they don't have enough money NotEnoughMoney( id ) { client_print(id, print_center, "#Cstrike_TitlesTXT_Not_Enough_Money") message_begin(MSG_ONE_UNRELIABLE, g_iBlinkAcct, .player=id) { write_byte(2) } message_end() } Print chat when u bought a vip 1h or /2h !g[Shop] !t%s !yJust Bought VIP for !g%s Hour. EVERYONE can see this chat Przeczytaj cały wpis
-
Hello ! guys after i kill last ct or t i waiting 15 seconds then restart round i need it default pls (3second) after the sound Counter-Terrorists Wins then Round Restart help pls Przeczytaj cały wpis
- Yesterday
-
Simple AWP Crosshair HUDTested only in CS:GO Description - !cross command - when you have the awp in your hand an image (simulating the crosshair) appears to make the noscope better. Config: (the image is not included so you would have to do) Image in .vmt and .vtf Change: cl_show_overlay(i, "traplife/AWPcrosshair" Format(vmt, sizeof(vmt), "materials/traplife/AWPcrosshair.vmt"); Format(vtf, sizeof(vtf), "materials/traplife/AWPcrosshair.vtf"); THIS PLUGIN IS HALF DONE (I don't even know if it works properly) Well, the same as the other plugin, interference problem with the hitmarker. ▬▬ GitHub when I do to improve I will put it on github, for now it is a simple beta (I don't think it will update) ▬▬ Attached Files Gena-VipAwpCrosshair_v1.1.zip (5.5 KB) Wyświetl pełny artykuł
-
LemonSiemaElo goboosting.pl changed their profile photo
-
Simple Speed Meeter HUDTested only in CS:GO Well, I bring this because I did it and it works correctly, but not for my server, since it interferes with the hud with my other plugin and the spawn protection. (if someone wants to fix it just send it to me and I'll upload it here) To improve -put km/h -fix interference ▬▬ GitHub when I do to improve I will put it on github, for now it is a simple beta (I don't think it will update) ▬▬ Attached Files gena_SimpleSpeedMeeter_v1.3.zip (3.9 KB) Wyświetl pełny artykuł
-
Witam po krótkiej przerwie, poszukujmy osób na stanowiska: Grafik Redaktor UB TEAM (CS 1.6 oraz CS:GO) Admin serwera [ CS:GO, CS 1,6] Miłych wakacji oczywiście 😄
-
-------------------------------------------------------------------- Nasze Forum -> KLIK Nasza Grupa Steam -> KLIK Nasz FaceBook -> KLIK Nasz Sklep 24/7 -> KLIK -------------------------------------------------------------------- SERWERY : [CS 1.6] ONLY DD2 [NOWY SERWER] - 51.83.175.254:27015 [CS:GO] ONLY MIRAGE 128TR [NOWY SERWER] - 145.239.16.170:27095 [VOICE] DISCORD [STARY SERWER - PO REMONCIE] - https://discord.com/invite/q8jwn3JTKs -------------------------------------------------------------------- Rekrutacja : -------------------------------------------------------------------- Masz serwer CS:GO/ CS 1.6 i szukasz sieci serwerów ? Dołącz do nas zaoferujemy profesjonalną współprace -------------------------------------------------------------------- Nie zastanawiaj się dołącz do naszej społeczności, a otrzymasz skilla o którym marzysz!
-
Witam, poszukuje osób z którymi nawiąże współprace, szczegóły i propozycje jakie mam opiszę na pv! 😉
-
liroj joined the community
-
olafek changed their profile photo
-
Hi, did somebody try to make a fix for that? E.g. map Fort Noesis (L4D1). When you load 1st map it always spawn players stucked underground. Przeczytaj cały wpis
-
Hi. I need Player models menu.I know it's already has been created but i want to add XP. If player has reached Required XP for each player then they can select it and also need the models for Admins ( It means please don't forget to add admin flags ).And i need it just for humans ( CT's ) because i need it for basebuilder server.I tryed to find it on everywhere but i can't find it.If you guys like my idea so please make it. Przeczytaj cały wpis
-
Hey, can not find plugin when the player dies appears ghost, I found a similar one https://forums.alliedmods.net/showthread.php?t=148884 but i don't need 3d effect or /ghost cmd all I need after death just an effect Przeczytaj cały wpis
- Last week
-
MLK changed their profile photo
-
f5 ❤️
-
xoxoigi001 changed their profile photo
-
Sounds like Skittles Taste the Rainbow but believe it or not there are multiple pugs being held almost every day in TFC. Would be pretty cool to have a simple plugin that lets team captains choose players and have simple .ready commands. .noclip Przeczytaj cały wpis
-
Zapraszam na turniej CS 1.6 [1 vs 1]! -- cs-maliver.pl --
Ringo replied to Tylko Miłość's topic in Projekty użytkowników
Kiedy dostane unbana u was na czatboxie? -
Tak dla sprostowania: Mówisz coś o motywie, który jest zepsuty, kopiując przy tym wszystko, co jest w internecie do jednego motywu. Rozwaliłeś więcej rzeczy na forum, niż poprawiłeś/zaktualizowałeś. Jeśli coś robisz źle, to nie licz na to, że dostaniesz wynagrodzenie. Wyjdź na dwór, dotknij trawy, a nie zakładasz tematy w taką piękną pogodę. Gdybyś nie wiedział, jak wygląda to już lecę z pomocą.
-
Kacper hed changed their profile photo
-
chicken changed their profile photo
-
minesik changed their profile photo
-
Zamknięty na prośbę autora. [zlecę] wykonanie paczki deathmatch - niestandardowy mod.
Weak. replied to SynΣk's topic in Ready packages SM
Temat został zamknięty na prośbę autora tematu . Jeśli się z tym nie zgadzasz, raportuj ten post, a moderator rozpatrzy go ponownie.- 3 replies
-
- niestandardowy
- deathmatch
-
(and 1 more)
Tagged with:
-
Ryancoolroun changed their profile photo
-
Zamknięty na prośbę autora. [zlecę] wykonanie paczki deathmatch - niestandardowy mod.
SynΣk replied to SynΣk's topic in Ready packages SM
Dziena! Szybko, tanio i konkretnie. Polecam gościa 🙂 Do zamknięcia!- 3 replies
-
- 1
-
-
- niestandardowy
- deathmatch
-
(and 1 more)
Tagged with:
-
@aktualne
-
CL Forcer [ Force Client To Download-Table ] ( 1.0.1 ) .:[ ConVars ]:. Spoiler Code: // Choose What To Do With Them || 1= Kick Them From The Server || 2= Send Them To Spec // - // Default: "2" sm_force_method "2" // Only People With cl_allowdownload 1 Enter The Server || 1= Yes || 0= No // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" sm_cl_allowdownload "1" // Only People With cl_allowupload 1 Enter The Server || 1= Yes || 0= No // - // Default: "0" // Minimum: "0.000000" // Maximum: "1.000000" sm_cl_allowupload "0" // Only People With cl_downloadfilter all Enter The Server || 1= Yes || 0= No // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" sm_cl_downloadfilter "1" .:[ Change Log ]:. Spoiler 1.0.1 -Fix Bug -Added Force Spec 1.0.0 - Initial Release .:[ Download ]:. GitHub || Download Wyświetl pełny artykuł
-
ryozin changed their profile photo
-
Hello, I Want. A Plugin That If Any Admin Types /random in chat The Plugin will Give A Random one Player Name out of max players acess : ADMIN_KICK NOTE : That's For Events Purpose Of The Server Przeczytaj cały wpis
-
Zamknięty na prośbę autora. [zlecę] wykonanie paczki deathmatch - niestandardowy mod.
WudoE replied to SynΣk's topic in Ready packages SM
Napisz do @Qes- 3 replies
-
- 2
-
-
- niestandardowy
- deathmatch
-
(and 1 more)
Tagged with: