Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- if(pInfo[playerid][pSex] == 1 && pInfo[playerid][pRasa] == 1)
- {
- new gRandomMBlack[6] = {21,24,28,66,67,221}; // Ìóæñêèå ÷¸ðíûå ñêèíû
- new RandomM = random(sizeof(gRandomMBlack));
- pInfo[playerid][pSkin] = gRandomMBlack[RandomM];
- SetPlayerSkin(playerid,pSkin);
- }
- else if(pInfo[playerid][pSex] == 2 && pInfo[playerid][pRasa] == 1)
- {
- new gRandomWBlack[7] = {9,13,69,190,195,238,298}; // Æåíñêèå ÷¸ðíûå ñêèíû
- new RandomM = random(sizeof(gRandomWBlack));
- pInfo[playerid][pSkin] = gRandomWBlack[RandomM];
- SetPlayerSkin(playerid,pSkin);
- }
- else if(pInfo[playerid][pSex] == 1 && pInfo[playerid][pRasa] == 2 || pInfo[playerid][pRasa] == 3)
- {
- new gRandomMWhite[8] = {2,3,7,23,29,37,59,60}; // Ìóæñêèå áåëûå ñêèíû
- new RandomM = random(sizeof(gRandomMWhite));
- pInfo[playerid][pSkin] = gRandomMWhite[RandomM];
- SetPlayerSkin(playerid,pSkin);
- }
- else if(pInfo[playerid][pSex] == 2 && pInfo[playerid][pRasa] == 2 || pInfo[playerid][pRasa] == 3)
- {
- new gRandomWWhite[9] = {12, 41, 55, 56, 90, 91, 93, 148, 150}; // Æåíñêèå áåëûå ñêèíû
- new RandomM = random(sizeof(gRandomWWhite));
- pInfo[playerid][pSkin] = gRandomWWhite[RandomM];
- SetPlayerSkin(playerid,pSkin);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement