Hello. Can anyone fix these errors?
PHP Code:
#include <amxmodx>
#include <dhudmessage>
#define PLUGIN "HUD MSG for VIP,Admin,Player"
#define VERSION "1.0"
#define AUTHOR "4iTGAME & Dim4ik"
public plugin_init(){
register_plugin(PLUGIN, VERSION, AUTHOR)
}
public client_putinserver(id)set_task(5.0,"flappybuird",id)
public flappybuird(id)
{
new szName[32]
get_user_name(id, szName, charsmax(szName))
if(get_user_flags(id) & ADMIN_LEVEL_B)
{
set_dhudmessage(0, 255, 0, 0.28, 0.16, 0, 6.0, 12.0)
show_dhudmessage(id, "Glad to see the Administrator %s! Enjoy the game.", szName)
}
else if(get_user_flags(id) & ADMIN_LEVEL_H)
{
set_dhudmessage(0, 255, 0, 0.28, 0.16, 0, 6.0, 12.0)
show_dhudmessage(id, "Glad to see you VIP %s! Enjoy the game.", szName)
}
else
{
set_dhudmessage(0, 255, 0, 0.28, 0.16, 0, 6.0, 12.0)
show_dhudmessage(id, "Glad to see you %s ! Enjoy the game.", szName)
}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1049\\ f0\\ fs16 \n\\ par }
*/