Raveypoopoo
Member
On my server I'm looking to apply certain skins to certain people to differentiate different factions. In order to do this I added
to my server_playerlogin.sqf and it worked, however I soon realized that this meant logging off with a ghillie suit or camo clothing on would cause them to be lost. In order to remedy this I changed the code to
Which doesn't seem to work and I can't figure out why. I've played with it for the last hour and I can't seem to figure out what's wrong with it. Would somebody mind giving me a hand with this?
Code:
if ((getPlayerUID player) in ["118875142","112928774","75487622","118248966","60222918","2842624","88739718","70500486","111248902"]) then { //all groups
if ((getPlayerUID player) in ["118875142","112928774","75487622","118248966","60222918","2842624"]) then { //freelancers green desert
_model = "BAF_Soldier_MTP";
};
if ((getPlayerUID player) in ["88739718","70500486","111248902"]) then { //dezitians us army
_model = "US_Soldier_EP1";
};
};
Code:
if ((getPlayerUID player) in ["118875142","112928774","75487622","118248966","60222918","2842624","88739718","70500486","111248902"]) then { //all groups
if ((getPlayerUID player) in ["118875142","112928774","75487622","118248966","60222918","2842624"]) && !(_model in ["Sniper1_DZ","Camo1_DZ"]) then { //freelancers green desert
_model = "BAF_Soldier_MTP";
};
if ((getPlayerUID player) in ["88739718","70500486","111248902"]) && !(_model in ["Sniper1_DZ","Camo1_DZ"]) then { //dezitians us army
_model = "US_Soldier_EP1";
};
};