Raised This Month: $ Target: $400
 0% 

model change


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
AAleaderNik
Member
Join Date: Dec 2005
Old 02-24-2006 , 20:05   model change
Reply With Quote #1

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
AAleaderNik is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode