PHP- Kodu:
#include <amxmodx>
#include <amxmisc>
#include <csstats>
#define PLUGIN "Giris Mesaji"
#define VERSION "1.0"
#define AUTHOR "akcaliberkk"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
}
public client_putinserver(id) {
set_task(2.0,"ShowEnterMsg",id)
}
public ShowEnterMsg(id) {
new name[32],data[8],rank;
get_user_name(id,name,31)
rank = get_user_stats(id,data,data)
if(get_user_flags(id) & ADMIN_RESERVATION) {
set_hudmessage(255, 0, 0, 0.10, 0.55, 0, 6.0, 6.0, 0.5, 0.15, 3)
}
else {
set_hudmessage(0, 255, 0, 0.10, 0.55, 0, 6.0, 6.0, 0.5, 0.15, 3)
}
if(cvar_exists("csstats_reset")) {
show_hudmessage(0,"%s oyuna katildi !^niyi oyunlar^nMevcut Rank: %d",name,rank)
client_print(0,print_chat,"hdm1")
}
else {
show_hudmessage(0,"%s oyuna katildi !^niyi oyunlar",name)
}
}