#include #include #include #include #include new bool:g_FreezeTime, bool:g_Vip[33], skoki[33]; public plugin_init(){ register_plugin("VIP Ultimate", "8.0.0.2", "benio101 & speedkill"); RegisterHam(Ham_Spawn, "player", "SpawnedEventPre", 1); RegisterHam(Ham_Item_PreFrame, "player", "fw_Player_ResetMaxSpeed", 1); register_logevent("logevent_round_start", 2, "1=Round_Start"); register_event("HLTV", "event_new_round", "a", "1=0", "2=0"); register_forward(FM_CmdStart, "CmdStartPre"); register_message(get_user_msgid("ScoreAttrib"), "VipStatus"); } public client_authorized(id){ if(get_user_flags(id) & 524288 == 524288){ client_authorized_vip(id); } } public client_authorized_vip(id){ g_Vip[id]=true; } public client_disconnect(id){ if(g_Vip[id]){ client_disconnect_vip(id); } } public client_disconnect_vip(id){ g_Vip[id]=false; } public SpawnedEventPre(id){ if(g_Vip[id]){ if(is_user_alive(id)){ SpawnedEventPreVip(id); } } } public SpawnedEventPreVip(id){ set_user_gravity(id, 450.0/800.0); skoki[id]=3; set_user_health(id, get_user_health(id)+100); give_item(id, "weapon_hegrenade"); cs_set_user_bpammo(id, CSW_HEGRENADE,2); give_item(id, "weapon_smokegrenade"); if(get_user_team(id)==2){ give_item(id, "item_thighpack"); } } public fw_Player_ResetMaxSpeed(id){ if(g_Vip[id]){ if(is_user_alive(id)){ fw_Player_ResetMaxSpeedVip(id); } } } public logevent_round_start(){ g_FreezeTime=false; } public event_new_round(){ g_FreezeTime=true; } public fw_Player_ResetMaxSpeedVip(id){ if(!g_FreezeTime){ set_user_maxspeed(id,get_user_maxspeed(id) + 280); } } public CmdStartPre(id, uc_handle){ if(g_Vip[id]){ if(is_user_alive(id)){ CmdStartPreVip(id, uc_handle); } } } public CmdStartPreVip(id, uc_handle){ 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]>0){ --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]!=-1){ skoki[id] = 3; } } public VipStatus(){ new id=get_msg_arg_int(1); if(is_user_alive(id) && g_Vip[id]){ set_msg_arg_int(2, ARG_BYTE, get_msg_arg_int(2)|4); } }
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse
Vip na pb
Started By
Bigbill
, 28.12.2012 15:05
4 replies to this topic
#1
Posted 28.12.2012 15:05
Mam vipa na pb i na początku rundy nie dodaje granatów co zrobic
#2 Gość_21977_*
Posted 28.12.2012 15:21
Daje 2 HE i SG.
Możliwe, że korzystasz z jakiegoś pluginu, który usuwa wszystkie bronie gracza, np. korzystając ze strip_user_weapons
Możliwe, że korzystasz z jakiegoś pluginu, który usuwa wszystkie bronie gracza, np. korzystając ze strip_user_weapons
#3 Gość_21977_*
Posted 28.12.2012 15:21
Automatyczna wiadomość
Ten temat został przeniesiony z forum
AMX Mod X → Pytania
do
AMX Mod X → Problemy z pluginami
Ten temat został przeniesiony z forum
AMX Mod X → Pytania
do
AMX Mod X → Problemy z pluginami
#4
Posted 28.12.2012 15:49
własnie nie korzystam
; AMX Mod X plugins ; Admin Base - Always one has to be activated admin.amxx ; admin base (required for any admin-related) ;admin_sql.amxx ; admin base - SQL version (comment admin.amxx) ; Basic admincmd.amxx ; basic admin console commands adminhelp.amxx ; help command for admin console commands adminslots.amxx ; slot reservation multilingual.amxx ; Multi-Lingual management ; Menus menufront.amxx ; front-end for admin menus cmdmenu.amxx ; command menu (speech, settings) plmenu.amxx ; players menu (kick, ban, client cmds.) ;telemenu.amxx ; teleport menu (Fun Module required!) mapsmenu.amxx ; maps menu (vote, changelevel) ; Chat / Messages adminchat.amxx ; console chat commands antiflood.amxx ; prevent clients from chat-flooding the server scrollmsg.amxx ; displays a scrolling message imessage.amxx ; displays information messages adminvote.amxx ; vote commands ; Map related nextmap.amxx ; displays next map in mapcycle mapchooser.amxx ; allows to vote for next map timeleft.amxx ; displays time left on map ; Configuration pausecfg.amxx ; allows to pause and unpause some plugins statscfg.amxx ; allows to manage stats plugins via menu and commands ; Counter-Strike ;restmenu.amxx ; restrict weapons menu statsx.amxx ; stats on death or round end (CSX Module required!) ;miscstats.amxx ; bunch of events announcement for Counter-Strike ;stats_logging.amxx ; weapons stats logging (CSX Module required!) ; Enable to use AMX Mod plugins ;amxmod_compat.amxx ; AMX Mod backwards compatibility layer ; Custom - Add 3rd party plugins here vip.amxx paintballgun.amxx paintballnade.amxx paintballmod.amxx parachute.amxx ;Spadochron c4countdown.amxx ;licznik c4 hpk.amxx ;kick za ping ptb.amxx ;balansowanie teamów easy_advertiser.amxx ;ogłoszenia mutemenu.amxx ;mutowanie gracza rangi.amxx ;rangi descriptive_fire_in_the_hole.amxx ;kolorowy granat w say grenade_trail.amxx ;linie za granatem abd.amxx ;bullet dmg Automaticknifeduel.amxx ;1 vs 1 na noże interp_raty.amxx ;raty adminlisten.amxx ;admin na say widzi wszystko godzina.amxx ;godzina admin_chat_colors.amxx ;kolor admin w say show_ips.amxx ;/ip afkkisss.amxx ;kick za afk afkbombtransfer.amxx ;drop bobm z afk Allow_round_finish.amxx ;powala dokonczyc runde No_advertisement.amxx ;anty ogłoszeniaproszę o pomoc
#5
Posted 28.12.2012 16:08
Sprobuj wpisac vip.amxx na koncu w tym plugins.ini, bo mozliwe ze ktorys z pluginów paintballa ma ustawionego stripa.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users