Raised This Month: $ Target: $400
 0% 

Plugin Modification


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
rodrigo286
Veteran Member
Join Date: Sep 2010
Location: Brazil, São Paulo
Old 01-07-2011 , 11:44   Re: Plugin Modification
Reply With Quote #6

I tried to glow in a class with the following command:

PHP Code:
screen_fade(id,1,1,random_num(0,255),random_num(0,255),random_num(0,255),50
PHP Code:
case 6:  
                { 
                        
g_player_class[id] = 
                        fm_remove_model_ents
(id
                        if (!
pev_valid(g_ent_playermodel[id])) 
                        { 
                                
g_ent_playermodel[id] = engfunc(EngFunc_CreateNamedEntityengfunc(EngFunc_AllocString"info_target")); 
                                
set_user_rendering(id,kRenderFxNone,0,0,0,kRenderTransAlpha,1
                                
set_pev(g_ent_playermodel[id], pev_classname"player_model"
                                
set_pev(g_ent_playermodel[id], pev_movetypeMOVETYPE_FOLLOW
                                
set_pev(g_ent_playermodel[id], pev_aimentid
                                
set_pev(g_ent_playermodel[id], pev_ownerid
                                                                               
// Change name of your model below. 
                                
engfunc(EngFunc_SetModelg_ent_playermodel[id], "models/player/zk_ada_re/zk_ada_re.mdl"
                                
fm_set_weaponmodel_ent(id
                        } 
                        
set_user_health(id150
                        
set_user_armor(id35
                        
set_user_gravity(id1.00)
                        
set_user_rendering(id,kRenderFxGlowShell,random_num(0,255),random_num(0,255),random_num(0,255),kRenderNormal,20);
                        
client_print(idprint_chat,"[SemxorA] Seu personagem e: Ada - A piriguete Iluminada (Glow + 35 colete)"); 
                } 
did not work
rodrigo286 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 02:06.


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