[Ajuda] Skin Feminina - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Skin Feminina (
/showthread.php?tid=325234)
[Ajuda] Skin Feminina -
JuniorRiddle - 12.03.2012
Eu coloquei esse codigo aqui no /batercatгo pra setar uma farda por cargo e funcionou perfeitamente, agora tenho uma duvida, como coloco pra setar uma skin que toda Mulher da org possa usar, exemplo uma mulher bateu cartгo ela ia usar essa skin, segue o codigo:
pawn Код:
{
if(PlayerInfo[playerid][pMembro] == 1)
{
if(PlayerInfo[playerid][pCargo] == 1) { SetPlayerSkin(playerid, 116); }
else if(PlayerInfo[playerid][pCargo] == 2) { SetPlayerSkin(playerid, 116); }
else if(PlayerInfo[playerid][pCargo] == 3) { SetPlayerSkin(playerid, 114); }
else if(PlayerInfo[playerid][pCargo] == 4) { SetPlayerSkin(playerid, 114); }
else if(PlayerInfo[playerid][pCargo] == 5) { SetPlayerSkin(playerid, 115); }
}
if(PlayerInfo[playerid][pLider] == 1) { SetPlayerSkin(playerid, 265); }
}
Re: [Ajuda] Skin Feminina -
paulor - 12.03.2012
pawn Код:
{
if(PlayerInfo[playerid][pMembro] == 1)
{
if(PlayerInfo[playerid][pCargo] == 1 && PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 116); }
else if(PlayerInfo[playerid][pCargo] == 2 && PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 116); }
else if(PlayerInfo[playerid][pCargo] == 3 && PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 114); }
else if(PlayerInfo[playerid][pCargo] == 4 && PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 114); }
else if(PlayerInfo[playerid][pCargo] == 5 && PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 115); }
}
if(PlayerInfo[playerid][pLider] == 1 && PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 265); }
}
Re: [Ajuda] Skin Feminina -
JuniorRiddle - 12.03.2012
Funcionou perfeitamente, obrigado! rep para vocк!