以文本方式查看主题

-  索沛CS1.6论坛 CS反作弊 CS1.6下载 amxx sma插件 cs对战平台  (http://101.42.38.52:27015:27015/index.asp)
--  AMXX插件脚本  (http://101.42.38.52:27015:27015/list.asp?boardid=15)
----  天線得得B ADMIN MODEL  (http://101.42.38.52:27015:27015/dispbbs.asp?boardid=15&id=49185)

--  作者:destiny_pig
--  发布时间:2008-11-30 9:39:00
--  天線得得B ADMIN MODEL
-.-顧名思意
就係將天線得得B同ADMIN MODEL合埋一齊
先給SMA源碼[驚死LINK]
--------------------------------分隔線--------------------------------------------
/*##########################################################################
##
## -- www.SteamTools.net
##      ___   _____       ___  ___   _   __   _            ___  ___   _____   _      
##     /   | |  _  \\     /   |/   | | | |  \\ | |          /   |/   | |  _  \\ | |      
##    / /| | | | | |    / /|   /| | | | |   \\| |         / /|   /| | | | | | | |      
##   / / | | | | | |   / / |__/ | | | | | |\\   |        / / |__/ | | | | | | | |      
##  / /  | | | |_| |  / /       | | | | | | \\  |       / /       | | | |_| | | |___  
## /_/   |_| |_____/ /_/        |_| |_| |_|  \\_|      /_/        |_| |_____/ |_____|
##                                                        
##          |__                   |__  o _|_   ___   __ __  o |__,  ___  
##      --  |__) (__|     (__(__( |  ) |  |_, (__/_ |  )  ) | |  \\ (__/_
##                  |                                                   
##
##   Originated as a simple idea back in 2004, it was forgotten due to
## lack of my \'Small\' coding skills. However I have progressed in recent
## months and somehow crossed that old post with this concept in it. So
## naturally I challenged myself to see if I could do it, and voila! I
## could 图片点击可在新窗口打开查看
##
##   Once you join, you play a normal person for the first round, and for
## all remaining rounds your CT or TE models are custom. They now read
## "ADMIN" on front and back, and also have small "A" patches on the arms.
## I designed these models myself, it\'s very easy, just bring the textures
## into photoshop, tweak out, and replace.
##
##   Enjoy!
##
##
## CHANGELOG
##------------------------------------------------------------------------
## 2) v1.1.1 - Fixed missing event
## 1) v1.1.0 - Fixed VIP and other model bugs
##
##
## INSTALLATION
##------------------------------------------------------------------------
## 1) Unzip (which you may have done already)
## 2) Place \'amx_adminmodel.amxx\' in \'cstrike/addons/amxmodx/plugins\'
## 3) Add a line in \'configs/plugins.ini\' containing \'amx_adminmodel.amxx\'
## 4) Put the \'admin_ct\' and \'admin_te\' folders into \'cstrike/models\' folder
## 5) -- Visit www.SteamTools.net and enjoy your new plugin!
##
##
##
## THE CVARs
##------------------------------------------------------------------------
##
## No CVARs for this plugin 图片点击可在新窗口打开查看
##
##
##########################################################################*/

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
public plugin_init() {
        register_plugin("AMX Admin Model", "1.1.1", "whitemike")
        register_event("ResetHUD", "resetModel", "b")
        return PLUGIN_CONTINUE
}
public plugin_precache() {
        precache_model("models/player/tinkywinky/tinkywinky.mdl")
        precache_model("models/player/po/po.mdl")
        return PLUGIN_CONTINUE
}
public resetModel(id, level, cid) {
        if (get_user_flags(id) & ADMIN_KICK) {
                new CsTeams:userTeam = cs_get_user_team(id)
                if (userTeam == CS_TEAM_T) {
                        cs_set_user_model(id, "po")
                }
                else if(userTeam == CS_TEAM_CT) {
                        cs_set_user_model(id, "tinkywinky")
                }
                else {
                        cs_reset_user_model(id)
                }
        }
        return PLUGIN_CONTINUE
}
--------------------------------分隔線--------------------------------------------

說明:開一個新SMA檔...再將以上文字輸入SMA..再轉AMXX檔...完成

MODEL LINK[SENDSPACE]:http://www.sendspace.com/file/hfckpx[已更新]
原LINK:http://www.fpsbanana.com/skins/download/46923[FROM FPSBANANA图片点击可在新窗口打开查看]

教學:將整好的AMXX檔放入?:\\Program Files\\Valve\\cstrike\\addons\\amxmodx\\plugins
再係?:\\Program Files\\Valve\\cstrike\\addons\\amxmodx\\configs\\plugins開新行加入amx_adminmodel.amxx
將model files入面既po files同tinkywinky files放入C:\\Program Files\\Valve\\cstrike\\models\\player
再開ser[re一次:sv_restart 1]就可以了


以上只係想分享一下..我驚有人唔識改adminmodel.amxx
所以就分享一下了..覺得好或者唔好
請cmcmcmcmcmcmcmcmcm!