Code:
#include <amxmodx>
#include <engine>
#include <amxmisc>
public plugin_init()
{
register_plugin("Model basis","1.0","AANik")
register_event("Resethud","setplayermodel","be")
register_cvar("custmodel_on", "1")
return PLUGIN_CONTINUE
}
public plugin_precache()
{
precache_model("models/player/arctic/arctic.mdl")
return PLUGIN_CONTINUE
}
public switchmodel(id)
{
if(get_cvar_num("custmodel_on") == 1) (
switchmodel(id)
)
}
i hope this is what u want by reposting but ya i need to know whats wrong with the code or why it doesnt work im tryin to get it so the people have to download the model and so it overrides their arctic model