Raised This Month: $ Target: $400
 0% 

Setting Player Models


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 07-11-2010 , 19:09   Setting Player Models
Reply With Quote #1

Correct me if I'm wrong.

PHP Code:
new const gszHomerModel[] = "models/player/ignfreezetag/homer.wav"
PHP Code:
public plugin_precache( )
{
    
precache_model(gszHomerModel);

Then, in the menu, when they select homer, I use:

PHP Code:
cs_set_user_modelidgszHomerModel 
And when a new round begins

PHP Code:
cs_reset_user_modelid 
Edit: When I choose homer it crashes.
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.

Last edited by GXLZPGX; 07-11-2010 at 19:14.
GXLZPGX 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 07:10.


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