←  Multilingual

AMXX.pl: Support AMX Mod X i SourceMod

»

[ROZWIĄZANE] Shop COD MW2

Zablokowany

  • +
  • -
totoff - zdjęcie totoff 15.10.2011

Witam,

Chciałbym doprowadzić do trybu menu COD MW2 kupowaćgranaty i błyskowym. Kto może mi pomóc dziękuję
Odpowiedz

  • +
  • -
Hiroshima - zdjęcie Hiroshima 15.10.2011

please write in english ;>
Odpowiedz

  • +
  • -
Hiroshima - zdjęcie Hiroshima 15.10.2011

Automatyczna wiadomość


Ten temat został przeniesiony z forum:
AMX Mod XSzukam pluginu
do
AMX Mod XMultilingual

Odpowiedz

  • +
  • -
totoff - zdjęcie totoff 15.10.2011

ok for the COD MW2 mod i want a shop menu to buh HE, flashbang
Odpowiedz

  • +
  • -
Hiroshima - zdjęcie Hiroshima 15.10.2011

try this:
http://amxx.pl/topic...p-by-rpk-shark/
or
http://amxx.pl/topic...-by-nothing-10/

there is more option than flashbang or hegren but if you don't like you can delete them from the source and recompile the plugin
Odpowiedz

  • +
  • -
totoff - zdjęcie totoff 16.10.2011

I can not compile it for my COD MW mod is changed.
Who do I insert it in my COD MW mod please?
Odpowiedz

  • +
  • -
Hiroshima - zdjęcie Hiroshima 16.10.2011

I don't understand what you're trying to do..

try this:

#include <amxmodx>
#include <codmod>
#include <engine>
#include <cstrike>
#include <fun>
 
public plugin_init()
{
register_plugin("CodShop by MieTeK", "1.0", "MieTeK");
 
register_clcmd("say /shop", "Sklep");
register_clcmd("say /buy", "Sklep");
}
 
public Sklep(id)
{
new tytul[25];
format(tytul, 24, "\rSklep by \yRPK. Shark");
new menu = menu_create(tytul, "Sklep_Handler");
menu_additem(menu, "HeGren \r[HE Grenade] \yPrice: \r3000$");//6
menu_additem(menu, "Flasbang \r[Flash Grenade] \yPrice: \r5000$");//7
menu_display(id, menu);
 
}
 
public Sklep_Handler(id, menu, item)
{
 
if(!is_user_alive(id) || !is_user_connected(id))
return PLUGIN_CONTINUE;
 
new kasa = cs_get_user_money(id);
 
if(item == MENU_EXIT)
{
menu_destroy(menu);
return PLUGIN_CONTINUE;
}
 
switch(item)
{
 
case 0:
{
if(kasa >= 3000)
{
cod_give_weapon(id, CSW_HEGRENADE);
cs_set_user_money(id, kasa-3000);
client_print(id, print_chat, "[COD:MW] You've bought HeGrenade!");
}
if(kasa < 3000)
client_print(id, print_chat, "[COD:MW] You don't have enough money!");
}
case 1:
{
if(kasa >= 5000)
{
cod_give_weapon(id, CSW_FLASHBANG);
cs_set_user_money(id, kasa-5000);
client_print(id, print_chat, "[COD:MW] You've bought flashbang!");
}
if(kasa < 5000)
client_print(id, print_chat, "[COD:MW] You don't have enough money!");
}
}
 
return PLUGIN_CONTINUE;
}

Załączony plik  cod_shop.amxx   3,17 KB   3 Ilość pobrań
Odpowiedz

  • +
  • -
totoff - zdjęcie totoff 16.10.2011

amx menu it says Unknow for this plugin
Odpowiedz

  • +
  • -
Hiroshima - zdjęcie Hiroshima 16.10.2011

include content of error logs and plugins.ini
Odpowiedz

  • +
  • -
totoff - zdjęcie totoff 16.10.2011

I can not compile. sma mode because the version of COD MW2 is old

http://pastebin.com/BBrm0WrW
Odpowiedz

  • +
  • -
totoff - zdjęcie totoff 16.10.2011

There are a shop for COD MW2 in the link?
Odpowiedz

  • +
  • -
Hiroshima - zdjęcie Hiroshima 16.10.2011

I gave you shop here: http://amxx.pl/topic...post__p__308903

You've said that you want to have flashbang and hegrenade in this shop so there it is, in a seperate plugin.
Odpowiedz

  • +
  • -
totoff - zdjęcie totoff 16.10.2011

tkank you verry much
Odpowiedz

  • +
  • -
totoff - zdjęcie totoff 16.10.2011

i'm french so i speak english so that you understand
Odpowiedz

  • +
  • -
Hiroshima - zdjęcie Hiroshima 16.10.2011

Wiadomość wygenerowana automatycznie


Ten temat został zamknięty przez moderatora.

Powód: Solved

Jeśli się z tym nie zgadzasz, Dołączona grafika raportuj ten post, a moderator lub administrator rozpatrzy go ponownie.


Z pozdrowieniami,
Zespół AMXX.PL
Odpowiedz
Zablokowany