PHP- Kodu:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <hamsandwich>
#include <cstrike>
#define PLUGIN "Admin ZM Model"
#define VERSION "1.0"
#define AUTHOR "JDM"
public plugin_precache() {
precache_model("models/player/vipzm/vipzm.mdl")
}
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Spawn,"player","OyuncuDogunca",1)
}
public OyuncuDogunca(id) {
if(get_user_team(id) == 1 && get_user_flags(id) & ADMIN_LEVEL_H) {
cs_set_user_model(id, "vipzm")
}
return PLUGIN_HANDLED
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1055\\ f0\\ fs16 \n\\ par }
*/