判斷隊伍和攻擊,模形問題

Home Home
引用 | 編輯 tony486
2011-09-12 17:52
樓主
推文 x0
如何判斷玩家隊伍是T然後攻擊 CT,把被害的轉移到T裹要怎寫阿
被選出的人, 設指定的模形, 回合完了 就變回原本的模形
附上插件由於原創問題 會設30威
完成的 會附500雅幣



獻花 x0
引用 | 編輯 fggabc
2011-09-25 21:15
1樓
  
我不知對不對:
if(cs_get_user_team(id) == CS_TEAM_CT && !is_user_alive(id))
{
  cs_user_spawn(id)
  cs_set_user_team(id,CS_TEAM_T)
  cs_set_user_model(id,你指定的model)
}
大概吧

獻花 x0