lilaihung8
|
分享:
▼
* Plugin generated by AMXX-Studio */
#include <amxmodx> #include <amxmisc> #include <fun> new math
public plugin_init() { register_plugin("test2", "5.5", "keith") register_clcmd("say /giveme", "giveme") register_logevent("roundstart",2, "1=Round_Start") }
public giveme(id) { if(math == 1) { client_print(id, print_chat, "[AMXX]有人拿过m4了!") } else { give_item(id, "weapon_m4a1") math++ strip_user_weapons(id) } }
public roundstart() { math = 0 }
我打好了但是在游戏用没反应 成功转amxx 用amx_studio打
|