SA-MP Forums Archive
[DUV]Sobre FightingStyle e Times - 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: [DUV]Sobre FightingStyle e Times (/showthread.php?tid=206247)



[DUV]Sobre FightingStyle e Times - PsyShotter - 03.01.2011

Hб alguma possibilidade de setar 1 FightingStyle para cada time? Й que estou fazendo um TDM para estudos e gostaria de colocar 1 estilo de luta para cada Time ^^


Re: [DUV]Sobre FightingStyle e Times - KingstoN* - 03.01.2011

pawn Код:
if(GetPlayerTeam(playerid) == 1)
{
    SetPlayerFightingStyle(playerid, 1);
}
else if(GetPlayerTeam(playerid) == 2)
{
    SetPlayerFightingStyle(playerid, 2);
}
Pode colocar isto em OnPlayerSpawn, por exemplo.


Re: [DUV]Sobre FightingStyle e Times - PsyShotter - 03.01.2011

Hm... Vlw Woozie ^^