its very simple plugin, this code
Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
public plugin_init() {
register_plugin("Lady Admin", "2.0", "by @)(otnik inc.")
register_event("ResetHUD", "resetModel", "b")
return PLUGIN_CONTINUE
}
public plugin_precache() {
precache_model("models/player/Someonefemodel_te/someonefemodel_te.mdl")
precache_model("models/player/Someonefempdel_ct/someonefemodel_ct.mdl")
return PLUGIN_CONTINUE
}
public resetModel(id, level, cid) {
if (get_user_flags(id) & ADMIN_LEVEL_H) {
new CsTeams:userTeam = cs_get_user_team(id)
if (userTeam == CS_TEAM_T) {
cs_set_user_model(id, "someonefemodel_te")
}
else if(userTeam == CS_TEAM_CT) {
cs_set_user_model(id, "someonefemodel_ct")
}
else {
cs_reset_user_model(id)
}
}
return PLUGIN_CONTINUE
but this code worked with user.ini for real players with "t" flag (ADMIN_LEVEL_H). also, for different models i can use other flag and other path's and filenames
Code:
// users.ini
"Someone Player 1" "" "tz" "k"
"Someone Player 2" "" "tz" "k"
// ets
in User.ini im recorded all bots fe-name (Kim_Basinger, Jennifer_Anniston, Bridget_Fonda, and ets), starting the game, and understand after, that user.ini not work for bots
i nave non steam

but... what different?