Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP][Addon] No crosshair for zombies


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 05-06-2009 , 10:46   [ZP][Addon] No crosshair for zombies
Reply With Quote #1

Simple plugin.

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <zombieplague>

#define PLUGIN "No crosshair for zombies"
#define VERSION "1.0"
#define AUTHOR "Sn!ff3r"

new HideWeapon

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)    
    
    
register_event("CurWeapon""CurWeapon""be""1!0""2=29")
    
HideWeapon get_user_msgid("HideWeapon")
}

public 
CurWeapon(id
{
    if(
zp_get_user_zombie(id) || zp_get_user_nemesis(id))
    {
        
message_begin(MSG_ONE_UNRELIABLEHideWeapon_id)
        
write_byte(1<<6)
        
message_end()
    }

Attached Files
File Type: sma Get Plugin or Get Source (zp_no_crosshair.sma - 5201 views - 587 Bytes)
__________________
Join US - custom Zombie Server - Custom Addons:




Last edited by Sn!ff3r; 05-06-2009 at 17:33.
Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
 



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 16:53.


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