Raised This Month: $ Target: $400
 0% 

Explosion Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 01-11-2009 , 17:20   Re: Explosion Help
Reply With Quote #5

ok so if i wanted him to have 250 life 250 armor could i use the random player to do the following

PHP Code:
 health register_cvar("amx_bomber_health""250")
 
armor register_cvar("amx_bomber_armor""250"
PHP Code:
 
public suicide_bomber(id)
{
 if(
is_user_alive(id)
 {
  
cs_set_user_model(id"vip")
  
set_user_health(idget_pcvar_num(health))
  
set_user_armor(idget_pcvar_num(armor))
  
BlowUp(id);
  return 
PLUGIN_CONTINUE
 
}


Last edited by Doc-Holiday; 01-11-2009 at 17:26.
Doc-Holiday 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 01:43.


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