AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to get the selected skin of player (https://forums.alliedmods.net/showthread.php?t=238015)

Cheezee 04-02-2014 12:13

How to get the selected skin of player
 
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!

Cheezee 04-03-2014 21:30

Re: How to get the selected skin of player
 
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);


All times are GMT -4. The time now is 05:59.

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