Kiedy wpisze "/drop" wyrzuca się p...
CzarNNaninJJa^^ 10.05.2014
Witam, proszę o pomoc !!
Kiedy mam jakiś perk i wpisze "/drop" wyrzucają się także wszystkie bronie !!
I zostaje sam nóż.
Ale te bronie "wyparowywują" bo nie ma ich na ziemi !!
Proszę o pomoc
Rivit
11.05.2014
podaj więcej info. Lista pluginów (cod tez).
Wpisz amxx cmds i podaj to co wyskoczy.
CzarNNaninJJa^^ 11.05.2014
Proszę
Registered commands: name access type plugin [ 1] +dellaser client codperk_minalas [ 2] -dellaser client codperk_minalas [ 3] OddajPerk client OddajPerk.amxx [ 4] amx_addban d console admincmd.amxx [ 5] amx_addclientmenuitem server menufront.amxx [ 6] amx_addmenuitem server menufront.amxx [ 7] amx_ban d console amxbans_main.am [ 8] amx_ban d console admincmd.amxx [ 9] amx_bandisconnectedmenu d client amxbans_main.am [ 10] amx_banhistorymenu d client amxbans_main.am [ 11] amx_banip d console amxbans_main.am [ 12] amx_banip d console admincmd.amxx [ 13] amx_banmenu d client amxbans_main.am [ 14] amx_banmenu d client plmenu.amxx [ 15] amx_banreason d client plmenu.amxx [ 16] amx_cancelvote j console adminvote.amxx [ 17] amx_cfg h console admincmd.amxx [ 18] amx_cfgmenu u client cmdmenu.amxx [ 19] amx_changecvar client pluginmenu.amxx [ 20] amx_chat i console adminchat.amxx [ 21] amx_clcmdmenu m client plmenu.amxx [ 22] amx_cmdmenu u client cmdmenu.amxx [ 23] amx_csay i console adminchat.amxx [ 24] amx_customkickreason c client reasonkicker.am [ 25] amx_cvar g console admincmd.amxx [ 26] amx_cvarmenu g client cmdmenu.amxx [ 27] amx_executecmd client pluginmenu.amxx [ 28] amx_flaggingmenu d client amxbans_main.am [ 29] amx_help console adminhelp.amxx [ 30] amx_imessage server imessage.amxx [ 31] amx_kick c console admincmd.amxx [ 32] amx_kickmenu c client reasonkicker.am [ 33] amx_kickmenu c client plmenu.amxx [ 34] amx_langmenu client multilingual.am [ 35] amx_last d console admincmd.amxx [ 36] amx_leave c console admincmd.amxx [ 37] amx_list l server amxbans_main.am [ 38] amx_map f console admincmd.amxx [ 39] amx_mapmenu f client mapsmenu.amxx [ 40] amx_menu client menufront.amxx [ 41] amx_modules y console admincmd.amxx [ 42] amx_nick e console admincmd.amxx [ 43] amx_off h console pausecfg.amxx [ 44] amx_on h console pausecfg.amxx [ 45] amx_pause g console admincmd.amxx [ 46] amx_pausecfg h console pausecfg.amxx [ 47] amx_pausecfgmenu h client pausecfg.amxx [ 48] amx_plmenu_bantimes server plmenu.amxx [ 49] amx_plmenu_slapdmg server plmenu.amxx [ 50] amx_plugincmdmenu u client pluginmenu.amxx [ 51] amx_plugincvarmenu g client pluginmenu.amxx [ 52] amx_plugins y console admincmd.amxx [ 53] amx_psay i console adminchat.amxx [ 54] amx_rcon l client admincmd.amxx [ 55] amx_reloadadmins h console amxbans_core.am [ 56] amx_reloadreasons h console amxbans_main.am [ 57] amx_say i console adminchat.amxx [ 58] amx_screen d console Admin_Screen3v1 [ 59] amx_scrollmsg server scrollmsg.amxx [ 60] amx_setflagtimes server amxbans_main.am [ 61] amx_sethighbantimes server amxbans_main.am [ 62] amx_setlang h console multilingual.am [ 63] amx_setlowbantimes server amxbans_main.am [ 64] amx_showrcon l client admincmd.amxx [ 65] amx_slap e console admincmd.amxx [ 66] amx_slapmenu e client plmenu.amxx [ 67] amx_slay e console admincmd.amxx [ 68] amx_speechmenu u client cmdmenu.amxx [ 69] amx_sqladmins server amxbans_core.am [ 70] amx_statscfg h console statscfg.amxx [ 71] amx_statscfgmenu h client statscfg.amxx [ 72] amx_statsx_mode h server statsx.amxx [ 73] amx_teammenu m client plmenu.amxx [ 74] amx_time_display server timeleft.amxx [ 75] amx_tsay i console adminchat.amxx [ 76] amx_unban d console amxbans_main.am [ 77] amx_unban d console admincmd.amxx [ 78] amx_vote j console adminvote.amxx [ 79] amx_voteban j console adminvote.amxx [ 80] amx_votebanreason d client adminvote.amxx [ 81] amx_votekick j console adminvote.amxx [ 82] amx_votemap j console adminvote.amxx [ 83] amx_votemapmenu j client mapsmenu.amxx [ 84] amx_who y console admincmd.amxx [ 85] amxauthTDMT client amxbans_core.am [ 86] amxbans_custombanreason d client amxbans_main.am [ 87] amxmodmenu u client menufront.amxx [ 88] blabla client codperk_PoleMin [ 89] eog_przeladuj c console EOG.amxx [ 90] fullupdate client QTM_CodMod.amxx [ 91] ile client cod_adminmenu.a [ 92] pauseAck client admincmd.amxx [ 93] radio3 client QTM_CodMod.amxx [ 94] say i client adminchat.amxx [ 95] say client antiflood.amxx [ 96] say client amxbans_freeze. [ 97] say /class client QTM_CodMod.amxx [ 98] say /classinfo client QTM_CodMod.amxx [ 99] say /codadmin a client cod_adminmenu.a [100] say /daj client OddajPerk.amxx [101] say /drop client QTM_CodMod.amxx [102] say /hp client statsx.amxx [103] say /item client QTM_CodMod.amxx [104] say /klasa client QTM_CodMod.amxx [105] say /klasy client QTM_CodMod.amxx [106] say /last client RoundSound.amxx [107] say /me client statsx.amxx [108] say /oddaj client OddajPerk.amxx [109] say /perk client QTM_CodMod.amxx [110] say /perki client QTM_CodMod.amxx [111] say /perks client QTM_CodMod.amxx [112] say /pomoc client QTM_CodMod.amxx [113] say /przedmiot client QTM_CodMod.amxx [114] say /rank client statsx.amxx [115] say /rankstats client statsx.amxx [116] say /report client statsx.amxx [117] say /reset client QTM_CodMod.amxx [118] say /roundsound client RoundSound.amxx [119] say /rs client RoundSound.amxx [120] say /score client statsx.amxx [121] say /shop client cod_shop.amxx [122] say /sklep client cod_shop.amxx [123] say /stats client statsx.amxx [124] say /statsme client statsx.amxx [125] say /staty client QTM_CodMod.amxx [126] say /statystyki client QTM_CodMod.amxx [127] say /switch client statsx.amxx [128] say /top15 client statsx.amxx [129] say /wymien client wymiana_perkami [130] say /wyrzuc client QTM_CodMod.amxx [131] say /zamien client wymiana_perkami [132] say currentmap client nextmap.amxx [133] say ff client nextmap.amxx [134] say nextmap client nextmap.amxx [135] say thetime client timeleft.amxx [136] say timeleft client timeleft.amxx [137] say_team client adminchat.amxx [138] say_team client antiflood.amxx [139] say_team client amxbans_freeze. [140] say_team /hp client statsx.amxx [141] say_team /last client RoundSound.amxx [142] say_team /me client statsx.amxx [143] say_team /rank client statsx.amxx [144] say_team /rankstats client statsx.amxx [145] say_team /report client statsx.amxx [146] say_team /roundsound client RoundSound.amxx [147] say_team /rs client RoundSound.amxx [148] say_team /score client statsx.amxx [149] say_team /stats client statsx.amxx [150] say_team /statsme client statsx.amxx [151] say_team /switch client statsx.amxx [152] say_team /top15 client statsx.amxx [153] useperk client QTM_CodMod.amxx 153 commands
CzarNNaninJJa^^ 11.05.2014
Noo być może to przez item .... bo po ich wgraniu są bugi.
Np. Wszyscy mają 1/1 z HE
.sma Zaraz podam ...
//Ale nie wiem czy całe moge dać bo było sporo modyfikowane (odpłatnie również)
CzarNNaninJJa^^ 11.05.2014
Mam winowajcę !!
http://wklej.to/N4qiW
Co tu jest nie "tak" ??
Kiedy to wyłączę, wszystko działa ...
// A tu dam w kodzie: Chociaż na wklejce lepiej
#include <amxmodx> #include <codmod> #include <engine> #include <fun> #include <hamsandwich> #include <StripWeapons> #include <fakemeta> #include <fakemeta_util> new const nazwa[] = "Stalker"; new const opis[] = "Jest niewidzialny, mniejsza grawitacja, 3 podskoki, 1HP oraz 1/2 z noza."; new const bronie = 0; new const zdrowie = -99; new const kondycja = 40; new const inteligencja = 0; new const wytrzymalosc = 0; new skoki[33]; new ma_klase[33], bylo[33]; public plugin_init() { register_plugin(nazwa, "1.0", "CzarNNaninJJa pomocny Rivit jak zawsze"); cod_register_class(nazwa, opis, bronie, zdrowie, kondycja, inteligencja, wytrzymalosc); RegisterHam(Ham_Spawn, "player", "fwSpawn_Grawitacja", 1); register_forward(FM_CmdStart, "fwCmdStart_MultiJump"); register_event("Health", "Health", "be") } public cod_class_enabled(id) { set_rendering(id,kRenderFxNone, 0, 0, 0, kRenderTransAlpha, 5); fm_set_user_health(id, 1) entity_set_float(id, EV_FL_gravity, 450.0/800.0); ma_klase[id] = true; bylo[id] = false } public cod_class_disabled(id) { set_rendering(id,kRenderFxNone, 0, 0, 0, kRenderTransAlpha, 255); entity_set_float(id, EV_FL_gravity, 1.0); ma_klase[id] = false; bylo[id] = false } public fwSpawn_Grawitacja(id) { if(ma_klase[id]) { fm_strip_user_weapons(id) entity_set_float(id, EV_FL_gravity, 450.0/800.0); set_user_health(id, 1) if(!bylo[id]) { cod_set_user_bonus_health(id, 0) bylo[id] = true } strip(id) fm_set_user_health(id, 1); } return HAM_IGNORED } public Health(id) { if(ma_klase[id] && is_user_alive(id) && read_data(1) > 1) fm_set_user_health(id, 1); } public cod_perk_changed(id) strip(id) strip(id) { StripWeapons(id, Primary); StripWeapons(id, Secondary); StripWeapons(id, Grenades); fm_give_item(id, "weapon_knife") } public cod_class_changed(id, klasa) { if(klasa == cod_get_classid("Stalker")) { fm_set_user_health(id, 1); strip(id) } } public fwCmdStart_MultiJump(id, uc_handle) { if(!is_user_alive(id) || !ma_klase[id]) return FMRES_IGNORED; new flags = pev(id, pev_flags); if((get_uc(uc_handle, UC_Buttons) & IN_JUMP) && !(flags & FL_ONGROUND) && !(pev(id, pev_oldbuttons) & IN_JUMP) && skoki[id]) { skoki[id]--; new Float:velocity[3]; pev(id, pev_velocity,velocity); velocity[2] = random_float(265.0,285.0); set_pev(id, pev_velocity,velocity); } else if(flags & FL_ONGROUND) skoki[id] = 2; return FMRES_IGNORED; }
Użytkownik CzarNNaninJJa^^ edytował ten post 11.05.2014 12:55
MalySzkrab4k
13.05.2014
strip(id)
strip(id)
{
StripWeapons(id, Primary);
StripWeapons(id, Secondary);
StripWeapons(id, Grenades);
fm_give_item(id, "weapon_knife")
}
{
StripWeapons(id, Primary);
StripWeapons(id, Secondary);
StripWeapons(id, Grenades);
fm_give_item(id, "weapon_knife")
}
wtedy usun strip(id) z funkcji ktora odpowiada za wyrzucenie perka
public cod_perk_changed(id)
strip(id)
Użytkownik MalySzkrab4k edytował ten post 13.05.2014 03:49