buiducduy111
Dragon Quest
- 3/5/11
- 1,257
- 7
Ai giúp em với, cái này complie bình thường nhưng vào game thì không có hiện tượng gì xảy ra cả
PHP:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#define PLUGIN "change health"
#define VERSION "1.0"
#define AUTHOR "Bui duc duy"
new mau
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("Mau", "change", "ab")
}
public change(id)
{
show_hudmessage(id,"So mau cua ban la &d", get_user_health(id))
mau = get_user_health(id)
while (mau)
{
if (mau <= 1 )
{
client_print(id,print_center,"Ban dang rat yeu")
}
if (mau = 100)
{
client_print(id,print_center,"Ban dang sung suc. tien len nao")
}
if (mau < 100 )
{
client_print(id,print_center,"Ban da bi ton thuong")
}
}
return PLUGIN_CONTINUE
}
.
. Hoặc ko mún viết plugin thì nói hết lun đi==". Cái sáng nay ông đưa tui=> ko work.
, ta còn chưa tìm hiểu xem event là cái j` đây 
