View Single Post
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 03-28-2005 , 16:53  
Reply With Quote #7

Okay, then try something like this..
Code:
#include <amxmodx> #include <cstrike> #define CUSTOM_MODEL "customleet" // Currently set to /models/player/customleet/customleet.mdl public plugin_init() {     register_plugin("Leet Model", "0.1", "v3x")     return PLUGIN_CONTINUE } new mdlStr[64] public plugin_precache() {     format(mdlStr,63,"models/player/%s/%s.mdl",CUSTOM_MODEL,CUSTOM_MODEL)     precache_model(mdlStr)     return PLUGIN_CONTINUE } public client_spawn(id) {     new model[24]     cs_get_user_model(id,model,24)     switch(model[id]) {         case CS_T_LEET: {         format(mdlStr,63,"models/player/%s/%s.mdl",CUSTOM_MODEL,CUSTOM_MODEL)         cs_set_user_model(id,mdlStr)         }     }     return PLUGIN_CONTINUE }
Or something like that. ;)

If anyone knows a different or better way, tell me.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline