Jump to content
  • 0

Custom Player Skins on Spawn By UID


Rick167

Question

Hello everyone,

 

I used to be able to use the following code (placed into server_playerLogin.sqf) to switch a player's skin every time they spawned or respawned on our server:

        switch (_playerID) do {
        case "24817414": { _model = "US_Soldier_EP1"; }; //Rick
        case "23022342": { _model = "US_Soldier_Crew_AllWeaponSlots_EP1"; }; //Matt
        default {};
};

I'd plug in the appropriate UID and skin, and it would work like a charm. Ever since the patch 1.0.4 or 1.0.4.1 came out (my memory is a little foggy), this code didn't work anymore.

 

Below is my current server_playerLogin.sqf file. Did I miss something? The custom code is located between lines 112 and 116.

 

http://pastebin.com/JcDgJ1Ae

 

Thanks in advance for any help you guys can give!

 

Regards,

 

Rick

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...