Advertisement
Guest User

fn_initSkin.sqf

a guest
Jan 20th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. #include <macro.h>
  2. /*
  3. File: fn_initSkin.sqf
  4.  
  5. Description:
  6. Skin changer
  7. */
  8. while {true} do
  9. {
  10. if(playerSide == west) then
  11. {
  12. if (uniform player == "U_Rangemaster") then {
  13. player setObjectTextureGlobal[0,"textures\PoliceOfficer.paa"];
  14. };
  15. };
  16. if(playerSide == independent) then
  17. {
  18. if (uniform player == "U_B_CombatUniform_mcam") then {
  19. player setObjectTextureGlobal[0,"textures\uniform_medic.paa"];
  20. };
  21. };
  22. if(playerSide == east) then
  23. {
  24. if (uniform player == "U_Rangemaster") then {
  25. player setObjectTextureGlobal[0,"textures\adac_uniform.paa"];
  26. };
  27. };
  28. if(playerSide == civilian) then
  29. {
  30. if (uniform player == "B_Soldier_base_F") then {
  31. player setObjectTextureGlobal[0,"textures\anzug.paa"];
  32. };
  33. };
  34. sleep 30;//safe some cpu
  35. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement