Raised This Month: $32 Target: $400
 8% 

Subplugin Submission [ZP] Bazooka + New Modes v1.6


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 01-16-2015 , 22:49   Re: [ZP] Bazooka + New Modes v1.6
Reply With Quote #30

Code:
#if defined ADMIN_BAZOOKA
public AdminBazooka(id)
{
    if (g_hasbazooka[id] && zp_get_user_nemesis(id) || zp_get_user_zombie(id) || zp_get_user_survivor(id))
        return;

    if (is_user_alive(id) && (get_user_flags(id) & BAZOOKA_ACCESS))
    {
        g_hasbazooka[id] = true
        LastShoot[id] = 0.0
        emit_sound(id, CHAN_WEAPON, "items/gunpickup2.wav", VOL_NORM, ATTN_NORM, 0, PITCH_NORM)
        bazooka_message(id, "^x04[ZP]^x01 You got a Bazooka! [Attack2: Change modes] [Reload:^x04 %2.1f^x01 seconds]", get_pcvar_float(pcvar_delay))
    }
}
#endif
-->
Code:
#if defined ADMIN_BAZOOKA
public AdminBazooka(id)
{
    if (!is_user_alive(id) || g_hasbazooka[id] && zp_get_user_nemesis(id) || zp_get_user_zombie(id) || zp_get_user_survivor(id))
        return;

    if (get_user_flags(id) & BAZOOKA_ACCESS)
    {
        g_hasbazooka[id] = true
        LastShoot[id] = 0.0
        emit_sound(id, CHAN_WEAPON, "items/gunpickup2.wav", VOL_NORM, ATTN_NORM, 0, PITCH_NORM)
        bazooka_message(id, "^x04[ZP]^x01 You got a Bazooka! [Attack2: Change modes] [Reload:^x04 %2.1f^x01 seconds]", get_pcvar_float(pcvar_delay))
    }
}
#endif
zmd94 is offline
 


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 03:40.


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