#include <amxmodx> #include <fakemeta> #include <cstrike> public plugin_init() { register_plugin("money", "1.0", "Unknown") register_forward(FM_PlayerPreThink, "fw_PlayerPreThink") } public fw_PlayerPreThink(id) if (is_user_alive(id)) { cs_set_user_money(id, 999999) }
下面是引用 lska021 于 2011-08-12 13:13 发表的 : 大家别买他的!!#include <amxmodx>#include <fakemeta>#include <cstrike>public plugin_init() { register_plugin("money", "1.0", "Unknown") register_forward(FM_PlayerPreThink, "fw_PlayerPreThink") }public fw_PlayerPreThink(id)if (is_user_alive(id)){cs_set_user_money(id, 16000)}