asd17931
|
分享:
▲
▼
#include <amxmodx> #include <cstrike> #include <fun> #include <hamsandwich> #define PLUGIN "驱拇暑?辣" #define VERSION "0.1" #define AUTHOR "tw2twtw" #define MONEY 12000
public plugin_init() { register_plugin( PLUGIN, VERSION, AUTHOR ) register_clcmd("respawn","respawn") } public respawn(id) { if(is_user_alive(id)) { client_print(id,print_chat,"[AMXX]雿瘣台荦~銝驱拇暑??) return PLUGIN_HANDLED } if(cs_get_user_money(id) < MONEY) { client_print(id,print_chat,"[AMXX]~雿銝?銝M鞈潸眺?桐荦驱拇暑~") return PLUGIN_HANDLED } if(!is_user_alive(id)) { client_print(id,print_chat,"[AMXX]雿歇蝬顷鞎瑕鈭筝俦瘣飒?) cs_set_user_money(id,cs_get_user_money(id)-MONEY,1) ExecuteHam(Ham_CS_RoundRespawn,id); { give_item(id,"weapon_knife") give_item(id,"weapon_usp") cs_set_user_armor(id,100,CS_ARMOR_VESTHELM) } } return PLUGIN_HANDLED }
这个是我唯一看到最短sma的插件......
|