上次我(
乱)写了个sma
但是有问题
感谢各位大大的帮忙
但是我又有问题了- -
就是用完轻功之后不能变回之后的样子
(
再)请大大帮个忙
谢谢大大
◹
ᕣ
Ⓣ
ש
᷈
sma:
#include <amxmodx>
#include <FakeMeta>
public plugin_init()
{
register_plugin("abcdefg","1.0","waipun")
register_clcmd("buy_fly", "fly",0, "flying")
}
public fly(id)
{
if ( !is_user_alive(id) )
{
client_print(id, print_chat, "死左仲想用轻功???");
return PLUGIN_HANDLED
}
else
{
set_pev(id, pev_gravity, 0.25)
set_task(1.0, "a")
show_hudmessage(id,"<<<<<<<<<10秒>>>>>>>>>")
set_hudmessage(200,100,0,-1.0,0.55,0,6.0,2.0,0.1,0.2,4)
}
return PLUGIN_HANDLED
}
public a(id)
{
show_hudmessage(id,"<<<<<<<<<9秒>>>>>>>>>")
set_hudmessage(200,100,0,1.0,0.35,0,6.0,2.0,0.1,0.2,4)
set_task(1.0, "b")
return PLUGIN_HANDLED
}
public b(id)
{
show_hudmessage(id,"<<<<<<<<8秒>>>>>>>>")
set_hudmessage(200,100,0,1.0,0.35,0,6.0,2.0,0.1,0.2,4)
set_task(1.0, "c")
return PLUGIN_HANDLED
}
public c(id)
{
show_hudmessage(id,"<<<<<<<7秒>>>>>>>")
set_hudmessage(200,100,0,1.0,0.35,0,6.0,2.0,0.1,0.2,4)
set_task(1.0, "d")
return PLUGIN_HANDLED
}
public d(id)
{
show_hudmessage(id,"<<<<<<6秒>>>>>>")
set_hudmessage(200,100,0,1.0,0.35,0,6.0,2.0,0.1,0.2,4)
set_task(1.0, "e")
return PLUGIN_HANDLED
}
public e(id)
{
show_hudmessage(id,"<<<<<5秒>>>>>")
set_hudmessage(200,100,0,1.0,0.35,0,6.0,2.0,0.1,0.2,4)
set_task(1.0, "f")
return PLUGIN_HANDLED
}
public f(id)
{
show_hudmessage(id,"<<<<4秒>>>>")
set_hudmessage(200,100,0,1.0,0.35,0,6.0,2.0,0.1,0.2,4)
set_task(1.0, "g")
return PLUGIN_HANDLED
}
public g(id)
{
show_hudmessage(id,"<<<3秒>>>")
set_hudmessage(200,100,0,1.0,0.35,0,6.0,2.0,0.1,0.2,4)
set_task(1.0, "h")
return PLUGIN_HANDLED
}
public h(id)
{
show_hudmessage(id,"<<2秒>>")
set_hudmessage(200,100,0,1.0,0.35,0,6.0,2.0,0.1,0.2,4)
set_task(1.0, "i")
return PLUGIN_HANDLED
}
public i(id)
{
show_hudmessage(id,"<1秒>")
set_hudmessage(200,100,0,1.0,0.35,0,6.0,2.0,0.1,0.2,4)
set_task(1.0, "sss")
return PLUGIN_HANDLED
}
public sss(id)
{
set_pev(id, pev_gravity, 1.00)
client_print(id, print_chat, "轻功冇左");
return PLUGIN_HANDLED
}
还有.......
如果不够$5000不能用和用完要减$5000该怎写?
谢谢大大