引用 | 编辑
p1356ar247
2011-10-16 18:53 |
楼主
▼ |
||
x1
首先你要有一个EmEditor.以下是一个范例: #include <amxmodx> (amxmodx"系模块/英文系module) #include <cstrike> (cstrike"系模块/英文系module) #include <fun> (fun"系模块/英文系module) (呢三个也是指amxx的需要物品,例如开车,要有燃料) #define PLUGIN "200hp" (amxx的名称) #define VERSION "1.0" (amxx的版本) #define AUTHOR "GamesGoD" (amxx的作者) public plugin_init() (控制指令){ register_plugin(PLUGIN, VERSION, AUTHOR) (系统会睇成 register_plugin(名称, 1.0,GamesGoD) register_clcmd("say /200hp", "steroids") (''say=y说话,打/200hp会发生指令,sterodis=效果) } public steroids(id) (控制效果) (id=玩家名称) { set_user_health(id, 200) (设定玩家的生命为200HP) set_user_gravity(id,1.50) (设定玩家的重力为1.50倍) client_print(id, print_center,"你的生命为200,重力为1200") (print_center=昼面的中间显示''你的生命为200,重力1200") } x0
|
引用 | 编辑
mike19950425
2011-10-25 05:53 |
4楼
▲ ▼ |
这好像每个人都会吧...
x0 |
引用 | 编辑
史来姆
2011-11-02 22:43 |
6楼
▲ ▼ |
先吐槽一下
1.cstrike跟fun不是必需 2.cstrike inc在这插件没用 3.排版使人眼残 4.口语 嗯...应该就这些 x0 |
引用 | 编辑
Abcdzxc555
2011-11-04 17:43 |
9楼
▲ ▼ |
你就发一个sma码出来...新手会懂吗?...
x0 |
引用 | 编辑
briansiocl33
2011-12-18 12:11 |
10楼
▲ ▼ |
引用 | 编辑
jackson2011
2012-02-24 20:08 |
13楼
▲ ▼ |
set_user_godmode(id,1)
我第一个学的程式码 意思是无敌 id是玩家 1是开 用到的moduls是fun和fakemeta 要的可以学 x0 |