Raised This Month: $12 Target: $400
 3% 

Subplugin Submission [ZP] Zombie VIP 1.9.1


Post New Thread Reply   
 
Thread Tools Display Modes
Reddewill
Junior Member
Join Date: Jan 2013
Location: Serbia
Old 01-11-2014 , 13:43   Re: [ZP] Zombie VIP 1.7.2
Reply With Quote #1241

Hello
Gotcha vip plugin for zombie plague 4.3 i have a problem for all except multi jump here is vip.čfg
You can hapy hour before 00 say like 22-10

By which to use version 1.7.2 VIP



Quote:
//--------------------------------
// ZM_VIP v1.7.2 cvars file
// Author: aaarnas
//--------------------------------
// Changes loads only on server mapchange/restart/start.

// Base plugin cvars

zp_vip_jumps 1 // How many jumps can player do in air.
zp_vip_allow_jump abc // Allow multi-jump: a-human. b-zombie, c-survivor, d-nemesis. Write letters of classes witch you want to affect.
zp_vip_armor 65 // How much armour humans gets every spawn, [0-off]
zp_vip_killammo 5 // Extra ammo for kills [zombies and humans], [0-off]
zp_vip_infectammo 5 // Extra ammo for infecting humans [zombies], [0-off]
zp_vip_infecthealth 300 // Extra health witch zombies gets when infecting humans [0-off]
zp_vip_nemextra 1 // 1 - ignore extra health (zp_vip_infecthealth) for nemesis [0-don't ignore]
zp_vip_show 1 // Show connecting vips (in chat) [0-off]
zp_vip_unlimited_ammo 1 // 1 - Give vips unlimited clip for all guns [0-off]
zp_vip_no_fall_damage 1 // 1 - Disables fall damage for vips [0-off]
zp_vip_damage_reward 1000 // Damage done to get 1 ammo pack [0-off]. IMPORTANT: ZP mod always givving ammo in this type(If enabled). This cvar is seperate from main mod, so vips gets x2 ammo packs. One from mod, other from this plugin.
zp_vip_damage_increase 1.8 // How much increase humans attack demage (damage*cvar). [1.0 - off]
zp_vip_happy_hour 00-14 // Enables Happy Hour. Example: (zp_vip_hour 03-13) from 3h night, to 13h day. ['off' - off]
zp_vip_happy_hour_frag 1 // Gives extra frag for kills and infect
zp_vip_happy_hour_ammo 5 // Gives extra ammo packet for infect and kills
zp_vip_nonvip_tease 1 // Let non vip player open /vm menu, but they can't buy anything.

// MODE 2 cvars (they will work only then MODE is set to 2 or 3)

zp_vip_register_in_zp_extra 1 // Show VIP menu in Zombie Plague Extra items menu [0-off]
zp_vip_menu_close 1 // 1-will close menu, after extra item bought, 0 - don't
zp_vip_hour 00-14 // Gives vips for all players. Example: (zp_vip_hour 03-13) from 3h night, to 13h day all will get a free vip. ['off' - off]
zp_vip_hour_flags abe // Flags witch player gets (zp_vip_hour) active (check vips.ini)

// MODE 3 cvars (they will work only then MODE is set to 3)

zp_vip_cost_ammo 1000 // How much ammo will cost VIP, if buying it from extra items menu [0-just opens menu, when select "VIP Menu".]
zp_vip_buy_time 7 // days how long (days) players will have vip, when bought it for ammo. 0 - forever
zp_vip_buy_flags abcde // Flags witch player gets when buying vip (check vips.ini)
__________________
Reddewill is offline
Send a message via MSN to Reddewill Send a message via Skype™ to Reddewill
killer999
Senior Member
Join Date: Dec 2013
Location: India
Old 01-13-2014 , 08:44   Re: [ZP] Zombie VIP 1.7.2
Reply With Quote #1242

Quote:
Originally Posted by aaarnas View Post
@Yaseen, zm_vip doesn't use that constants itself. You have changed something yourself.
aaarnas please help
Please anyone solve this error
*/ making a zombie class for vip\*
i tried your steps but failed
*/ Tried the tutorial on
zp_zclass_tank.sma \*
*note:
* tested in zp 5.0.8
* error sma is attached check it out
Please let me know what the
mistakes i did!!!
THANKYOU!i
Attached Files
File Type: sma Get Plugin or Get Source (zp_zclass_tank.sma - 609 views - 9.9 KB)
killer999 is offline
Send a message via Skype™ to killer999
Erdener
Senior Member
Join Date: Apr 2010
Location: Turkey
Old 01-16-2014 , 07:35   Re: [ZP] Zombie VIP 1.7.2
Reply With Quote #1243

Turkish Translate:

Code:
[tr]
VIP_EXTRA_NAME = *VIP* Extra Itemler
INV_PAS = Gecersiz (setinfo _pw) sifre!
AUTHORISED = %s artik VIP. (SteamID: ^"%s^") (IP: ^"%s^") (Flags: ^"%s^")
VIP_CONNECTED = V.I.P oyuncusu %s sunucumuza tesvik ettiler.
VIP_STATUS_CON = Admin temas -- %s
VIP_STATUS_N = Hickimse
VIP_STATUS = Oyundaki VIP'lerimiz:
MISSING_AMMO = %d ammo pack eksik.
NO_ITEMS = Sinif icin ekstra urun bulunmamaktadir.
NOT_A_VIP = VIP uyesi degil.
OFF = Herhangi bir zm_vip eklentisi yuklu degildir.
BOUGHT_VIP = Basariyla %d gunluk VIP uyesi oldunuz.

MENU_TOP = VIP'ler icin ekstra itemler:
AMMO = Ammo
NEXT = Ileri
BACK = Geri
EXIT = Cikis

BUY_MENU_TOP = \yFiyat \r%d \yAmmo Pack. Sure - \r%d \yGun.^nKimlik Dogrulama Turunu Secin:
BUY_MENU_TYPE1 = Nick + Sifre\r(Ayarlar)
BUY_MENU_TYPE2 = SteamID\r(Satin Al)
BUY_MENU_TYPE3 = IP adres\r(Satin Al)

NICK_BUY_MENU_TOP = Sonradan nick degistiremezsin!^nconfig.cfg dosyasi salt okunur olarak denetlenemez!^n\ySifreniz: \w%s
NICK_BUY_MENU_TYPE1 = Rastgele Olustur
NICK_BUY_MENU_TYPE2 = Sifremi Nasil Degistirebilirim?
NICK_BUY_MENU_TYPE3 = Her sey tamam, satin alindi \r[\y%d \rammo packs.\y%d\r gunluk]

NICK_BUY_MENU_SEC_TOP = \yParolanizi ayarlamak istiyorsaniz, konsol'a \rsetinfo _pw\y parola yazin^nSifre olarak istediginiz her seyi yazabilirsiniz.
__________________
Erdener is offline
atalay22
Member
Join Date: Mar 2010
Old 01-22-2014 , 18:48   Re: [ZP] Zombie VIP 1.7.2
Reply With Quote #1244

first sorry for bad english

I want to from mode 2 zp_vip_hour 22-13 but
i change from sma file mode 3 to mode 2 but dont work it
How can i make for 22-13 open vip for all people?
atalay22 is offline
atalay22
Member
Join Date: Mar 2010
Old 01-23-2014 , 17:48   Re: [ZP] Zombie VIP 1.7.2
Reply With Quote #1245

please help vip hour dont work
atalay22 is offline
xenov
New Member
Join Date: Feb 2014
Old 02-06-2014 , 21:45   Re: [ZP] Zombie VIP 1.7.2
Reply With Quote #1246

There is a bug in this vip plugin.
When I try to buy extra item from vip menu (infection armor,guns...), my ammo is on the rise. it does not decrease.
Sorry for bad english :/
xenov is offline
LeBadit
Member
Join Date: Dec 2013
Location: Europe
Old 02-21-2014 , 07:53   Re: [ZP] Zombie VIP 1.7.2
Reply With Quote #1247

Needs models?
LeBadit is offline
Send a message via Yahoo to LeBadit Send a message via Skype™ to LeBadit
atalay22
Member
Join Date: Mar 2010
Old 03-18-2014 , 23:04   Re: [ZP] Zombie VIP 1.7.2
Reply With Quote #1248

up please help
__________________
atalay22 is offline
cr0w
Senior Member
Join Date: Mar 2014
Location: middle east
Old 03-29-2014 , 02:18   Re: [ZP] Zombie VIP 1.7.2
Reply With Quote #1249

i got some problem with add VIP menu to main Zombie plague menu

PHP Code:
// 1. Buy menu
    
if (LibraryExists(LIBRARY_BUYMENUSLibType_Library) && (get_pcvar_num(cvar_buy_custom_primary)
    || 
get_pcvar_num(cvar_buy_custom_secondary) || get_pcvar_num(cvar_buy_custom_grenades)) && is_user_alive(id))
        
len += formatex(menu[len], charsmax(menu) - len"\r1.\w %L^n"id"MENU_BUY")
    else
        
len += formatex(menu[len], charsmax(menu) - len"\d1. %L^n"id"MENU_BUY")
    
    
// 2. Extra Items
    
if (LibraryExists(LIBRARY_ITEMSLibType_Library) && is_user_alive(id))
        
len += formatex(menu[len], charsmax(menu) - len"\r2.\w %L^n"id"MENU_EXTRABUY")
    else
        
len += formatex(menu[len], charsmax(menu) - len"\d2. %L^n"id"MENU_EXTRABUY")
    
    
// 3. Zombie class
    
if (LibraryExists(LIBRARY_ZOMBIECLASSESLibType_Library) && zp_class_zombie_get_count() > 1)
        
len += formatex(menu[len], charsmax(menu) - len"\r3.\w %L^n"id"MENU_ZCLASS")
    else
        
len += formatex(menu[len], charsmax(menu) - len"\d3. %L^n"id"MENU_ZCLASS")
    
    
// 4. Human class
    
if (LibraryExists(LIBRARY_HUMANCLASSESLibType_Library) && zp_class_human_get_count() > 1)
        
len += formatex(menu[len], charsmax(menu) - len"\r4.\w %L^n"id"MENU_HCLASS")
    else
        
len += formatex(menu[len], charsmax(menu) - len"\d4. %L^n"id"MENU_HCLASS")
    
    
// 5. Unstuck
    
if (LibraryExists(LIBRARY_RANDOMSPAWNLibType_Library) && is_user_alive(id))
        
len += formatex(menu[len], charsmax(menu) - len"\r5.\w %L^n"id"MENU_UNSTUCK")
    else
        
len += formatex(menu[len], charsmax(menu) - len"\d5. %L^n"id"MENU_UNSTUCK")
    
    
// 6. Help
    
len += formatex(menu[len], charsmax(menu) - len"\r6.\w %L^n^n"id"MENU_INFO")
    
    
// 7. Choose Team
    
len += formatex(menu[len], charsmax(menu) - len"\r7.\w %L^n^n"id"MENU_CHOOSE_TEAM")
    
    
// 9. Admin menu
    
if (LibraryExists(LIBRARY_ADMIN_MENULibType_Library) && is_user_admin(id))
        
len += formatex(menu[len], charsmax(menu) - len"\r9.\w %L"id"MENU_ADMIN")
    else
        
len += formatex(menu[len], charsmax(menu) - len"\d9. %L"id"MENU_ADMIN")
    
    
// 0. Exit
    
len += formatex(menu[len], charsmax(menu) - len"^n^n\r0.\w %L"id"MENU_EXIT"
and more

PHP Code:
case 1// Extra Items
        
{
            
// Items enabled?
            
if (LibraryExists(LIBRARY_ITEMSLibType_Library))
            {
                
// Check whether the player is able to buy anything
                
if (is_user_alive(id))
                    
zp_items_show_menu(id)
                else
                    
zp_colored_print(id"%L"id"CANT_BUY_ITEMS_DEAD")
            }
            else
                
zp_colored_print(id"%L"id"CMD_NOT_EXTRAS")
        }
        case 
2// Zombie Classes
        
{
            if (
LibraryExists(LIBRARY_ZOMBIECLASSESLibType_Library) && zp_class_zombie_get_count() > 1)
                
zp_class_zombie_show_menu(id)
            else
                
zp_colored_print(id"%L"id"CMD_NOT_ZCLASSES")
        }
        case 
3// Human Classes
        
{
            if (
LibraryExists(LIBRARY_HUMANCLASSESLibType_Library) && zp_class_human_get_count() > 1)
                
zp_class_human_show_menu(id)
            else
                
zp_colored_print(id"%L"id"CMD_NOT_HCLASSES")
        }
        case 
4:
        {
            
// Check if player is stuck
            
if (LibraryExists(LIBRARY_RANDOMSPAWNLibType_Library) && is_user_alive(id))
            {
                if (
is_player_stuck(id))
                {
                    
// Move to an initial spawn
                    
if (get_pcvar_num(cvar_random_spawning))
                        
zp_random_spawn_do(idtrue// random spawn (including CSDM)
                    
else
                        
zp_random_spawn_do(idfalse// regular spawn
                
}
                else
                    
zp_colored_print(id"%L"id"CMD_NOT_STUCK")
            }
            else
                
zp_colored_print(id"%L"id"CMD_NOT")
        }
        case 
5// Help Menu
        
{
            
show_help(id)
        }
        case 
6// Menu override
        
{
            
flag_unset(g_ChooseTeamOverrideActiveid)
            
client_cmd(id"chooseteam")
        }
        case 
8// Admin Menu
        
{
            if (
LibraryExists(LIBRARY_ADMIN_MENULibType_Library) && is_user_admin(id))
                
zp_admin_menu_show(id)
            else
                
zp_colored_print(id"%L"id"NO_ADMIN_MENU")
        }
    }
    
    return 
PLUGIN_HANDLED;


pleas some one add vip menu code to this codes

thank !
cr0w is offline
Send a message via Yahoo to cr0w Send a message via Skype™ to cr0w
K4rim
Senior Member
Join Date: Oct 2013
Location: Malaysia
Old 03-30-2014 , 01:01   Re: [ZP] Zombie VIP 1.7.2
Reply With Quote #1250

zp50_main_menu with vip
Attached Files
File Type: sma Get Plugin or Get Source (zp50_main_menu.sma - 712 views - 8.6 KB)
K4rim is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode