Raised This Month: $ Target: $400
 0% 

Model Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-27-2005 , 00:25   Re: Model Help
Reply With Quote #3

Quote:
Originally Posted by FoX Rider
How would I make it so u change a players model depending on what team he is on. Like say I was on T and I wanted to change into a CT. How would I go about doing that?
Code:
new model[32] cs_get_user_model(id, model, 31) new CsTeams:team = cs_get_user_team(id) switch(team) { case CS_TEAM_CT: cs_set_user_model(id,"leet") // If they are on CT ... Give them a T model case CS_TEAM_T: cs_set_user_model(id,"gign") // If they are on T ... Give them a CT model default: cs_set_user_model(id,"model") }

Or something like that..
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x 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 14:04.


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