上次我(
亂)寫了個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該怎寫?
謝謝大大