SA-MP Forums Archive
[ PEDIDO ] Anti Team Kill - 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: [ PEDIDO ] Anti Team Kill (/showthread.php?tid=354753)



[ PEDIDO ] Anti Team Kill - Y_Seven - 27.06.2012

й possivel fazer? se tiver como posso fazer? :/

alguem poderia me dar uma base? '-'


Re: [ PEDIDO ] Anti Team Kill - BreakDriFT - 27.06.2012

SetPlayerTeam

https://sampwiki.blast.hk/wiki/SetPlayerTeam


Re: [ PEDIDO ] Anti Team Kill - [JD]BlackFire - 27.06.2012

SetPlayerTeam
Jogadores no mesmo nгo recebem dano entre eles.(no friend fire)


Re: [ PEDIDO ] Anti Team Kill - Y_Seven - 27.06.2012

Me da um exemplo de uso?
para que nгo consegui-se atacar o prуpio?

Tipo seria assim?
pawn Код:
// time azul
SetPlayerTeam(playerid, 1);
//time verde
SetPlayerTeam(playerid, 2);



Re: [ PEDIDO ] Anti Team Kill - BreakDriFT - 27.06.2012

Sim isso msm


Re: [ PEDIDO ] Anti Team Kill - Y_Seven - 27.06.2012

Obrigado =]


Re: [ PEDIDO ] Anti Team Kill - Edu33 - 27.06.2012

Aproveitando aqui, eu to usando SetPlayerTeam, pra fazer uma arena,
e quando os caras se matam lб na arena, ainda continuam no mesmo time e sem poder se matar.
Como faзo pra quando eles morrerem voltarem ao normal?

SetPlayerTeam(playerid, 0); ?


Re: [ PEDIDO ] Anti Team Kill - Y_Seven - 27.06.2012

Isso /\


Re: [ PEDIDO ] Anti Team Kill - zbt - 27.06.2012

Nгo, 0 ainda й time.

use SetPlayerTeam(playerid, NO_TEAM); ou 255


Re: [ PEDIDO ] Anti Team Kill - Edu33 - 27.06.2012

Obrigado ZBT!