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

Subplugin Submission Zombie No Crosshair


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AnimalMonster
Senior Member
Join Date: May 2020
Old 07-02-2020 , 13:19   Zombie No Crosshair
Reply With Quote #1

Hey, in this post i will show you a code from someone else fixed ))

PHP Code:
#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()
    }
}
public 
zp_user_humanized_post(id,survivor)
{
    
message_begin(MSG_ONE_UNRELIABLEHideWeapon_id)
    
write_byte(2<<6)
    
message_end()

This is for the ones who didn't know to fix for they're self.
this will make the zombie gameplaty a little more interesting, it's my opinion
AnimalMonster is offline
AnimalMonster
Senior Member
Join Date: May 2020
Old 07-02-2020 , 13:26   Re: Zombie No Crosshair
Reply With Quote #2

I know it's copy paste but atleast it's something
AnimalMonster is offline
sayf118
Member
Join Date: Jul 2017
Old 07-08-2020 , 16:23   Re: Zombie No Crosshair
Reply With Quote #3

well done nice plugin (always be happy even you copy/paste or do any stupid thing..)
sayf118 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 08:13.


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