Raised This Month: $ Target: $400
 0% 

How to get the selected skin of player


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cheezee
New Member
Join Date: Apr 2014
Old 04-02-2014 , 12:13   How to get the selected skin of player
Reply With Quote #1

How to get the selected skin of player? For example, the player is connected, chooses a team and skin.
When a new round, all players move per CT, but the skin should remain (for example, team CT - skin TER, but that he had chosen). How it do? Help me plz!

amxmodx.org/doc/cs_set_user_team
"You can optionally set a model:
CS_DONTCHANGE" - don't work!

Last edited by Cheezee; 04-02-2014 at 12:53.
Cheezee is offline
Cheezee
New Member
Join Date: Apr 2014
Old 04-03-2014 , 21:30   Re: How to get the selected skin of player
Reply With Quote #2

I found solution:
Quote:
new ModelTemp[10];
cs_get_user_model(id, ModelTemp, 9);
cs_set_user_team(id, CS_TEAM_CT);
cs_set_user_model(id, ModelTemp);

Last edited by Cheezee; 04-03-2014 at 21:30.
Cheezee 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 05:59.


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