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

Subplugin Submission [ZP] Extra Item: Balrog Ethereal


Post New Thread Reply   
 
Thread Tools Display Modes
Mark.uG
AlliedModders Donor
Join Date: Oct 2014
Old 03-05-2016 , 21:47   Re: [ZP] Extra Item: Balrog Ethereal FIXED
Reply With Quote #21

In case someone has issues with zp50 version heres the edit.

Code:
new g_clipammo[33], g_has_balrog[33], g_itemid, g_hamczbots, g_laserbeam_spr g_event_balrog, g_primaryattack, cvar_balrog_damage_x, cvar_balrog_bpammo, cvar_balrog_shotspd, cvar_balrog_oneround, cvar_balrog_clip, cvar_botquota;
to

Code:
new g_clipammo[33], g_has_balrog[33], g_itemid, g_hamczbots, g_laserbeam_spr, g_event_balrog, g_primaryattack, cvar_balrog_damage_x, cvar_balrog_bpammo, cvar_balrog_shotspd, cvar_balrog_oneround, cvar_balrog_clip, cvar_botquota;
Reupload to take out bug <If bought it would give you 2 Balrog and drop one one the ground!>

This
Code:
public zp_extra_item_selected(player, itemid)
{
    if (itemid == g_itemid)
    {
        client_print(player, print_chat, "[ZP] You bought %s.", ITEM_NAME);
        command_give_balrog(player);
    }
}

public zp_fw_items_select_pre(id, itemid)
{
    if(itemid != g_itemid) return ZP_ITEM_AVAILABLE;
    
    if(zp_core_is_zombie(id)) return ZP_ITEM_DONT_SHOW;
    
    if(g_has_balrog[id])
    {
        zp_items_menu_text_add("\r[Buyed]")
        return ZP_ITEM_NOT_AVAILABLE;
    }
    return ZP_ITEM_AVAILABLE;
}

public zp_fw_items_select_post(player, itemid)
{
    if(itemid != g_itemid)
        return;
    
    command_give_balrog(player);
}
To this
Code:
public zp_extra_item_selected(player, itemid)
{
    if(itemid != g_itemid)
        return;
    
    command_give_balrog(player);
}
Attached Files
File Type: sma Get Plugin or Get Source (zp50_extra_balrog_ethereal.sma - 582 views - 12.0 KB)

Last edited by Mark.uG; 03-05-2016 at 22:05. Reason: Forgot the code
Mark.uG is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 03-06-2016 , 07:19   Re: [ZP] Extra Item: Balrog Ethereal FIXED
Reply With Quote #22

Hmm, thank you bro, I dont have experience in codes of plugins from zombie plague 5.0, you want to help me in my extra items? you could switch to zp 5.0.

I added your credits in the plugin.
__________________









Last edited by CrazY.; 03-06-2016 at 07:22.
CrazY. is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 03-06-2017 , 20:06   Re: [ZP] Extra Item: Balrog Ethereal
Reply With Quote #23

Quote:
Originally Posted by botz View Post
7 days and no fix yet? Can you please post the fix now..?
Hello bro, your problem now is fixed, test and see. sorry for the long delay...

Quote:
PHP Code:
v1.4
Updated all the code;
Fixed sound events bug;
Fixed the weapon clip bug
__________________









Last edited by CrazY.; 03-06-2017 at 20:10.
CrazY. is offline
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 03-11-2017 , 04:14   Re: [ZP] Extra Item: Balrog Ethereal [NEW UPDATE!!!]
Reply With Quote #24

Etheral usually shoots deadly red lasers.
__________________
Relaxing is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 03-14-2017 , 18:23   Re: [ZP] Extra Item: Balrog Ethereal
Reply With Quote #25

Update: 03/14/17.

Quote:
PHP Code:
v1.5: (Mar 2017
Updated all the codeadded explosion effectadded new cvarsfixed world sound bugfixed mistakes with the clip and bpammo
Any suggestion is welcome! Enjoy your gun, make good use. If someone who works with zp50 are interested to help me with these items, please contact us.
__________________









Last edited by CrazY.; 03-14-2017 at 18:41.
CrazY. is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 03-20-2017 , 19:12   Re: [ZP] Extra Item: Balrog Ethereal
Reply With Quote #26

Quote:
PHP Code:
v1.6: (Mar 2017)  
Added custom weapon list; 
__________________








CrazY. is offline
real sap
Member
Join Date: Aug 2015
Location: India
Old 05-10-2020 , 19:18   Re: [ZP] Extra Item: Balrog Ethereal
Reply With Quote #27

@CrazY. it would be great if you make 1 version for survivor only (Zp 4.3). I have tried zmd94 version major bug in that.
real sap is offline
Send a message via Skype™ to real sap
Reply


Thread Tools
Display Modes

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 14:23.


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