Raised This Month: $ Target: $400
 0% 

Models doesn`t work :\


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
2reason2kill
Senior Member
Join Date: Feb 2011
Old 07-27-2011 , 06:45   Re: Models doesn`t work :\
Reply With Quote #1

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 #2

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
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