SHARE
TWEET

code

a guest May 24th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     if(clickedid == skins_TD[0])
  2.     {
  3.         new is = random(5);
  4.         if(PI[playerid][pSex] == 1)
  5.         {
  6.             SetPlayerSkin(playerid, PI[playerid][pSkin]);
  7.             PI[playerid][pSkin] = MSkin[is];
  8.         }
  9.         else if(PI[playerid][pSex] == 2)
  10.         {
  11.             SetPlayerSkin(playerid, PI[playerid][pSkin]);
  12.             PI[playerid][pSkin] = WSkin[is];
  13.         }
  14.     }
  15.     if(clickedid == skins_TD[1])
  16.     {
  17.         new i = random(5);
  18.         if(PI[playerid][pSex] == 1)
  19.         {
  20.             SetPlayerSkin(playerid, PI[playerid][pSkin]);
  21.             PI[playerid][pSkin] = MSkin[i];
  22.         }
  23.         else if(PI[playerid][pSex] == 2)
  24.         {
  25.             SetPlayerSkin(playerid, PI[playerid][pSkin]);
  26.             PI[playerid][pSkin] = WSkin[i];
  27.         }
  28.     }
  29.     if(clickedid == skins_TD[2])
  30.     {
  31.         new d = random(5);
  32.         if(PI[playerid][pSex] == 1) {
  33.             PI[playerid][pSex] = 2;
  34.             SetPlayerSkin(playerid, WSkin[d]);
  35.             PI[playerid][pSkin] = WSkin[d];
  36.         }
  37.         else if(PI[playerid][pSex] == 2) {
  38.             PI[playerid][pSex] = 1;
  39.             SetPlayerSkin(playerid, MSkin[d]);
  40.             PI[playerid][pSkin] = MSkin[d];
  41.         }
  42.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top