Raised This Month: $ Target: $400
 0% 

Invisible


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Mr.Noobie
BANNED
Join Date: Apr 2009
Old 08-29-2009 , 05:34   Re: Invisible
Reply With Quote #8

Quote:
Originally Posted by hzqst View Post
PHP Code:
register_forward(FM_AddToFullPack,"fw_AddToFullPack_Post",1
PHP Code:
public fw_AddToFullPack_Post(es_handle,e,ent,host,hostflags,player,pSet){
 if(!
playerFMRES_IGNORED
//the code
//host = id
//ent = the entity you saw
 
return FMRES_IGNORED


I don't understand.

Here is the code:

PHP Code:
/*================================================================================
 
    -----------------------------------
    -*- [ZP] Class : asdsadadad -*-
    -----------------------------------
 
    ~~~~~~~~~~~~~~~
    - Description -
    ~~~~~~~~~~~~~~~
 
    asddasdsads.
 
================================================================================*/
#include <amxmodx>
#include <zombieplague>
#include <fun>
 
new g_zclass_asdsa
 
new const zclass_name[] = { "asdsa" }
new const 
zclass_info[] = { "asd" }
new const 
zclass_model[] = { "asd" }
new const 
zclass_clawmodel[] = { "v_knife_bloody.mdl" }
const 
zclass_health 1500
const zclass_speed 270
const Float:zclass_gravity 1.0
const Float:zclass_knockback 1.0
 
public plugin_init()
{
        
register_plugin"[ZP] Class : asd""1.0""asd" )
        
register_forwardFM_AddToFullPack"fw_AddToFullPack_Post")  
}
 
public 
plugin_precache()
{
 
g_zclass_asdsa zp_register_zombie_class(zclass_namezclass_infozclass_modelzclass_clawmodelzclass_healthzclass_speedzclass_gravityzclass_knockback)
}
 
public 
zp_user_infected_postidinfector )
{
 if ( 
zp_get_user_zombie_classid ) == g_zclass_asdsa )
 {
             
set_user_renderingidkRenderFxGlowShell000kRenderTransAlpha)
 }
}

public 
fw_AddToFullPack_Postes_handleeent,hosthostflagsplayerpSet )
{
    if ( !
player FMRES_IGNORED
    
es_handleES_RenderModekRenderTransTexture )
    
set_eses_handleES_RenderAmt70 )
    return 
FMRES_IGNORED

Like this ?
Mr.Noobie 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 15:15.


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