| XxAvalanchexX |
08-29-2005 20:19 |
Velocity, I'm beginning to think you don't really understand how to code.
KrazyKiller, this should work:
Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#define STEAMID STEAM_0:0:1234567
public plugin_init() {
register_plugin("Admin Models", "1.1.1", "Krazy")
register_event("ResetHUD", "resetModel", "b")
}
public plugin_precache() {
precache_model("models/player/krazy/krazy.mdl")
}
public resetModel(id) {
new steamid[32];
get_user_authid(id,steamid,31);
if(equali(steamid,STEAMID)) {
cs_set_user_model(id, "krazy")
}
}
|