T1nG
                        
                      
                    
                            
                      
                     
                    
                      
                    
                   | 
                  
                    
                    分享: 
                     
					 
						  
					 
					 
						  
					 
					 
						  
					 
                    
                    
                    	
                    
                      ▼
                    
                    
                    
                      
                     
                     
                     
                     
                    
                    
                    
                      
                          
                          
                      
                       
                      
                      
                      
        
 
                          其實大家有沒有發現一樣東西 魔王是有3個技能 (其實是忍者-.-)  1. 自動回血 (指定血量以下)  2. 隱形  3. 爬牆 
  [ 行 44 - 行 52 ]  cvar_bs_wallclimb = register_cvar("bs_wallclimb", "0") //忍者爬牆方法 1|2  p_climb_speed = register_cvar("bs_climb_speed", "0") //忍者爬牆速度 499 
  register_cvar("bs_invis", "255") // 255 為完全看的見 , 如果想做最好的隱形效果改做 150 左右 register_cvar("bs_speed", "300") // 這可以改很高 耶可以改很低 .. 見意不要改-.-
  g_time = register_cvar("regen_time", "0") //回血多少秒一次 1  g_amount = register_cvar("regen_amount", "0") //回血多少一次 1 
  [ 回血 ][ 指定血量下自動回血設定 ] !!! 一定要看 !!! 弄錯的話... 後果自負  拉到插件的最下方 
  public SetRegeneration(id)  {   if(is_user_alive(id) && cs_get_user_team(id) == CS_TEAM_T) {        if (get_user_health(id) < 50000) // 血量比 50000 少的話,會自動回血           set_task(get_pcvar_float(g_time), "Regenerate", id, _, _, "b")   }   return PLUGIN_CONTINUE  }  public Regenerate(id)  {   new regen_health = get_user_health(id)   new max_health = 50000 - regen_health // 最高可回復的血量      if (max_health <= get_pcvar_num(g_amount))   {    set_pev(id, pev_health, regen_health + float(max_health))    remove_task(id)   }        set_pev(id, pev_health, regen_health + get_pcvar_float(g_amount))   return PLUGIN_CONTINUE  } 
  弄完之後請另儲新檔為 UTF-8 無簽章 
 
  
                    
                    
                     
        
        
    
                     
		              
                    
                    
                   |