Raised This Month: $ Target: $400
 0% 

Models doesn`t work :\


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
RuleBreaker
Senior Member
Join Date: May 2011
Old 07-27-2011 , 06:08   Models doesn`t work :\
Reply With Quote #1

Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <core>
#include <fun>
#include <hamsandwich>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Stefan"

public plugin_precache() {
	precache_model( "models/player/model/te_skin.mdl" )
	precache_model( "models/player/model/rambo.mdl" ) //promjeniti model
}
public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	register_clcmd("say /rambo", "rambo")
	register_clcmd("say /soad", "soad")
	// Add your code here...
}
public rambo(id) {
	cs_set_user_model(id, "rambo")
}
public soad(id) {
	cs_set_user_model(id, "te_skin") 
}
why they doesn`t work??
RuleBreaker is offline
2reason2kill
Senior Member
Join Date: Feb 2011
Old 07-27-2011 , 06:45   Re: Models doesn`t work :\
Reply With Quote #2

Quote:
Originally Posted by RuleBreaker View Post
Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <core>
#include <fun>
#include <hamsandwich>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Stefan"

public plugin_precache() {
    precache_model( "models/player/model/te_skin.mdl" )
    precache_model( "models/player/model/rambo.mdl" ) //promjeniti model
}
public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
    register_clcmd("say /rambo", "rambo")
    register_clcmd("say /soad", "soad")
    // Add your code here...
}
public rambo(id) {
    cs_set_user_model(id, "rambo")
}
public soad(id) {
    cs_set_user_model(id, "te_skin") 
}
why they doesn`t work??

Is This Wrong?


PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <core>
#include <fun>
#include <hamsandwich>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Stefan"

new rambo

new te_skin

public plugin_precache() {
    
rambo precache_model"models/player/model/te_skin.mdl" )
    
te_skin precache_model"models/player/model/rambo.mdl" //promjeniti model
}
public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_clcmd("say /rambo""rambo")
    
register_clcmd("say /soad""soad")
    
// Add your code here...
}
public 
rambo(id) {
    
cs_set_user_model(id"rambo")
}
public 
soad(id) {
    
cs_set_user_model(id"te_skin"

2reason2kill is offline
Dr7sTyLe
Senior Member
Join Date: Dec 2010
Old 07-27-2011 , 08:27   Re: Models doesn`t work :\
Reply With Quote #3

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <core>
#include <fun>
#include <hamsandwich>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Stefan"

public plugin_precache()
{
    
precache_model"models/player/model/te_skin.mdl" )
    
precache_model"models/player/model/rambo.mdl" )
}
public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_clcmd("say /rambo""rambo")
    
register_clcmd("say /soad""soad")
    
// Add your code here...
}
public 
rambo(id) {
    
cs_set_user_model(id"rambo")
}
public 
soad(id) {
    
cs_set_user_model(id"te_skin"


Last edited by Dr7sTyLe; 07-27-2011 at 08:29.
Dr7sTyLe is offline
r0ck
Senior Member
Join Date: Jun 2011
Location: India
Old 07-27-2011 , 08:34   Re: Models doesn`t work :\
Reply With Quote #4

PHP Code:
#include <amxmodx> 
#include <amxmisc> 
#include <cstrike> 
#include <core> 
#include <fun> 
#include <hamsandwich> 

#define PLUGIN "New Plug-In" 
#define VERSION "1.0" 
#define AUTHOR "Stefan" 

public plugin_precache() 

    
precache_model"models/player/te_skin/te_skin.mdl" 
    
precache_model"models/player/rambo/rambo.mdl" 

public 
plugin_init() 

    
register_plugin(PLUGINVERSIONAUTHOR
    
register_clcmd("say /rambo""rambo"
    
register_clcmd("say /soad""soad"
    
// Add your code here... 

public 
rambo(id

    
cs_set_user_model(id"rambo"

public 
soad(id)

    
cs_set_user_model(id"te_skin")  

Keep rambo model in player/rambo/rambo.mdl"
and Keep te_skin model in player/te_skin/te_skin.mdl"
__________________
Preparing to release my plugins..
r0ck is offline
Reply



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 01:11.


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