Raised This Month: $ Target: $400
 0% 

Is this possible?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 04-16-2012 , 14:05   Re: Is this possible?
Reply With Quote #4

Then, try this:

PHP Code:
public OnPlayerHurtVictimInflictorAttacker )
{
  if( 
Attacker && Attacker 33 && IsNightCrawlerAttacker ] && !IsModelledAttacker ] )
  {
    
IsModelledAttacker ] = true;

    
set_user_modelAttacker"nightcrawler" );

    
set_task1.0"Task_RemoveModel"Attacker );
  }
}

public 
Task_RemoveModelAttacker )
{
  if( 
is_user_aliveAttacker ) )
  {
    
IsModelledAttacker ] = false;

    
set_user_model"YourWantedModel" );
  }

And why don't you use set_pev( iPlayer, pev_effects, pev( iPlayer, pev_effects ) | EF_NODRAW ) and set_pev( iPlayer, pev_effects, pev( iPlayer, pev_effects ) &~ EF_NODRAW )?

http://forums.alliedmods.net/showthread.php?t=164453

Last edited by claudiuhks; 04-16-2012 at 14:15.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
 



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 07:54.


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