Raised This Month: $ Target: $400
 0% 

visiblity only with nightvision


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Owner123
Member
Join Date: Jun 2010
Old 06-24-2010 , 14:09   Re: visiblity only with nightvision
Reply With Quote #2

PHP Code:
#include <amxmodx>
#include <cstrike>
#include <fakemeta>

new bool:gInvisibilty[33]
public 
plugin_init()
{
    
register_plugin("Blah blah blah""0.666""Owner")
    
register_forward(FM_AddToFullPack"fwAddToFullPack")
}

public 
fwAddToFullPack(ent_stateeenthosthostflagsplayerpSet)
{
    if(
gInvisibilty[e] && !cs_get_user_nvg(host))
        return 
FMRES_SUPERCEDE
    
    
return FMRES_IGNORED

And use set_entity_visibility(id, 1).
__________________
Sorry for my bad english !
Owner123 is offline
 



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:57.


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