Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. {
  2. if(pInfo[playerid][pSex] == 1 && pInfo[playerid][pRasa] == 1)
  3. {
  4. new gRandomMBlack[6] = {21,24,28,66,67,221}; // Ìóæñêèå ÷¸ðíûå ñêèíû
  5. new RandomM = random(sizeof(gRandomMBlack));
  6. pInfo[playerid][pSkin] = gRandomMBlack[RandomM];
  7. SetPlayerSkin(playerid,pSkin);
  8. }
  9. else if(pInfo[playerid][pSex] == 2 && pInfo[playerid][pRasa] == 1)
  10. {
  11. new gRandomWBlack[7] = {9,13,69,190,195,238,298}; // Æåíñêèå ÷¸ðíûå ñêèíû
  12. new RandomM = random(sizeof(gRandomWBlack));
  13. pInfo[playerid][pSkin] = gRandomWBlack[RandomM];
  14. SetPlayerSkin(playerid,pSkin);
  15. }
  16. else if(pInfo[playerid][pSex] == 1 && pInfo[playerid][pRasa] == 2 || pInfo[playerid][pRasa] == 3)
  17. {
  18. new gRandomMWhite[8] = {2,3,7,23,29,37,59,60}; // Ìóæñêèå áåëûå ñêèíû
  19. new RandomM = random(sizeof(gRandomMWhite));
  20. pInfo[playerid][pSkin] = gRandomMWhite[RandomM];
  21. SetPlayerSkin(playerid,pSkin);
  22. }
  23. else if(pInfo[playerid][pSex] == 2 && pInfo[playerid][pRasa] == 2 || pInfo[playerid][pRasa] == 3)
  24. {
  25. new gRandomWWhite[9] = {12, 41, 55, 56, 90, 91, 93, 148, 150}; // Æåíñêèå áåëûå ñêèíû
  26. new RandomM = random(sizeof(gRandomWWhite));
  27. pInfo[playerid][pSkin] = gRandomWWhite[RandomM];
  28. SetPlayerSkin(playerid,pSkin);
  29. }
  30. return 1;
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement