Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Zombie VIP 1.9.1


Post New Thread Reply   
 
Thread Tools Display Modes
internel
Member
Join Date: Nov 2012
Old 12-24-2014 , 10:50   Re: [ZP] Zombie VIP 1.9.1
Reply With Quote #1491

hey, I was compiling this plugin with Amx 1.8.3 and I got 2 warnings,
Quote:
AMX Mod X Compiler 1.8.3-dev+15528c9
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2013 AMX Mod X Team

Warning: Unreachable code on line 2044
Warning: Unreachable code on line 2073
Header size: 5584 bytes
Code size: 80308 bytes
Data size: 47688 bytes
Stack/heap size: 16384 bytes
Total requirements: 149964 bytes

2 Warnings.
Done.
the lines are:

PHP Code:
stock zv_get_currency() {
#if MODIFICATION == NEW
    
if (is_module_ammopacks_loaded)
        return 
CURRENCY_AMMO_PACKS;
    else
        return 
CURRENCY_MONEY;
#endif
    
return CURRENCY_AMMO_PACKS//Line 2044
}

/* ----- */

stock zv_currency_get(id) {
#if MODIFICATION == NEW
    
if (is_module_ammopacks_loaded)
        return 
zp_ammopacks_get(id)
    else
        return 
cs_get_user_money(id)
    
    return 
0//Line 2073
#else
    
return zp_get_user_ammo_packs(id)
#endif

does anyone know how to fix this? :S

Last edited by internel; 12-24-2014 at 10:52.
internel is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 12-24-2014 , 11:23   Re: [ZP] Zombie VIP 1.9.1
Reply With Quote #1492

PHP Code:
stock zv_get_currency() {
#if MODIFICATION == NEW
    
if (is_module_ammopacks_loaded)
        return 
CURRENCY_AMMO_PACKS;
    else
        return 
CURRENCY_MONEY;
#else
    
return CURRENCY_AMMO_PACKS//Line 2044
#endif
}

/* ----- */

stock zv_currency_get(id) {
#if MODIFICATION == NEW
    
if (is_module_ammopacks_loaded)
        return 
zp_ammopacks_get(id)
    else
        return 
cs_get_user_money(id)
#else
    
return zp_get_user_ammo_packs(id)
#endif

__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Old 12-24-2014, 11:41
New.ZM.Life
This message has been deleted by New.ZM.Life. Reason: solved
internel
Member
Join Date: Nov 2012
Old 12-24-2014 , 11:43   Re: [ZP] Zombie VIP 1.9.1
Reply With Quote #1493

Quote:
Originally Posted by georgik57 View Post
PHP Code:
stock zv_get_currency() {
#if MODIFICATION == NEW
    
if (is_module_ammopacks_loaded)
        return 
CURRENCY_AMMO_PACKS;
    else
        return 
CURRENCY_MONEY;
#else
    
return CURRENCY_AMMO_PACKS//Line 2044
#endif
}

/* ----- */

stock zv_currency_get(id) {
#if MODIFICATION == NEW
    
if (is_module_ammopacks_loaded)
        return 
zp_ammopacks_get(id)
    else
        return 
cs_get_user_money(id)
#else
    
return zp_get_user_ammo_packs(id)
#endif

thank you very much

I have another error:

Quote:
Plugin "zm_vip.amxx" failed to load: Plugin uses an unknown function (name "zp_items_register") - check your modules.ini.
any ideas? :S

Last edited by internel; 12-24-2014 at 12:27.
internel is offline
New.ZM.Life
Veteran Member
Join Date: Sep 2014
Location: Iran
Old 12-24-2014 , 16:45   Re: [ZP] Zombie VIP 1.9.1
Reply With Quote #1494

I installed amxmodx 1.8.3 to test this zm vip 1.9.1

I have a problem:
When I say /vm,I have to buy vip first,after buying vip,when I see /vm,zp extra items menu comes up!
This version doesnt have vip extra items menu like zm vip 1.7.2?
__________________
PLUGINS

Zombie Plague 5.0 + New Modes

Added NightCrawler Mode to ZP





New.ZM.Life is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 12-24-2014 , 21:06   Re: [ZP] Zombie VIP 1.9.1
Reply With Quote #1495

Quote:
Plugin "zm_vip.amxx" failed to load: Plugin uses an unknown function (name "zp_items_register") - check your modules.ini.
So, do you have zm_vip.inc in your include folder?
zmd94 is offline
internel
Member
Join Date: Nov 2012
Old 12-25-2014 , 09:45   Re: [ZP] Zombie VIP 1.9.1
Reply With Quote #1496

Quote:
Originally Posted by zmd94 View Post
So, do you have zm_vip.inc in your include folder?
I do :S

(my server is running in a Linux OS)
internel is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 12-25-2014 , 09:58   Re: [ZP] Zombie VIP 1.9.1
Reply With Quote #1497

Which AMX version that your server use?
zmd94 is offline
internel
Member
Join Date: Nov 2012
Old 12-25-2014 , 10:02   Re: [ZP] Zombie VIP 1.9.1
Reply With Quote #1498

Quote:
Originally Posted by zmd94 View Post
Which AMX version that your server use?
I recently installed the 1.8.3 version, because that was the only way I could compile the plugin
internel is offline
haizie fitri
New Member
Join Date: Dec 2014
Old 12-29-2014 , 07:55   Re: [ZP] Zombie VIP 1.9.1
Reply With Quote #1499

the gravity doesnt work pls fix it ill be waiting for it im using ZP 5.0.5
haizie fitri is offline
sonix100
Junior Member
Join Date: Oct 2013
Old 12-30-2014 , 10:08   Re: [ZP] Zombie VIP 1.9.1
Reply With Quote #1500

http://prntscr.com/5mmgc7 bazooka and anti infection armor is vip items.. how delete 2 items and make menu *VIP* Extra Items.....
sonix100 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 23:55.


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