PHP- Kodu:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
new sync;
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
sync = CreateHudSyncObj();
}
public client_putinserver( id )
{
set_task( 5.0, "Cani_Goster", id );
}
public Cani_Goster( id )
{
if( !is_user_alive( id ) )
{
ClearSyncHud( id, sync );
}
else
{
set_hudmessage( 255, 255, 255, 0.43, 0.91, 0, 6.0, 2.0 );
ShowSyncHudMsg( id, sync, "Can : %d", get_user_health( id ) );
}
set_task( 1.0, "Cani_Goster", id );
return PLUGIN_HANDLED;
}