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打
|