Raised This Month: $ Target: $400
 0% 

cs_set_user_model


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 02-11-2009 , 17:11   cs_set_user_model
Reply With Quote #1

Hi,

PHP Code:
public plugin_precache()
{
        
precache_model("models/player/god/islave.mdl")
}

public 
startround(id)

CODE:CODE

}
    
    if(
isGod[id]==1){
        
cs_set_user_model(id,"islave")
        
pauseregen[id] = 1
XXXXX
}

IDK why my model will not be showd? anyone any idea?
__________________

Last edited by One; 02-11-2009 at 17:13. Reason: Wrong Tittle
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-11-2009 , 17:49   Re: cs_set_user_model
Reply With Quote #2

Whenever setting a player's model, the filename must be this format:
Code:
models/player/modelname/modelname.mdl
Your folder and file must have the same name.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 02-11-2009 , 17:56   Re: cs_set_user_model
Reply With Quote #3

Quote:
Originally Posted by Exolent[jNr] View Post
Whenever setting a player's model, the filename must be this format:
Code:
models/player/modelname/modelname.mdl
Your folder and file must have the same name.
Hi,

Thanks, tried, but cant see the model.

models/player/islave/islave.mdl
models/player/god/god.mdl

i worked on this plugin around 1 year ago. i couldnt get it done....idk why this will never function. first i thinked i have anything on my server.cfg that the model will not be showed.i tried on dedicated server...same problem..on another server...tried model replacer...

for this i would be run an extra plugin to replace the T model to that what i wannt. :-(
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-11-2009 , 18:08   Re: cs_set_user_model
Reply With Quote #4

Show your full code.
It may be caused by the variables in your if() statements.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 02-11-2009 , 18:15   Re: cs_set_user_model
Reply With Quote #5

Quote:
Originally Posted by Exolent[jNr] View Post
Show your full code.
It may be caused by the variables in your if() statements.
Hello,

Ill send u a PM. i dont wannt to release ma code :-( its a private plug
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 02-12-2009 , 09:25   Re: cs_set_user_model
Reply With Quote #6

http://bllabla.ampaste.net/m632d518e Here ma code #:-(
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 02-12-2009 , 10:07   Re: cs_set_user_model
Reply With Quote #7

its not your plugin, and its need total rewrite
__________________
xPaw is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 02-12-2009 , 11:05   Re: cs_set_user_model
Reply With Quote #8

Quote:
Originally Posted by xPaw View Post
its not your plugin, and its need total rewrite
Hi,

i dont said thats ma plugin. i just said im trying around 1 year on this.yea what do u think why im trying to rewrite it?
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 02-12-2009 , 11:08   Re: cs_set_user_model
Reply With Quote #9

Quote:
i dont wannt to release ma code :-( its a private plug
PHP Code:
#define AUTHOR "One" 
__________________
xPaw is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 02-12-2009 , 12:44   Re: cs_set_user_model
Reply With Quote #10

Quote:
Originally Posted by xPaw View Post
PHP Code:
#define AUTHOR "One" 
Hi,

I just changed the author, cuz i edited & fixed many things in original code.

i dont think that we have to discussion about this,i need just help with the model. anyone know where is the problem?
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
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 16:53.


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