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的插件......
|