Talk:Mods/@comment-27376001-20170220231915

If there is someone in this wiki is the master of coding, please reply for once

This is the code I use to set the male teacher to wear a blazer instead of casual student uniform, but when I use this code, the whole male students in the school all wear blazers! Please, how do I fix this??

if   ( this . StudentID   ==   89 )  {  this . <span style="color:rgb(170,112,255);">MyRenderer <span style="color:rgb(180,180,180);">. <span style="color:rgb(36,143,143);">sharedMesh <span style="color:rgb(220,220,220);">  <span style="color:rgb(180,180,180);">= <span style="color:rgb(220,220,220);">  <span style="color:rgb(86,156,214);">this <span style="color:rgb(180,180,180);">. <span style="color:rgb(170,112,255);">MaleUniforms <span style="color:rgb(220,220,220);">[ <span style="color:rgb(78,201,176);">PlayerPrefs <span style="color:rgb(180,180,180);">. <span style="color:rgb(230,115,0);">GetInt <span style="color:rgb(220,220,220);">( <span style="color:rgb(214,157,133);">"MaleUniform" <span style="color:rgb(220,220,220);">, <span style="color:rgb(220,220,220);">  <span style="color:rgb(181,206,168);">4 <span style="color:rgb(220,220,220);">)]; <span style="color:rgb(220,220,220);"> <span style="color:rgb(78,201,176);">PlayerPrefs <span style="color:rgb(180,180,180);">. <span style="color:rgb(230,115,0);">SetInt <span style="color:rgb(220,220,220);">( <span style="color:rgb(214,157,133);">"MaleUniform" <span style="color:rgb(220,220,220);">, <span style="color:rgb(220,220,220);">  <span style="color:rgb(181,206,168);">4 <span style="color:rgb(220,220,220);">); <span style="color:rgb(220,220,220);"> <span style="color:rgb(86,156,214);">this <span style="color:rgb(180,180,180);">. <span style="color:rgb(170,112,255);">UniformTexture <span style="color:rgb(220,220,220);">  <span style="color:rgb(180,180,180);">= <span style="color:rgb(220,220,220);">  <span style="color:rgb(86,156,214);">this <span style="color:rgb(180,180,180);">. <span style="color:rgb(170,112,255);">MaleSocksTextures <span style="color:rgb(220,220,220);">[ <span style="color:rgb(78,201,176);">PlayerPrefs <span style="color:rgb(180,180,180);">. <span style="color:rgb(230,115,0);">GetInt <span style="color:rgb(220,220,220);">( <span style="color:rgb(214,157,133);">"MaleUniform" <span style="color:rgb(220,220,220);">, <span style="color:rgb(220,220,220);">  <span style="color:rgb(181,206,168);">4 <span style="color:rgb(220,220,220);">)]; <span style="color:rgb(220,220,220);"> <span style="color:rgb(86,156,214);">this <span style="color:rgb(180,180,180);">. <span style="color:rgb(170,112,255);">CasualTexture <span style="color:rgb(220,220,220);">  <span style="color:rgb(180,180,180);">= <span style="color:rgb(220,220,220);">  <span style="color:rgb(86,156,214);">this <span style="color:rgb(180,180,180);">. <span style="color:rgb(170,112,255);">MaleSocksTextures <span style="color:rgb(220,220,220);">[ <span style="color:rgb(78,201,176);">PlayerPrefs <span style="color:rgb(180,180,180);">. <span style="color:rgb(230,115,0);">GetInt <span style="color:rgb(220,220,220);">( <span style="color:rgb(214,157,133);">"MaleUniform" <span style="color:rgb(220,220,220);">, <span style="color:rgb(220,220,220);">  <span style="color:rgb(181,206,168);">4 <span style="color:rgb(220,220,220);">)]; <span style="color:rgb(220,220,220);"> <span style="color:rgb(86,156,214);">this <span style="color:rgb(180,180,180);">. <span style="color:rgb(170,112,255);">SocksTexture <span style="color:rgb(220,220,220);">  <span style="color:rgb(180,180,180);">= <span style="color:rgb(220,220,220);">  <span style="color:rgb(86,156,214);">this <span style="color:rgb(180,180,180);">. <span style="color:rgb(170,112,255);">MaleSocksTextures <span style="color:rgb(220,220,220);">[ <span style="color:rgb(78,201,176);">PlayerPrefs <span style="color:rgb(180,180,180);">. <span style="color:rgb(230,115,0);">GetInt <span style="color:rgb(220,220,220);">( <span style="color:rgb(214,157,133);">"MaleUniform" <span style="color:rgb(220,220,220);">, <span style="color:rgb(220,220,220);">  <span style="color:rgb(181,206,168);">4 <span style="color:rgb(220,220,220);">)];

<span style="color:rgb(220,220,220);"> <span style="color:rgb(220,220,220);">}