Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <macro.h>
- /*
- File: fn_initSkin.sqf
- Description:
- Skin changer
- */
- while {true} do
- {
- if(playerSide == west) then
- {
- if (uniform player == "U_Rangemaster") then {
- player setObjectTextureGlobal[0,"textures\PoliceOfficer.paa"];
- };
- };
- if(playerSide == independent) then
- {
- if (uniform player == "U_B_CombatUniform_mcam") then {
- player setObjectTextureGlobal[0,"textures\uniform_medic.paa"];
- };
- };
- if(playerSide == east) then
- {
- if (uniform player == "U_Rangemaster") then {
- player setObjectTextureGlobal[0,"textures\adac_uniform.paa"];
- };
- };
- if(playerSide == civilian) then
- {
- if (uniform player == "B_Soldier_base_F") then {
- player setObjectTextureGlobal[0,"textures\anzug.paa"];
- };
- };
- sleep 30;//safe some cpu
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement