引用 | 編輯
陳冠冠
2024-01-03 07:42 |
樓主
▼ |
||
x0
CS1.6插件想每次進入地圖每回合買東西狀態時自動玩家加血1~999999999BOT沒加血一樣100 每次每回合~控制台都要打amx_heal #1 999999999 還有TAB開關看分數不會手放開就關閉還有+use按一鍵例如K開關怎樣寫腳本才能開關+use自動拆C4不會手放開就關閉 穿牆壁開1關0=amx_noclip #1 1 按一鍵例如K就1開在按0關穿牆 每次~控制台都要打+forward -forward怎樣才能開關W前進不會手放開就關閉 按一下K自動前進在按一下K停止並正常W前進 因為跟BOT玩一般任務有些大地圖很大+forward -forward很方便跟真玩家玩我也這樣 手力輕鬆不少 雖然有時會來不及按停暴衝就被射死了哈哈 我有些地方不會 能教我一下嗎? 腳本要怎樣寫才能登入地圖後只有玩家加血BOT沒有 這個amx_heal #1 999999999 這是持續蹲下按一下就蹲下不會手放開就站起來腳本 alias duck_t "duck_on" alias duck_on "alias duck_t duck_off; +duck; developer 1;echo Ducking enabled; developer 0" alias duck_off "alias duck_t duck_on; -duck; developer 1;echo Standing enabled; developer 0" 怎樣寫腳本才能TAB開關看分數與開關+use自動拆C4不會手放開就關閉 救命呀~!!以上全部怎樣才能實現 x0
|
引用 | 編輯
弒血
2024-01-05 23:12 |
1樓
▲ ▼ |
下面是引用 陳冠冠 於 2024-01-03 07:42 發表的 CS1.6插件想每次進入地圖後每回合買東西狀態時自動加血開關W前進TAB+use穿牆: if(get_user_flags(id)&ADMIN_LEVEL_H) //拿掉看看 好久沒回來看版了😂 x2 |
引用 | 編輯
陳冠冠
2024-01-07 08:31 |
4樓
▲ ▼ |
||||||||||
大大 我把檔案傳給你下載 你改好給我好嗎?
需要打ID名子才能感應到玩家才能加到血嗎? 之類的 還有 權限是啥? 哪邊加血9999999999 他只有這些給人下載.有說使用說明但是一些地方看不懂... 畫面啦最下面 給你下載改一改 三秋~ 插件来源:原创 使用指令:无 安装路径:sma编译为amxx后放入cstrike\\addons\\amxmodx\\plugins中加载即可!! 【插件介绍】 学着做的小插件,狠简单的一个插件,OP的生命值可以自己修改! 在sma中找到这句: register_event(\"ResetHUD\", \"eResetHUD\", \"be\") be這是所需要的權限! 在找到: set_user_health(id,99999) 将99999修改为自己说想的OP血量!!!!
x0 |
引用 | 編輯
amore12
2024-01-07 17:13 |
5樓
▲ ▼ |
下面是引用 陳冠冠 於 2024-01-07 08:31 發表的 : 其實你應該自己學著做,然後把問題找出來(先行備份檔案) 依據前輩給予的範例,以後經驗多了,就能清楚修改時所發生的每個問題點在哪裡 因為這遊戲有很多可以改,但也會有很多問題,有時候改多了會爆炸 由於個人CS經驗太菜所以沒辦法幫到忙 x0 |
引用 | 編輯
陳冠冠
2024-01-07 23:02 |
6樓
▲ ▼ |
不會不會~ 我CS1.6也很菜哈哈
我玩CS1.6是娛樂玩家 也可以說我大概玩遊戲都很娛樂 目標怎樣娛樂輕鬆休閒不膩又好玩 至於插件我還是載別人的問別人好了~也是剩下麻煩跟我懶惰啦... x1 |
引用 | 編輯
弒血
2024-01-09 14:08 |
7樓
▲ ▼ |
下面是引用 陳冠冠 於 2024-01-07 23:02 發表的 : alias duck_t "duck_on" alias duck_on "alias duck_t duck_off; +duck; developer 1;echo Ducking enabled; developer 0" alias duck_off "alias duck_t duck_on; -duck; developer 1;echo Standing enabled; developer 0" 裡面的+duck 跟-duck應該就是 蹲下的語法 可以嘗試改成計分板的+-語法跟+-use的語法看看 我是沒用過腳本 不清楚原理是不是這樣運作的。 x2 |
引用 | 編輯
弒血
2024-01-10 22:25 |
9樓
▲ ▼ |
下面是引用 陳冠冠 於 2024-01-10 21:43 發表的 : amx_heal #1 是伺服器指令嗎 如果是的話 請在每回合開局的函式內新增 server_cmd("amx_heal #1") 這樣即可 x1 |
引用 | 編輯
陳冠冠
2024-01-10 23:11 |
10樓
▲ ▼ |
完全看不懂... 這server_cmd("amx_heal #1")要打在哪裡?
不是 這是插件 有這插件在遊戲裡打amx_heal #1 自定血多少 <1自己2以上別人 每次~都要打amx_heal #1真麻煩... 請問有編譯器能給我下載嗎?3邱~ 因為OP_HP=生命值就是要用編譯器 ↓這裡插件作者網址↓ OP生命值 - MyChat 數位男女_CS插件區 "eResetHUD", "be") 這個be權限要改啥這樣嗎? "eResetHUD", "S") x0 |
引用 | 編輯
弒血
2024-01-12 12:49 |
11樓
▲ ▼ |
下面是引用 陳冠冠 於 2024-01-10 23:11 發表的 : 我個人都是用EM在做編寫 http://bbs.mychat.to/reads.php?tid=892330&keyword=EmEditor eResetHUD 這個用在指令上不太好 因為那個算是hud狀態更動才會呼叫 建議從zp 的主插件內找回合開局後給指令的函數內容做新增動作 如果程式基礎不夠 可以建議從我教學區發的 基礎教學看起 可以少走很多彎路 x2 |
引用 | 編輯
陳冠冠
2024-01-13 20:36 |
12樓
▲ ▼ |
能不能 傳 我個人都是用EM在做編寫
有中文版更好 可傳EM檔案給我 3邱~ amx_heal #1 是伺服器指令嗎 如果是的話 請在每回合開局的函式內新增 server_cmd("amx_heal #1") 這樣即可 這個能在說明白點嗎? 函式內新增是什麼? x0 |
引用 | 編輯
amore12
2024-01-13 23:13 |
13樓
▲ ▼ |
請在cs教學區,上面 搜尋區塊,輸入 基礎或教學 選搜尋
有不少教學文章,基本方式學習查看 例如何謂指令和參數及設定 還有插件簡易基本教學 或者下列3篇,慢慢學習 (1) https://bbs.mychat.to/reads.php?tid=1066139&keyword=%E6%95%99%E5%AD%B8 (2) https://bbs.mychat.to/reads.php?tid=1066153&keyword=%E6%95%99%E5%AD%B8 (3) https://bbs.mychat.to/reads.php?tid=1066961&keyword=%E6%95%99%E5%AD%B8 或許能幫得上你(畢竟有不少人,插件區下載後直接複製貼上使用,容易出現問題,若是基礎不懂,就會出現教的人講甚麼你也不清楚,其他人不知道如何解釋問題所在) x1 |
引用 | 編輯
陳冠冠
2024-01-17 18:38 |
14樓
▲ ▼ |
想問在AMXX記事本裡面怎樣寫才能玩家加血BOT沒有喔
每次~都要按上amx_heal #1 多少血很麻煩討厭 addons/amxmodx/configs/amxx admin_heal amx_heal #1 x0 |
引用 | 編輯
八云の橙貓
2024-01-19 01:35 |
15樓
▲ ▼ |
言下之意就是請你爬文尋求改法,不是伸手等待源碼幫你改好
提出問題的前提是你有能力解決,別人也已經回答該如何修正達成效果,請把灌水回覆的時間拿去充實你的AMXX知識 x2 |
引用 | 編輯
陳冠冠
2024-01-21 15:04 |
16樓
▲ ▼ |
有些要管理員權限才能使插件能使用
我的設定出了點問題 大大你們的 users.ini 管理員權限設定 跟 AMXX.CFG 裡面 這兩個能傳給我嗎? 我想看看裡面到底寫什麼? 想照抄起來 我這個編譯器了 也無效 是我管理員權限出問題嗎? #include <amxmodx> #include <amxmisc> #include <fun> #define PLUGIN_NAME "New Plug-In" #define PLUGIN_VERSION "1.0" #define PLUGIN_AUTHOR "Admin" public plugin_init() { register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR); register_event("ResetHUD", "eResetHUD", "be") } public eResetHUD(id) { if(get_user_flags(id)&ADMIN_LEVEL_H) set_user_health(id,99999); } x0 |
引用 | 編輯
陳冠冠
2024-01-22 12:32 |
18樓
▲ ▼ |
plugin.ini以上都沒問題 那個if(get_user_flags(id)&ADMIN_LEVEL_H)拿掉也沒用
需要管理員權限嗎? 還是說dlls資料夾少什麼檔案 我amxmodx/dlls資料夾/只有一個這個amxmodx_mm.dll 沒有fun檔案 但是也能用amx_heal #1 999999999 其實我CS1.6安裝版本是4554版 裡頭有拿掉一些plugins管理員插件 出現問題點是不是跟版本有關係 還是我有拿掉一些plugins管理員插件 才以下此插件導致失敗原因? 這個#define PLUGIN_AUTHOR "Admin"改 "XXX???" 沒關西嗎? #include <amxmodx> #include <amxmisc> #include <fun> #define PLUGIN_NAME "New Plug-In" #define PLUGIN_VERSION "1.0" #define PLUGIN_AUTHOR "Admin" public plugin_init() { register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR); register_event("ResetHUD", "eResetHUD", "be") } public eResetHUD(id) { if(get_user_flags(id)&ADMIN_LEVEL_H) set_user_health(id,99999); } 插件效果跟這一模一樣amx_heal #1 只是全自動的不用每次都控制台打amx_heal #1 可以改多少血 已自定設定好 每回合多少血 BOT沒加血 還是說哪個地方改打amx_heal #1.之類的.cfg要改哪邊呢? 我有看很多跟血有關的插件 通通沒我想的這個很苦惱 x0 |
引用 | 編輯
弒血
2024-01-22 13:57 |
19樓
▲ ▼ |
下面是引用 陳冠冠 於 2024-01-22 12:32 發表的 : 如果只是不想打血量 可以在 amxx.cfg 最底下新增 amx_heal #1 這個指令 每次載入amxx的時候他都會調用amxx.cfg的參數 x1 |
引用 | 編輯
陳冠冠
2024-01-22 20:04 |
20樓
▲ |
(已解決)
一按買槍自用區 bind "KP_INS" "m4a1;ak47;deagle;primammo;secammo;hegren;flash;flash;sgren;vesthelm;defuser;" bind "F1" "AWP" bind "KP_END" "AWP" bind "KP_UPARROW" "AWP;deagle;primammo;secammo;hegren;flash;flash;sgren;vesthelm;defuser;" bind "F6" "m4a1;ak47;primammo;hegren;flash;flash;sgren;vesthelm;defuser;" bind "KP_RIGHTARROW" "m4a1;ak47;primammo;hegren;flash;flash;sgren;vesthelm;defuser;" bind "F4" "m4a1;ak47" bind "KP_LEFTARROW" "m4a1;ak47" bind "F5" "deagle" bind "KP_5" "deagle" bind "F9" "clarion;defender" bind "KP_PGUP" "clarion;defender" bind "F7" "MP5" bind "KP_HOME" "MP5" bind "F2" "vesthelm" bind "KP_DOWNARROW" "vesthelm" bind "F3" "flash;flash" bind "KP_PLUS" "flash;flash" bind "KP_PGDN" "defuser" bind "KP_ENTER" "hegren;flash;flash;sgren;defuser" bind "KP_DOWNARROW" "buyammo1" bind "KP_PGDN" "buyammo2" bind "MWHEELUP" "weapon_flashbang" 『滑鼠上滾輪拿閃光彈』 bind "MWHEELDOWN" "weapon_smokegrenade" 『滑鼠下滾輪拿煙霧彈』 一按手放開依然持續不會手放開就關閉 alias duck_t "duck_on" alias duck_on "alias duck_t duck_off; +duck; developer 1;echo Ducking enabled; developer 0" alias duck_off "alias duck_t duck_on; -duck; developer 1;echo Standing enabled; developer 0" alias use_t "use_on" alias use_on "alias use_t use_off; +use; developer 1;echo Ducking enabled; developer 0" alias use_off "alias use_t use_on; -use; developer 1;echo Standing enabled; developer 0" alias forward_t "forward_on" alias forward_on "alias forward_t forward_off; +forward; developer 1;echo Ducking enabled; developer 0" alias forward_off "alias forward_t forward_on; -forward; developer 1;echo Standing enabled; developer 0" alias speed_t "speed_on" alias speed_on "alias speed_t speed_off; +speed; developer 1; echo alking enabled; developer 0" alias speed_off "alias speed_t speed_on; -speed; developer 1; echo Running enabled; developer 0" alias noclip_t "noclip_on" alias noclip_on "alias noclip_t noclip_off; +noclip; developer 1;echo Ducking enabled; developer 0" alias noclip_off "alias noclip_t noclip_on; -noclip; developer 1;echo Standing enabled; developer 0" alias showscores_t "showscores_on" alias showscores_on "alias showscores_t showscores_off; +showscores; developer 1;echo alking enabled; developer 0" alias showscores_off "alias showscores_t showscores_on; -showscores; developer 1;echo Running enabled; developer 0" alias nightvision_t "nightvision_on" alias nightvision_on "alias nightvision_t nightvision_off; +nightvision; developer 1;echo Ducking enabled; developer 0" alias nightvision_off "alias nightvision_t nightvision_on; -nightvision; developer 1;echo Standing enabled; developer 0" alias showscores_t "showscores_on" alias showscores_on "alias showscores_t showscores_off; +showscores; developer 1;echo Ducking enabled; developer 0" alias showscores_off "alias showscores_t showscores_on; -showscores; developer 1;echo Standing enabled; developer 0" bind "SHIFT" "duck_t" bind "L" "use_t " bind "T" "forward_t" bind "UPARROW" "forward_t" bind "ALT" "speed_t" bind "TAB" "showscores_t" bind "K" "+noclip" bind "K" "noclip_t" alias _t "_on" alias _on "alias _t _off; +; developer 1;echo Ducking enabled; developer 0" alias _off "alias _t _on; -; developer 1;echo Standing enabled; developer 0" alias _t "_on" alias _on "alias _t _off; +; developer 1;echo alking enabled; developer 0" alias _off "alias _t _on; -; developer 1;echo Running enabled; developer 0" x0 |